Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003051/0.003051, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 55.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3419, allocations: 46.64 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005341/0.3473, allocations: 2.702 MB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3494, allocations: 0.7177 MB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.3499, allocations: 8.188 kB / 328.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3502, allocations: 42.83 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004771/0.3507, allocations: 88.25 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3512, allocations: 94.97 kB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007821/0.352, allocations: 356.9 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.3523, allocations: 77.75 kB / 329.4 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3526, allocations: 134 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3529, allocations: 151.1 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.471e-05/0.353, allocations: 29.56 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3531, allocations: 30.06 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.3532, allocations: 62.48 kB / 329.8 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.3534, allocations: 145.2 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.3539, allocations: 325.4 kB / 330.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3539, allocations: 4 kB / 330.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3539, allocations: 3.938 kB / 330.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.354, allocations: 1.281 kB / 330.3 MB, free: 14.09 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001648/0.3556, allocations: 0.6404 MB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3557, allocations: 9.625 kB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3558, allocations: 27.38 kB / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.3563, allocations: 279.5 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3564, allocations: 13.69 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.3564, allocations: 22.19 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008013/0.3572, allocations: 249.4 kB / 331.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.3573, allocations: 1.125 kB / 331.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3573, allocations: 9.25 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3573, allocations: 5.656 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/0.3583, allocations: 257.5 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3603, allocations: 0.8629 MB / 332.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.3612, allocations: 222.2 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.3615, allocations: 97.69 kB / 332.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.3616, allocations: 2.406 kB / 332.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.3624, allocations: 182.3 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.3624, allocations: 0 / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002127/0.3645, allocations: 0.5885 MB / 333.7 MB, free: 11.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.3646, allocations: 106.8 kB / 333.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.365, allocations: 270.5 kB / 334.1 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.365, allocations: 29.7 kB / 334.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3651, allocations: 175.8 kB / 334.3 MB, free: 10.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.3652, allocations: 43.44 kB / 334.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.3653, allocations: 49.61 kB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3654, allocations: 338.8 kB / 334.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3658, allocations: 100.7 kB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.3661, allocations: 173.3 kB / 335 MB, free: 9.945 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.3668, allocations: 268.3 kB / 335.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3668, allocations: 0 / 335.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001145/0.368, allocations: 427.5 kB / 335.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.368, allocations: 37.7 kB / 335.7 MB, free: 9.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3681, allocations: 7.984 kB / 335.7 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.3686, allocations: 112.7 kB / 335.8 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.3688, allocations: 39.97 kB / 335.8 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.3712, allocations: 1.935 MB / 337.8 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.3716, allocations: 43.72 kB / 337.8 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3716, allocations: 15.98 kB / 337.8 MB, free: 6.879 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000367/0.372, allocations: 180.1 kB / 338 MB, free: 6.699 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003041/0.3723, allocations: 161.8 kB / 338.2 MB, free: 6.508 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005282/0.3728, allocations: 251.6 kB / 338.4 MB, free: 6.23 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.3729, allocations: 0 / 338.4 MB, free: 6.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007836/0.3736, allocations: 355.6 kB / 338.8 MB, free: 5.867 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3737, allocations: 29.7 kB / 338.8 MB, free: 5.832 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3737, allocations: 4 kB / 338.8 MB, free: 5.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.3738, allocations: 44.83 kB / 338.8 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.374, allocations: 35.97 kB / 338.9 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3755, allocations: 1.729 MB / 340.6 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.3758, allocations: 43.81 kB / 340.6 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3758, allocations: 8 kB / 340.6 MB, free: 3.828 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.376, allocations: 200.1 kB / 340.8 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3761, allocations: 27.78 kB / 340.9 MB, free: 3.598 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.3761, allocations: 21.84 kB / 340.9 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3761, allocations: 4 kB / 340.9 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3761, allocations: 3.984 kB / 340.9 MB, free: 3.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3761, allocations: 0 / 340.9 MB, free: 3.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.3765, allocations: 305.2 kB / 341.2 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3765, allocations: 0 / 341.2 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3766, allocations: 19.97 kB / 341.2 MB, free: 3.203 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.3769, allocations: 68.81 kB / 341.3 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3769, allocations: 0 / 341.3 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.3789, allocations: 1.873 MB / 343.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3789, allocations: 0 / 343.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/0.3798, allocations: 322 kB / 343.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.3799, allocations: 104.8 kB / 343.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.3799, allocations: 15.92 kB / 343.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3802, allocations: 23.97 kB / 343.6 MB, free: 0.625 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.3803, allocations: 19.97 kB / 343.6 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3803, allocations: 8 kB / 343.6 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3805, allocations: 186 kB / 343.8 MB, free: 428 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 3.938 kB / 343.8 MB, free: 424 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006043/0.3811, allocations: 123.8 kB / 343.9 MB, free: 300 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.3813, allocations: 115.2 kB / 344.1 MB, free: 176 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.3829, allocations: 0.7311 MB / 344.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3829, allocations: 192 / 344.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.3834, allocations: 238.5 kB / 345 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3837, allocations: 45.69 kB / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3858, allocations: 0.7078 MB / 345.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3862, allocations: 0.7444 MB / 346.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3863, allocations: 26.3 kB / 346.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3864, allocations: 15.44 kB / 346.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3864, allocations: 7.938 kB / 346.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of Templates: time 0.009359/0.3958, allocations: 4.227 MB / 350.8 MB, free: 9.316 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)