Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007236/0.007236, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.001232/0.001233, allocations: 193.5 kB / 16.67 MB, free: 5.449 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.059/2.059, allocations: 205.1 MB / 222.6 MB, free: 4.352 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.001262/0.001262, allocations: 46.94 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 46.62 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004544/0.153, allocations: 2.582 MB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1543, allocations: 0.7018 MB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1545, allocations: 4 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1547, allocations: 47.58 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.155, allocations: 83.25 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1552, allocations: 83.81 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.1555, allocations: 318.5 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.1558, allocations: 96.86 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1559, allocations: 107.6 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1562, allocations: 131.4 kB / 377.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1562, allocations: 24 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.1563, allocations: 24 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.1563, allocations: 59.83 kB / 377.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1565, allocations: 135.3 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.1569, allocations: 282.8 kB / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1569, allocations: 4 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1569, allocations: 0 / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1569, allocations: 3.938 kB / 377.9 MB, free: 12.57 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.001091/0.158, allocations: 0.5729 MB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.1581, allocations: 8.031 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.1582, allocations: 28.8 kB / 378.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1586, allocations: 252 kB / 378.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.1586, allocations: 20.94 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.1587, allocations: 28.38 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.1592, allocations: 233.1 kB / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1592, allocations: 0 / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1592, allocations: 4 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1592, allocations: 8 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.1596, allocations: 190.2 kB / 379.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1611, allocations: 0.9009 MB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.1617, allocations: 210.7 kB / 380.3 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1621, allocations: 124.7 kB / 380.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1621, allocations: 8 kB / 380.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.1622, allocations: 30.56 kB / 380.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1622, allocations: 3.938 kB / 380.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001738/0.1639, allocations: 0.5615 MB / 381 MB, free: 9.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.164, allocations: 55.34 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1642, allocations: 231.1 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1642, allocations: 29.7 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1644, allocations: 172.1 kB / 381.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1644, allocations: 59.52 kB / 381.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.1645, allocations: 41.7 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1646, allocations: 326.8 kB / 381.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1648, allocations: 76.77 kB / 382 MB, free: 8.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.165, allocations: 113.9 kB / 382.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.1654, allocations: 189.8 kB / 382.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1654, allocations: 0 / 382.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008087/0.1662, allocations: 342.2 kB / 382.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1662, allocations: 13.08 kB / 382.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1662, allocations: 0 / 382.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.1666, allocations: 72.84 kB / 382.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1668, allocations: 47.91 kB / 382.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.1696, allocations: 2.017 MB / 384.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1698, allocations: 31.84 kB / 384.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1698, allocations: 8 kB / 384.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001535/0.17, allocations: 140.2 kB / 384.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000109/0.1701, allocations: 97.94 kB / 385 MB, free: 4.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001944/0.1703, allocations: 141.9 kB / 385.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.1703, allocations: 4 kB / 385.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000312/0.1706, allocations: 218.1 kB / 385.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.1707, allocations: 4 kB / 385.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1707, allocations: 8.188 kB / 385.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.611e-05/0.1707, allocations: 24.84 kB / 385.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1709, allocations: 47.91 kB / 385.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009263/0.1718, allocations: 1.41 MB / 386.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.172, allocations: 11.89 kB / 386.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.172, allocations: 8 kB / 386.9 MB, free: 2.859 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.000122/0.1721, allocations: 188.2 kB / 387.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.1722, allocations: 23.86 kB / 387.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1722, allocations: 29.58 kB / 387.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1722, allocations: 11.88 kB / 387.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.1722, allocations: 144 / 387.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1722, allocations: 3.984 kB / 387.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1733, allocations: 0.6241 MB / 387.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1733, allocations: 0 / 387.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1734, allocations: 23.98 kB / 387.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.1737, allocations: 84.73 kB / 387.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1737, allocations: 4 kB / 387.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.1761, allocations: 1.908 MB / 389.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1761, allocations: 8.094 kB / 389.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.177, allocations: 436.4 kB / 390.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.1771, allocations: 105 kB / 390.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1771, allocations: 3.938 kB / 390.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1773, allocations: 24.05 kB / 390.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1773, allocations: 11.92 kB / 390.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1774, allocations: 4 kB / 390.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1775, allocations: 164.6 kB / 390.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1775, allocations: 0 / 390.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1781, allocations: 111.8 kB / 390.6 MB, free: 14.87 MB / 334.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.0001752/0.1782, allocations: 107.2 kB / 390.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1794, allocations: 0.5481 MB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1794, allocations: 0 / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.1797, allocations: 207.2 kB / 391.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1801, allocations: 44.72 kB / 391.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1812, allocations: 0.5011 MB / 392 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1815, allocations: 0.748 MB / 392.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.1816, allocations: 17.95 kB / 392.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1817, allocations: 19.44 kB / 392.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1817, allocations: 0 / 392.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Templates: time 0.006876/0.1886, allocations: 3.123 MB / 396 MB, free: 9.453 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)