Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0126/0.0126, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001487/0.001487, allocations: 189.1 kB / 16.67 MB, free: 5.422 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.981/1.981, allocations: 205.1 MB / 222.5 MB, free: 12.18 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.001353/0.001353, allocations: 55.92 kB / 326.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1644, allocations: 46.6 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005545/0.1701, allocations: 2.589 MB / 375.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1718, allocations: 0.7056 MB / 376.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.1721, allocations: 4 kB / 376.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1724, allocations: 43.58 kB / 376.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1728, allocations: 87.31 kB / 376.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.173, allocations: 83.81 kB / 376.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.1735, allocations: 310.5 kB / 377 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1737, allocations: 96.92 kB / 377.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1739, allocations: 115.6 kB / 377.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1742, allocations: 131.4 kB / 377.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.1742, allocations: 24 kB / 377.4 MB, free: 348 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.1743, allocations: 24 kB / 377.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.1743, allocations: 59.72 kB / 377.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1745, allocations: 131.4 kB / 377.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3654/0.5399, allocations: 282.3 kB / 377.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.54, allocations: 0 / 377.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.059e-06/0.54, allocations: 0 / 377.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.308e-05/0.5401, allocations: 0.5312 kB / 377.8 MB, free: 10.42 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001599/0.5417, allocations: 0.5645 MB / 378.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.808e-05/0.5418, allocations: 9.844 kB / 378.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.5419, allocations: 31.36 kB / 378.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.5425, allocations: 249.4 kB / 378.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.5426, allocations: 21.59 kB / 378.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.5427, allocations: 21.84 kB / 378.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.5434, allocations: 225.6 kB / 379 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5434, allocations: 3.938 kB / 379 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.5434, allocations: 12.75 kB / 379 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5435, allocations: 6.781 kB / 379 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.5441, allocations: 191.6 kB / 379.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.546, allocations: 0.8915 MB / 380.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.5468, allocations: 213.6 kB / 380.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.5473, allocations: 123.6 kB / 380.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.5473, allocations: 8.734 kB / 380.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5473, allocations: 35.94 kB / 380.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/0.5474, allocations: 0 / 380.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002414/0.5498, allocations: 0.5553 MB / 381 MB, free: 9.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.5499, allocations: 53.78 kB / 381 MB, free: 8.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.5503, allocations: 231.3 kB / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5503, allocations: 33.91 kB / 381.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5505, allocations: 173.8 kB / 381.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.5505, allocations: 50.27 kB / 381.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.5506, allocations: 44.92 kB / 381.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5508, allocations: 333 kB / 381.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.551, allocations: 77.27 kB / 382 MB, free: 8.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.5513, allocations: 112.4 kB / 382.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.5517, allocations: 189 kB / 382.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5517, allocations: 0 / 382.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001091/0.5528, allocations: 338.2 kB / 382.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.5529, allocations: 5.812 kB / 382.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5529, allocations: 2.188 kB / 382.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.5534, allocations: 80.12 kB / 382.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5536, allocations: 44.16 kB / 382.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.5568, allocations: 2.014 MB / 384.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.557, allocations: 29.11 kB / 384.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.5571, allocations: 10.09 kB / 384.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002168/0.5573, allocations: 141.3 kB / 384.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001429/0.5574, allocations: 94.34 kB / 385 MB, free: 6.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000231/0.5577, allocations: 154.5 kB / 385.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.5577, allocations: 0 / 385.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004612/0.5582, allocations: 216.9 kB / 385.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5582, allocations: 5.812 kB / 385.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5582, allocations: 1.859 kB / 385.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.5583, allocations: 26.62 kB / 385.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5585, allocations: 46.14 kB / 385.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000927/0.5594, allocations: 1.418 MB / 386.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.5596, allocations: 11.25 kB / 386.9 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5596, allocations: 11.11 kB / 386.9 MB, free: 4.926 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.5597, allocations: 200.8 kB / 387.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.5598, allocations: 21.41 kB / 387.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.5599, allocations: 28.3 kB / 387.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5599, allocations: 6.156 kB / 387.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5599, allocations: 0.6094 kB / 387.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5599, allocations: 0.7031 kB / 387.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5612, allocations: 0.6232 MB / 387.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5613, allocations: 5.344 kB / 387.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5614, allocations: 21.8 kB / 387.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.5617, allocations: 75.23 kB / 387.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.5617, allocations: 1.062 kB / 387.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.5646, allocations: 1.922 MB / 389.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5647, allocations: 0 / 389.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.5658, allocations: 433.8 kB / 390.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.5659, allocations: 108.6 kB / 390.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.5659, allocations: 5.734 kB / 390.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5661, allocations: 23.84 kB / 390.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.5662, allocations: 9.453 kB / 390.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5662, allocations: 3.188 kB / 390.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.5664, allocations: 166.5 kB / 390.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5664, allocations: 0 / 390.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007938/0.5672, allocations: 118.6 kB / 390.6 MB, free: 2.145 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.5674, allocations: 102.1 kB / 390.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5689, allocations: 0.5405 MB / 391.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5689, allocations: 128 / 391.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.5693, allocations: 208.3 kB / 391.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.5697, allocations: 36.69 kB / 391.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.5712, allocations: 0.491 MB / 392 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.5715, allocations: 0.7396 MB / 392.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.5716, allocations: 22.2 kB / 392.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.5717, allocations: 22.14 kB / 392.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5717, allocations: 4 kB / 392.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of Templates: time 0.01211/0.5838, allocations: 3.121 MB / 395.9 MB, free: 388 kB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)