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.001423/0.001423, allocations: 104.8 kB / 16.62 MB, free: 6.812 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.001567/0.001567, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.955/1.955, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001566/0.001566, allocations: 47.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005335/0.1607, allocations: 2.631 MB / 328.8 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1622, allocations: 0.702 MB / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1624, allocations: 4 kB / 329.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1626, allocations: 31.77 kB / 329.5 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.1629, allocations: 71.45 kB / 329.6 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1632, allocations: 83.84 kB / 329.7 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.1636, allocations: 302.7 kB / 330 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.1639, allocations: 92.72 kB / 330.1 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1641, allocations: 111.6 kB / 330.2 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1643, allocations: 127.5 kB / 330.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.1644, allocations: 24 kB / 330.3 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.1644, allocations: 28 kB / 330.3 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.1645, allocations: 55.77 kB / 330.4 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1647, allocations: 139.3 kB / 330.5 MB, free: 388 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1651, allocations: 279.2 kB / 330.8 MB, free: 108 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1651, allocations: 4 kB / 330.8 MB, free: 104 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.1651, allocations: 0 / 330.8 MB, free: 104 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1652, allocations: 0 / 330.8 MB, free: 104 kB / 270.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.001408/0.1666, allocations: 0.5576 MB / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.1667, allocations: 11.97 kB / 331.4 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.1668, allocations: 28.66 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.1672, allocations: 259.7 kB / 331.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1672, allocations: 16.94 kB / 331.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.1673, allocations: 28.36 kB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.1678, allocations: 221.2 kB / 331.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1678, allocations: 3.938 kB / 331.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.1679, allocations: 8 kB / 331.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1679, allocations: 8 kB / 331.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.1684, allocations: 198.1 kB / 332.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.1701, allocations: 0.9006 MB / 333 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.1708, allocations: 218.7 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1711, allocations: 124.7 kB / 333.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1711, allocations: 3.938 kB / 333.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.1712, allocations: 38.56 kB / 333.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1712, allocations: 0 / 333.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001872/0.1731, allocations: 0.5576 MB / 334 MB, free: 12.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1732, allocations: 55.41 kB / 334 MB, free: 12.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.1734, allocations: 231 kB / 334.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.1735, allocations: 25.7 kB / 334.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1737, allocations: 167.8 kB / 334.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.1737, allocations: 55.25 kB / 334.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.1738, allocations: 41.7 kB / 334.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.174, allocations: 330.8 kB / 334.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.1742, allocations: 72.75 kB / 334.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1744, allocations: 114 kB / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.1748, allocations: 189.8 kB / 335.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1748, allocations: 0 / 335.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008396/0.1756, allocations: 342 kB / 335.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1757, allocations: 4 kB / 335.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1757, allocations: 4 kB / 335.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.1761, allocations: 80.83 kB / 335.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1763, allocations: 39.92 kB / 335.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.1794, allocations: 2.021 MB / 337.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1796, allocations: 27.72 kB / 337.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1796, allocations: 12 kB / 337.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001711/0.1798, allocations: 144.1 kB / 337.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001109/0.18, allocations: 90.38 kB / 338 MB, free: 8.434 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001896/0.1801, allocations: 153.9 kB / 338.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1802, allocations: 0 / 338.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003414/0.1805, allocations: 226.1 kB / 338.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1805, allocations: 8 kB / 338.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.1805, allocations: 0 / 338.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.519e-05/0.1806, allocations: 32.78 kB / 338.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1808, allocations: 39.98 kB / 338.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.1819, allocations: 1.407 MB / 339.8 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.182, allocations: 19.94 kB / 339.8 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.182, allocations: 8 kB / 339.9 MB, free: 6.379 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.0001659/0.1822, allocations: 192.2 kB / 340 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.1823, allocations: 15.81 kB / 340.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1823, allocations: 29.52 kB / 340.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1823, allocations: 3.938 kB / 340.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1823, allocations: 0 / 340.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1823, allocations: 0 / 340.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1835, allocations: 0.6291 MB / 340.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1835, allocations: 144 / 340.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1836, allocations: 23.92 kB / 340.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.1839, allocations: 80.78 kB / 340.8 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1839, allocations: 8 kB / 340.8 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.1863, allocations: 1.919 MB / 342.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1863, allocations: 0 / 342.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.1872, allocations: 440.6 kB / 343.2 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1873, allocations: 92.94 kB / 343.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1873, allocations: 7.938 kB / 343.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1875, allocations: 19.98 kB / 343.3 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1876, allocations: 16.05 kB / 343.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1876, allocations: 4 kB / 343.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1877, allocations: 164.6 kB / 343.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1878, allocations: 0 / 343.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.1883, allocations: 115.7 kB / 343.6 MB, free: 2.398 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.0001727/0.1885, allocations: 107.1 kB / 343.7 MB, free: 2.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.1897, allocations: 0.5499 MB / 344.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1897, allocations: 0 / 344.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.19, allocations: 191.3 kB / 344.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1905, allocations: 48.7 kB / 344.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1916, allocations: 0.5827 MB / 345.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.192, allocations: 0.744 MB / 345.8 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1921, allocations: 25.94 kB / 345.8 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1921, allocations: 15.44 kB / 345.8 MB, free: 44 kB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1921, allocations: 0 / 345.8 MB, free: 44 kB / 286.1 MB Notification: Performance of Templates: time 0.007128/0.1993, allocations: 3.08 MB / 348.9 MB, free: 12.96 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)