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.01232/0.01232, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.002202/0.002202, allocations: 202 kB / 16.68 MB, free: 5.965 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.095/2.095, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.00138/0.00138, allocations: 51.64 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004873/0.1557, allocations: 2.582 MB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1573, allocations: 0.7057 MB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1576, allocations: 4 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1579, allocations: 39.58 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1582, allocations: 83.31 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1585, allocations: 83.83 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.1589, allocations: 322.5 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1592, allocations: 96.86 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1594, allocations: 107.6 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1597, allocations: 131.4 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.1597, allocations: 27.94 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/0.1598, allocations: 28 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.1599, allocations: 47.84 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.16, allocations: 143.3 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.1605, allocations: 282.8 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1605, allocations: 0 / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.571e-06/0.1605, allocations: 0 / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1605, allocations: 3.938 kB / 377.9 MB, free: 12.61 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.001191/0.1617, allocations: 0.569 MB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1618, allocations: 12.03 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.1619, allocations: 24.8 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.1624, allocations: 256 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1624, allocations: 16.94 kB / 378.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.1625, allocations: 28.38 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.163, allocations: 225.2 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.163, allocations: 3.938 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.163, allocations: 12 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.163, allocations: 4 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.1635, allocations: 190.1 kB / 379.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1651, allocations: 0.9009 MB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.1658, allocations: 214.7 kB / 380.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.1661, allocations: 120.7 kB / 380.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1662, allocations: 4 kB / 380.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1662, allocations: 42.5 kB / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1662, allocations: 0 / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001905/0.1681, allocations: 0.562 MB / 381 MB, free: 9.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1682, allocations: 51.41 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1685, allocations: 223.1 kB / 381.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1685, allocations: 33.7 kB / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1687, allocations: 172.1 kB / 381.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.1687, allocations: 51.53 kB / 381.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.1688, allocations: 45.7 kB / 381.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.169, allocations: 326.8 kB / 381.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1692, allocations: 76.69 kB / 382 MB, free: 8.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1694, allocations: 125.8 kB / 382.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.1698, allocations: 177.8 kB / 382.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1698, allocations: 0 / 382.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008543/0.1706, allocations: 346.1 kB / 382.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1707, allocations: 8 kB / 382.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1707, allocations: 0 / 382.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.1711, allocations: 80.83 kB / 382.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1713, allocations: 39.92 kB / 382.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.1744, allocations: 2.013 MB / 384.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.1747, allocations: 31.84 kB / 384.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1747, allocations: 12 kB / 384.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001885/0.1749, allocations: 136.1 kB / 384.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001384/0.1751, allocations: 105.9 kB / 385 MB, free: 4.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002074/0.1753, allocations: 145.9 kB / 385.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.1753, allocations: 0 / 385.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003757/0.1757, allocations: 214.3 kB / 385.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1757, allocations: 8 kB / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.1757, allocations: 0 / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.1758, allocations: 33.02 kB / 385.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.176, allocations: 47.92 kB / 385.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.1772, allocations: 1.411 MB / 386.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1774, allocations: 15.89 kB / 386.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1774, allocations: 8 kB / 386.9 MB, free: 2.898 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.0001698/0.1776, allocations: 192.2 kB / 387.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.1776, allocations: 19.86 kB / 387.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.1777, allocations: 29.45 kB / 387.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.1777, allocations: 12 kB / 387.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1777, allocations: 0 / 387.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1777, allocations: 0 / 387.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.179, allocations: 0.6281 MB / 387.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.179, allocations: 0 / 387.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1791, allocations: 23.98 kB / 387.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.1794, allocations: 84.8 kB / 387.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1794, allocations: 0 / 387.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.1818, allocations: 1.912 MB / 389.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1818, allocations: 0 / 389.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.1827, allocations: 444.4 kB / 390.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.1828, allocations: 101 kB / 390.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1829, allocations: 7.938 kB / 390.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.183, allocations: 20.05 kB / 390.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1831, allocations: 23.86 kB / 390.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1831, allocations: 0 / 390.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1833, allocations: 168.5 kB / 390.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1833, allocations: 0 / 390.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006026/0.1839, allocations: 115.8 kB / 390.7 MB, free: 14.89 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.0001959/0.1841, allocations: 95.25 kB / 390.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1853, allocations: 0.5557 MB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1853, allocations: 0 / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.1857, allocations: 203.2 kB / 391.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1861, allocations: 52.61 kB / 391.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1871, allocations: 0.4922 MB / 392.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1875, allocations: 0.7479 MB / 392.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.236e-05/0.1876, allocations: 17.95 kB / 392.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1877, allocations: 19.44 kB / 392.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1877, allocations: 0 / 392.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Templates: time 0.007156/0.1948, allocations: 3.127 MB / 396 MB, free: 9.484 MB / 334.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)