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.008338/0.008337, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001207/0.001207, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.535 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.001294/0.001294, allocations: 48.3 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1478, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004563/0.1524, allocations: 2.57 MB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1541, allocations: 0.7135 MB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1543, allocations: 4 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1546, allocations: 43.58 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.155, allocations: 91.25 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1552, allocations: 79.84 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.1556, allocations: 318.5 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.1558, allocations: 96.86 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.156, allocations: 107.6 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1562, allocations: 131.4 kB / 377.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.1562, allocations: 28 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.1563, allocations: 24 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1564, allocations: 51.83 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1566, allocations: 143.2 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1569, allocations: 283 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.157, allocations: 0 / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.157, allocations: 0 / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.157, allocations: 0 / 377.9 MB, free: 12.6 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.001157/0.1581, allocations: 0.5615 MB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1582, allocations: 12.03 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.1583, allocations: 28.56 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1587, allocations: 255.9 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1588, allocations: 12.94 kB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1588, allocations: 24.38 kB / 378.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1593, allocations: 233.1 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1593, allocations: 0 / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.1594, allocations: 8 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1594, allocations: 4 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1598, allocations: 190.2 kB / 379.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.1615, allocations: 0.9005 MB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.1622, allocations: 210.7 kB / 380.3 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.1625, allocations: 132.7 kB / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1626, allocations: 0 / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1626, allocations: 34.56 kB / 380.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1626, allocations: 0 / 380.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00187/0.1645, allocations: 0.5541 MB / 381 MB, free: 9.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1645, allocations: 63.28 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1648, allocations: 227 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1649, allocations: 33.7 kB / 381.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1651, allocations: 163.8 kB / 381.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1651, allocations: 51.28 kB / 381.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.1652, allocations: 41.62 kB / 381.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.1654, allocations: 330.8 kB / 381.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1657, allocations: 76.77 kB / 382 MB, free: 8.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.166, allocations: 113.9 kB / 382.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.1664, allocations: 189.8 kB / 382.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1664, allocations: 4 kB / 382.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009777/0.1674, allocations: 334.1 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1674, allocations: 8 kB / 382.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.1675, allocations: 0 / 382.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.1679, allocations: 80.83 kB / 382.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1681, allocations: 43.97 kB / 382.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.1716, allocations: 2.017 MB / 384.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1718, allocations: 35.73 kB / 384.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1719, allocations: 8 kB / 384.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002023/0.1721, allocations: 140.1 kB / 384.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001243/0.1722, allocations: 93.98 kB / 385 MB, free: 4.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002351/0.1725, allocations: 153.9 kB / 385.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1725, allocations: 0 / 385.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000363/0.1728, allocations: 214.2 kB / 385.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1729, allocations: 8 kB / 385.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.1729, allocations: 0 / 385.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.173, allocations: 24.84 kB / 385.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1731, allocations: 47.91 kB / 385.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.1747, allocations: 1.41 MB / 386.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1749, allocations: 19.86 kB / 386.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1749, allocations: 8 kB / 386.9 MB, free: 2.906 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.0002603/0.1752, allocations: 192.3 kB / 387.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.1752, allocations: 23.86 kB / 387.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.1753, allocations: 21.52 kB / 387.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.1753, allocations: 7.938 kB / 387.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1753, allocations: 3.984 kB / 387.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1754, allocations: 3.938 kB / 387.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1768, allocations: 0.6281 MB / 387.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1768, allocations: 4 kB / 387.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.1769, allocations: 27.98 kB / 387.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.1772, allocations: 76.75 kB / 387.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1772, allocations: 7.984 kB / 387.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.1803, allocations: 1.912 MB / 389.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1803, allocations: 0 / 389.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.1812, allocations: 440.4 kB / 390.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1813, allocations: 96.8 kB / 390.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1814, allocations: 11.98 kB / 390.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1816, allocations: 19.98 kB / 390.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1816, allocations: 11.98 kB / 390.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1816, allocations: 8.125 kB / 390.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1818, allocations: 160.6 kB / 390.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1818, allocations: 0 / 390.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006194/0.1824, allocations: 107.8 kB / 390.6 MB, free: 14.92 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.0001875/0.1826, allocations: 107.2 kB / 390.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.1839, allocations: 0.5442 MB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1839, allocations: 0.6875 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.1842, allocations: 202.5 kB / 391.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1847, allocations: 48.48 kB / 391.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1859, allocations: 0.5084 MB / 392 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1864, allocations: 0.744 MB / 392.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1865, allocations: 17.95 kB / 392.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.1866, allocations: 19.44 kB / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1866, allocations: 0 / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Templates: time 0.007456/0.1941, allocations: 3.112 MB / 395.9 MB, free: 9.516 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)