Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001916/0.001916, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.001864/0.001864, allocations: 200 kB / 18.01 MB, free: 5.055 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.703/1.703, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001226/0.001226, allocations: 55.92 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 46.61 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005439/0.1502, allocations: 2.605 MB / 377.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1521, allocations: 0.7018 MB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1523, allocations: 7.938 kB / 377.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.1525, allocations: 39.64 kB / 377.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1528, allocations: 87.25 kB / 377.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1532, allocations: 95.81 kB / 378 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.1537, allocations: 330.5 kB / 378.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.154, allocations: 84.69 kB / 378.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1543, allocations: 127.6 kB / 378.6 MB, free: 456 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1546, allocations: 135.4 kB / 378.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.1546, allocations: 28 kB / 378.7 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.955e-05/0.1547, allocations: 28 kB / 378.8 MB, free: 264 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.1548, allocations: 71.69 kB / 378.8 MB, free: 192 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.155, allocations: 135.3 kB / 379 MB, free: 56 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2786/0.4336, allocations: 294.5 kB / 379.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4337, allocations: 0 / 379.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4337, allocations: 0 / 379.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.4337, allocations: 0 / 379.2 MB, free: 10.75 MB / 318.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.001291/0.435, allocations: 0.6179 MB / 379.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4351, allocations: 9.312 kB / 379.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.4352, allocations: 28.17 kB / 379.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.4356, allocations: 264 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.4356, allocations: 18.28 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.4357, allocations: 18.22 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.4363, allocations: 239.2 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4363, allocations: 3.938 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.4364, allocations: 9.234 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4364, allocations: 5.5 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.4371, allocations: 245 kB / 380.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.4386, allocations: 0.8073 MB / 381.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.4395, allocations: 230.6 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4399, allocations: 98.02 kB / 381.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4399, allocations: 5.719 kB / 381.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.4404, allocations: 163.6 kB / 382 MB, free: 9.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.4404, allocations: 0.5 kB / 382 MB, free: 9.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001954/0.4424, allocations: 0.5475 MB / 382.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4424, allocations: 79.28 kB / 382.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.4427, allocations: 239.7 kB / 382.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4427, allocations: 31.2 kB / 382.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4429, allocations: 160.9 kB / 383 MB, free: 9.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.4429, allocations: 40.47 kB / 383.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.443, allocations: 45.62 kB / 383.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.4431, allocations: 332.3 kB / 383.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.4434, allocations: 96.69 kB / 383.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.4438, allocations: 150 kB / 383.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.4444, allocations: 243.6 kB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4444, allocations: 0 / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00108/0.4455, allocations: 386.8 kB / 384.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.4455, allocations: 36.05 kB / 384.3 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4456, allocations: 6.531 kB / 384.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.446, allocations: 91.16 kB / 384.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.4463, allocations: 46.22 kB / 384.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.4479, allocations: 1.558 MB / 386 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.4482, allocations: 44.61 kB / 386.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.4483, allocations: 11.61 kB / 386.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003322/0.4486, allocations: 171.9 kB / 386.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.4489, allocations: 141.7 kB / 386.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004883/0.4494, allocations: 228.3 kB / 386.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.4494, allocations: 1.562 kB / 386.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007146/0.4501, allocations: 307 kB / 386.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.4502, allocations: 37.72 kB / 387 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4502, allocations: 1.562 kB / 387 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-05/0.4503, allocations: 27.8 kB / 387 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.4505, allocations: 41.86 kB / 387 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008013/0.4513, allocations: 1.548 MB / 388.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.4516, allocations: 33.48 kB / 388.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4516, allocations: 11.31 kB / 388.6 MB, free: 4.785 MB / 318.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.0001379/0.4518, allocations: 202 kB / 388.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.4518, allocations: 21.62 kB / 388.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.4519, allocations: 26.33 kB / 388.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4519, allocations: 3.391 kB / 388.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4519, allocations: 0 / 388.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4519, allocations: 1.688 kB / 388.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.4523, allocations: 283.7 kB / 389.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4523, allocations: 1.172 kB / 389.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4525, allocations: 35.2 kB / 389.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.4527, allocations: 46.78 kB / 389.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4527, allocations: 6.875 kB / 389.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.4541, allocations: 1.551 MB / 390.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4541, allocations: 0.7969 kB / 390.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4553, allocations: 401.7 kB / 391.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4554, allocations: 95.91 kB / 391.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4554, allocations: 7.406 kB / 391.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4557, allocations: 22.94 kB / 391.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.4558, allocations: 24.45 kB / 391.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4558, allocations: 3.906 kB / 391.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.456, allocations: 173.3 kB / 391.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.456, allocations: 0 / 391.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.4566, allocations: 113.5 kB / 391.6 MB, free: 2.453 MB / 318.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.0001576/0.4567, allocations: 103.4 kB / 391.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.4581, allocations: 0.65 MB / 392.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4581, allocations: 1.156 kB / 392.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4585, allocations: 217.5 kB / 392.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.4589, allocations: 41.98 kB / 392.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4601, allocations: 0.4922 MB / 393.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4605, allocations: 0.7465 MB / 393.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.4606, allocations: 24.62 kB / 393.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.4607, allocations: 17.69 kB / 393.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4607, allocations: 0 / 393.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of Templates: time 0.01235/0.4731, allocations: 3.836 MB / 397.7 MB, free: 436 kB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)