Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00169/0.00169, allocations: 102.7 kB / 16.92 MB, free: 6.145 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.001746/0.001746, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.029/2.029, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001597/0.001597, allocations: 55.92 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1434, allocations: 46.62 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004638/0.1481, allocations: 2.585 MB / 329.2 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1494, allocations: 0.7059 MB / 329.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1495, allocations: 7.938 kB / 329.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1497, allocations: 43.58 kB / 330 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.15, allocations: 87.31 kB / 330.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1502, allocations: 83.81 kB / 330.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.1506, allocations: 302.7 kB / 330.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1508, allocations: 92.72 kB / 330.5 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.151, allocations: 115.6 kB / 330.6 MB, free: 424 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1512, allocations: 131.4 kB / 330.8 MB, free: 292 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1512, allocations: 24 kB / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1513, allocations: 24 kB / 330.8 MB, free: 244 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.1514, allocations: 63.7 kB / 330.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1515, allocations: 127.4 kB / 331 MB, free: 52 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1518, allocations: 287.2 kB / 331.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1518, allocations: 0 / 331.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1519, allocations: 0 / 331.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1519, allocations: 0 / 331.3 MB, free: 15.77 MB / 286.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.001124/0.153, allocations: 0.5576 MB / 331.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.153, allocations: 8.031 kB / 331.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.1531, allocations: 28.66 kB / 331.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1535, allocations: 259.7 kB / 332.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.1535, allocations: 16.94 kB / 332.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.1536, allocations: 24.38 kB / 332.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.154, allocations: 225.2 kB / 332.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1541, allocations: 0 / 332.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.1541, allocations: 11.94 kB / 332.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.1541, allocations: 4 kB / 332.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.1546, allocations: 198.1 kB / 332.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1561, allocations: 0.9007 MB / 333.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.1568, allocations: 218.6 kB / 333.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.1571, allocations: 128.7 kB / 333.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1572, allocations: 7.938 kB / 333.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.1572, allocations: 30.56 kB / 333.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1572, allocations: 0 / 333.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001889/0.1591, allocations: 0.5627 MB / 334.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1592, allocations: 51.41 kB / 334.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1594, allocations: 231 kB / 334.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.1594, allocations: 29.7 kB / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1596, allocations: 171.8 kB / 334.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1596, allocations: 47.27 kB / 335 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1597, allocations: 45.7 kB / 335 MB, free: 11.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1598, allocations: 334.8 kB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.16, allocations: 68.77 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1602, allocations: 113.9 kB / 335.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1606, allocations: 181.9 kB / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1606, allocations: 0 / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008288/0.1614, allocations: 345.9 kB / 336 MB, free: 10.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1615, allocations: 4 kB / 336 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1615, allocations: 4 kB / 336 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.1619, allocations: 80.83 kB / 336.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.162, allocations: 43.92 kB / 336.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.165, allocations: 2.021 MB / 338.2 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1652, allocations: 19.84 kB / 338.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1652, allocations: 11.94 kB / 338.2 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000144/0.1654, allocations: 144.1 kB / 338.3 MB, free: 8.227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001152/0.1655, allocations: 94.38 kB / 338.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002205/0.1657, allocations: 153.9 kB / 338.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.1658, allocations: 4 kB / 338.6 MB, free: 7.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003329/0.1661, allocations: 225.9 kB / 338.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.1661, allocations: 4 kB / 338.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1661, allocations: 4 kB / 338.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/0.1662, allocations: 24.84 kB / 338.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1664, allocations: 43.92 kB / 338.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009693/0.1674, allocations: 1.419 MB / 340.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1675, allocations: 19.91 kB / 340.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1675, allocations: 8 kB / 340.3 MB, free: 6.047 MB / 286.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.0001153/0.1676, allocations: 184.3 kB / 340.5 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1677, allocations: 19.81 kB / 340.5 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.1677, allocations: 25.52 kB / 340.6 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1677, allocations: 3.938 kB / 340.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1678, allocations: 0 / 340.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1678, allocations: 4 kB / 340.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1688, allocations: 0.6284 MB / 341.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1689, allocations: 3.938 kB / 341.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.169, allocations: 23.98 kB / 341.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.1692, allocations: 76.8 kB / 341.3 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1693, allocations: 4 kB / 341.3 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.1718, allocations: 1.92 MB / 343.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1718, allocations: 0 / 343.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.1726, allocations: 442 kB / 343.6 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1727, allocations: 96.94 kB / 343.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1727, allocations: 7.938 kB / 343.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1729, allocations: 19.98 kB / 343.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.173, allocations: 12.05 kB / 343.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.173, allocations: 4 kB / 343.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1731, allocations: 164.6 kB / 343.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1732, allocations: 0 / 343.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.1737, allocations: 119.7 kB / 344.1 MB, free: 2.07 MB / 286.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.0001539/0.1738, allocations: 103.2 kB / 344.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.175, allocations: 0.5523 MB / 344.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1751, allocations: 0 / 344.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1754, allocations: 195.3 kB / 344.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.176, allocations: 37 kB / 344.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1772, allocations: 0.5092 MB / 345.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1776, allocations: 0.744 MB / 346.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1777, allocations: 25.94 kB / 346.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.1778, allocations: 19.38 kB / 346.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1778, allocations: 0 / 346.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Templates: time 0.007684/0.1855, allocations: 3.06 MB / 349.3 MB, free: 12.73 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)