Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001454/0.001453, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 190.7 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.001266/0.001266, allocations: 52.39 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 46.63 MB / 324.9 MB, free: 2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004048/0.3458, allocations: 2.659 MB / 327.5 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3475, allocations: 0.7028 MB / 328.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3477, allocations: 2.844 kB / 328.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.348, allocations: 26.89 kB / 328.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.3482, allocations: 67.97 kB / 328.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3486, allocations: 78.8 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.349, allocations: 334.8 kB / 328.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.3493, allocations: 76.44 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.3496, allocations: 122 kB / 328.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3498, allocations: 141.5 kB / 329.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3499, allocations: 28.81 kB / 329.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.3499, allocations: 27.78 kB / 329.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.35, allocations: 65.88 kB / 329.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3502, allocations: 133.4 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.3506, allocations: 307 kB / 329.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3506, allocations: 4 kB / 329.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3506, allocations: 1.312 kB / 329.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3506, allocations: 0 / 329.6 MB, free: 14.38 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.0014/0.352, allocations: 0.6123 MB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3521, allocations: 9.75 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.3521, allocations: 25.88 kB / 330.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.3525, allocations: 270.2 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3525, allocations: 12.06 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.3526, allocations: 21.25 kB / 330.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.3532, allocations: 246.4 kB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3532, allocations: 0 / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3533, allocations: 10.31 kB / 330.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3533, allocations: 4.312 kB / 330.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.354, allocations: 245.9 kB / 331 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3555, allocations: 0.8188 MB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.3564, allocations: 225.7 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.3567, allocations: 104 kB / 332.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3568, allocations: 1.125 kB / 332.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/0.3574, allocations: 155.2 kB / 332.3 MB, free: 12.26 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.3574, allocations: 4 kB / 332.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001801/0.3592, allocations: 0.5407 MB / 332.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.3593, allocations: 83.31 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.3596, allocations: 239.5 kB / 333.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3597, allocations: 33.7 kB / 333.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3598, allocations: 152.1 kB / 333.4 MB, free: 11.4 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.3598, allocations: 47.3 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.36, allocations: 45.7 kB / 333.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3601, allocations: 334.8 kB / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3604, allocations: 100.7 kB / 333.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.3607, allocations: 142.8 kB / 334 MB, free: 10.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.3613, allocations: 250.4 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3613, allocations: 0 / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009945/0.3623, allocations: 383.7 kB / 334.7 MB, free: 10.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.3624, allocations: 37.69 kB / 334.7 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3624, allocations: 0 / 334.7 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.3629, allocations: 92.75 kB / 334.8 MB, free: 9.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3631, allocations: 47.94 kB / 334.8 MB, free: 9.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.3649, allocations: 1.566 MB / 336.4 MB, free: 8.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3652, allocations: 43.66 kB / 336.4 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3653, allocations: 8 kB / 336.4 MB, free: 8.102 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.3656, allocations: 172.1 kB / 336.6 MB, free: 7.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002733/0.3659, allocations: 138.8 kB / 336.8 MB, free: 7.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005033/0.3664, allocations: 217.9 kB / 337 MB, free: 7.531 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.3664, allocations: 4 kB / 337 MB, free: 7.527 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006609/0.3671, allocations: 311.6 kB / 337.3 MB, free: 7.207 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.3671, allocations: 33.7 kB / 337.3 MB, free: 7.168 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.3671, allocations: 0 / 337.3 MB, free: 7.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.497e-05/0.3672, allocations: 24.84 kB / 337.3 MB, free: 7.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.3674, allocations: 48.09 kB / 337.4 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3687, allocations: 1.544 MB / 338.9 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.369, allocations: 35.81 kB / 339 MB, free: 5.375 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.369, allocations: 8 kB / 339 MB, free: 5.367 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.000252/0.3693, allocations: 196.1 kB / 339.2 MB, free: 5.168 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.3693, allocations: 23.88 kB / 339.2 MB, free: 5.145 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.3694, allocations: 21.84 kB / 339.2 MB, free: 5.129 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3694, allocations: 0 / 339.2 MB, free: 5.129 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3694, allocations: 0 / 339.2 MB, free: 5.129 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3694, allocations: 7.984 kB / 339.2 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3698, allocations: 285.3 kB / 339.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.3698, allocations: 0 / 339.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.37, allocations: 31.97 kB / 339.5 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.3702, allocations: 48.81 kB / 339.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3702, allocations: 4 kB / 339.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.3722, allocations: 1.554 MB / 341.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3722, allocations: 0 / 341.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3733, allocations: 398.1 kB / 341.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.3734, allocations: 104.8 kB / 341.6 MB, free: 2.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3735, allocations: 4 kB / 341.6 MB, free: 2.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.3737, allocations: 28.03 kB / 341.6 MB, free: 2.445 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3739, allocations: 23.91 kB / 341.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3739, allocations: 4 kB / 341.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3741, allocations: 172.5 kB / 341.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3741, allocations: 0 / 341.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000685/0.3748, allocations: 111.7 kB / 342 MB, free: 2.141 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.0002451/0.3751, allocations: 107.2 kB / 342.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.3765, allocations: 0.6526 MB / 342.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3765, allocations: 0 / 342.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.3769, allocations: 214.5 kB / 342.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3773, allocations: 48.66 kB / 343 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3785, allocations: 0.565 MB / 343.5 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3789, allocations: 0.744 MB / 344.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3791, allocations: 21.94 kB / 344.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.3792, allocations: 23.44 kB / 344.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3792, allocations: 0 / 344.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of Templates: time 0.008359/0.3875, allocations: 3.566 MB / 347.9 MB, free: 12.09 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)