Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 108 kB / 15.6 MB, free: 132 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.002381/0.002381, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.721/1.721, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.002254/0.002254, allocations: 63.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3489, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003797/0.3528, allocations: 2.6 MB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3542, allocations: 0.7073 MB / 328.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.3543, allocations: 6.812 kB / 328.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.3545, allocations: 39.7 kB / 328.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3547, allocations: 79.61 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.355, allocations: 90.69 kB / 328.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.3555, allocations: 338 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3557, allocations: 81.25 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3559, allocations: 126.2 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.3562, allocations: 137.2 kB / 329.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.3562, allocations: 28.16 kB / 329.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.3563, allocations: 28.19 kB / 329.6 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.3564, allocations: 65.39 kB / 329.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3566, allocations: 141.2 kB / 329.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.357, allocations: 295.6 kB / 330.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.357, allocations: 4 kB / 330.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3571, allocations: 0 / 330.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3571, allocations: 0 / 330.1 MB, free: 14.22 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001435/0.3585, allocations: 0.6131 MB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3586, allocations: 9.812 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3587, allocations: 30.78 kB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.359, allocations: 264.8 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.359, allocations: 12.94 kB / 331 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.3591, allocations: 25.72 kB / 331 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.3598, allocations: 238.6 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3598, allocations: 0 / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.3598, allocations: 17.16 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3598, allocations: 5.469 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.3606, allocations: 241.7 kB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3621, allocations: 0.8298 MB / 332.3 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/0.363, allocations: 225.4 kB / 332.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3633, allocations: 96.78 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3634, allocations: 5.375 kB / 332.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.3639, allocations: 159 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.3639, allocations: 0 / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001896/0.3658, allocations: 0.5383 MB / 333.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.3659, allocations: 85.09 kB / 333.4 MB, free: 11.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3662, allocations: 236.9 kB / 333.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3662, allocations: 29.7 kB / 333.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3663, allocations: 160.1 kB / 333.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3664, allocations: 47.3 kB / 333.9 MB, free: 11.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.3665, allocations: 41.7 kB / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3667, allocations: 330.8 kB / 334.3 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.367, allocations: 104.7 kB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.3673, allocations: 138.8 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.3679, allocations: 250.5 kB / 334.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3679, allocations: 0 / 334.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001003/0.3689, allocations: 383.6 kB / 335.1 MB, free: 9.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.369, allocations: 37.69 kB / 335.1 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.369, allocations: 0 / 335.1 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.3695, allocations: 92.83 kB / 335.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3697, allocations: 47.89 kB / 335.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.3716, allocations: 1.554 MB / 336.8 MB, free: 7.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3719, allocations: 51.7 kB / 336.9 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3719, allocations: 12 kB / 336.9 MB, free: 7.828 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003519/0.3723, allocations: 172.1 kB / 337.1 MB, free: 7.656 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003156/0.3726, allocations: 142.7 kB / 337.2 MB, free: 7.492 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005149/0.3732, allocations: 215.6 kB / 337.4 MB, free: 7.254 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3732, allocations: 0 / 337.4 MB, free: 7.254 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007402/0.3739, allocations: 314.1 kB / 337.7 MB, free: 6.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.374, allocations: 37.69 kB / 337.8 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.374, allocations: 0 / 337.8 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.142e-05/0.374, allocations: 24.84 kB / 337.8 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3742, allocations: 43.91 kB / 337.8 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.3755, allocations: 1.556 MB / 339.4 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3758, allocations: 35.91 kB / 339.4 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3758, allocations: 12 kB / 339.4 MB, free: 5.078 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.376, allocations: 192.4 kB / 339.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.376, allocations: 19.8 kB / 339.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.3761, allocations: 25.84 kB / 339.7 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3761, allocations: 0 / 339.7 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3761, allocations: 4 kB / 339.7 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3761, allocations: 3.984 kB / 339.7 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.3764, allocations: 285.4 kB / 340 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3764, allocations: 0 / 340 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3766, allocations: 35.97 kB / 340 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.3768, allocations: 44.81 kB / 340 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3768, allocations: 8 kB / 340 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.3785, allocations: 1.55 MB / 341.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3785, allocations: 0 / 341.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3796, allocations: 390 kB / 342 MB, free: 2.32 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.3797, allocations: 96.81 kB / 342.1 MB, free: 2.207 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3797, allocations: 8 kB / 342.1 MB, free: 2.199 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3799, allocations: 27.91 kB / 342.1 MB, free: 2.172 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.38, allocations: 28.03 kB / 342.1 MB, free: 2.145 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3801, allocations: 4 kB / 342.1 MB, free: 2.141 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3802, allocations: 172.5 kB / 342.3 MB, free: 1.973 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3803, allocations: 0 / 342.3 MB, free: 1.973 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.3807, allocations: 107.7 kB / 342.4 MB, free: 1.867 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.3809, allocations: 103.4 kB / 342.5 MB, free: 1.758 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3822, allocations: 0.6642 MB / 343.2 MB, free: 1.043 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3823, allocations: 4.25 kB / 343.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.3827, allocations: 218.5 kB / 343.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.383, allocations: 36.34 kB / 343.4 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3843, allocations: 0.4983 MB / 343.9 MB, free: 260 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3846, allocations: 0.7402 MB / 344.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.3847, allocations: 25.94 kB / 344.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.3848, allocations: 15.44 kB / 344.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3848, allocations: 0 / 344.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of Templates: time 0.007944/0.3927, allocations: 3.668 MB / 348.4 MB, free: 11.78 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)