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.001687/0.001686, 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.001946/0.001946, allocations: 188.1 kB / 16.25 MB, free: 6.629 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.661/1.661, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.002204/0.002205, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 46.63 MB / 324.9 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004146/0.3437, allocations: 2.655 MB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3454, allocations: 0.698 MB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3456, allocations: 3.625 kB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3458, allocations: 27.58 kB / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.346, allocations: 71.59 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3463, allocations: 86.75 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.3468, allocations: 325.7 kB / 328.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.3471, allocations: 81.17 kB / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.3474, allocations: 122.2 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3476, allocations: 146.3 kB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.3477, allocations: 28.19 kB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.3477, allocations: 26.78 kB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.3478, allocations: 66.39 kB / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.348, allocations: 133 kB / 329.3 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3484, allocations: 303.1 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3484, allocations: 1 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3484, allocations: 0 / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3484, allocations: 0 / 329.6 MB, free: 14.34 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.001359/0.3498, allocations: 0.6132 MB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3498, allocations: 9.25 kB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.3499, allocations: 26.28 kB / 330.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.3503, allocations: 266.4 kB / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3503, allocations: 20.52 kB / 330.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.3504, allocations: 20.62 kB / 330.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.3511, allocations: 242.7 kB / 330.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3511, allocations: 0 / 330.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.3511, allocations: 6.438 kB / 330.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3512, allocations: 4.75 kB / 330.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.352, allocations: 253 kB / 331 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.3538, allocations: 0.8226 MB / 331.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.3547, allocations: 230.5 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.355, allocations: 91.72 kB / 332.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.355, allocations: 0.9375 kB / 332.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.3556, allocations: 167.1 kB / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3557, allocations: 0 / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.00201/0.3577, allocations: 0.5397 MB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3578, allocations: 81.09 kB / 333 MB, free: 11.74 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.358, allocations: 244.9 kB / 333.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3581, allocations: 25.7 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3582, allocations: 164.1 kB / 333.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.3583, allocations: 47.3 kB / 333.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.3584, allocations: 45.7 kB / 333.5 MB, free: 11.19 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3585, allocations: 330.8 kB / 333.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.3588, allocations: 92.72 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.3591, allocations: 150.8 kB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.3598, allocations: 242.5 kB / 334.3 MB, free: 10.33 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3598, allocations: 8 kB / 334.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001253/0.361, allocations: 383.7 kB / 334.7 MB, free: 9.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.3611, allocations: 33.64 kB / 334.7 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3611, allocations: 4 kB / 334.7 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.3617, allocations: 92.78 kB / 334.8 MB, free: 9.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.3619, allocations: 47.91 kB / 334.8 MB, free: 9.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.3638, allocations: 1.554 MB / 336.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3642, allocations: 43.75 kB / 336.4 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3642, allocations: 8 kB / 336.4 MB, free: 8.004 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000378/0.3646, allocations: 180.1 kB / 336.6 MB, free: 7.824 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.3649, allocations: 138.7 kB / 336.8 MB, free: 7.664 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005487/0.3655, allocations: 221.9 kB / 337 MB, free: 7.422 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.3655, allocations: 0 / 337 MB, free: 7.422 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007579/0.3663, allocations: 307.6 kB / 337.3 MB, free: 7.105 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.3663, allocations: 29.7 kB / 337.3 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3663, allocations: 4 kB / 337.3 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-05/0.3664, allocations: 29.03 kB / 337.3 MB, free: 7.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.3667, allocations: 51.89 kB / 337.4 MB, free: 6.984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.3682, allocations: 1.54 MB / 338.9 MB, free: 5.305 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.3685, allocations: 39.84 kB / 339 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3685, allocations: 4 kB / 339 MB, free: 5.262 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.0002416/0.3688, allocations: 204.2 kB / 339.2 MB, free: 5.055 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3688, allocations: 15.81 kB / 339.2 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.3689, allocations: 21.83 kB / 339.2 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3689, allocations: 4 kB / 339.2 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3689, allocations: 0 / 339.2 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3689, allocations: 0 / 339.2 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.3694, allocations: 289.3 kB / 339.5 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3694, allocations: 0 / 339.5 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3696, allocations: 31.97 kB / 339.5 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.3698, allocations: 48.81 kB / 339.6 MB, free: 4.605 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3698, allocations: 4 kB / 339.6 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.3717, allocations: 1.55 MB / 341.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3717, allocations: 0 / 341.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3727, allocations: 397.5 kB / 341.5 MB, free: 2.496 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.3728, allocations: 100.9 kB / 341.6 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.3728, allocations: 7.984 kB / 341.6 MB, free: 2.371 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.373, allocations: 31.91 kB / 341.6 MB, free: 2.34 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3731, allocations: 19.92 kB / 341.7 MB, free: 2.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3732, allocations: 3.984 kB / 341.7 MB, free: 2.316 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3733, allocations: 172.5 kB / 341.8 MB, free: 2.148 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3733, allocations: 0 / 341.8 MB, free: 2.148 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.3738, allocations: 111.8 kB / 341.9 MB, free: 2.039 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.0001959/0.374, allocations: 103.2 kB / 342.1 MB, free: 1.93 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3756, allocations: 0.6528 MB / 342.7 MB, free: 1.227 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.3756, allocations: 0 / 342.7 MB, free: 1.227 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.3761, allocations: 227.2 kB / 342.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3765, allocations: 48.27 kB / 343 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3777, allocations: 0.5689 MB / 343.5 MB, free: 360 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3781, allocations: 0.7401 MB / 344.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3782, allocations: 21.95 kB / 344.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.3783, allocations: 27.42 kB / 344.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3783, allocations: 0 / 344.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Templates: time 0.007796/0.3861, allocations: 3.559 MB / 347.9 MB, free: 11.98 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)