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.001463/0.001463, allocations: 97.27 kB / 16.3 MB, free: 5.992 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.001464/0.001465, allocations: 181.7 kB / 17.2 MB, free: 5.906 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.84/1.84, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0004892/0.0004894, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3391, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002776/0.3419, allocations: 2.07 MB / 329.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3433, allocations: 0.6857 MB / 330.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3435, allocations: 4.219 kB / 330.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.202e-05/0.3435, allocations: 31.73 kB / 330.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.3439, allocations: 103.1 kB / 330.6 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.344, allocations: 65.67 kB / 330.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.3444, allocations: 204.4 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.3446, allocations: 82.08 kB / 330.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3448, allocations: 96.25 kB / 331 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.345, allocations: 106.8 kB / 331.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.345, allocations: 13.53 kB / 331.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.3451, allocations: 13.47 kB / 331.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.3451, allocations: 41.7 kB / 331.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.3452, allocations: 69.39 kB / 331.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3454, allocations: 218.7 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3454, allocations: 0 / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3454, allocations: 0 / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3455, allocations: 0 / 331.5 MB, free: 14.54 MB / 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.0009843/0.3464, allocations: 0.5217 MB / 332 MB, free: 14.06 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3465, allocations: 8.656 kB / 332 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.3466, allocations: 25.72 kB / 332 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.347, allocations: 252 kB / 332.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.347, allocations: 17.5 kB / 332.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3471, allocations: 22.78 kB / 332.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.3476, allocations: 222.9 kB / 332.5 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3477, allocations: 1.875 kB / 332.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.3477, allocations: 9.438 kB / 332.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3477, allocations: 5.094 kB / 332.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.3482, allocations: 189.8 kB / 332.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.3501, allocations: 0.9253 MB / 333.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.3508, allocations: 218.5 kB / 333.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3508, allocations: 5.219 kB / 333.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3509, allocations: 39.81 kB / 333.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.3509, allocations: 1.156 kB / 333.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.00215/0.353, allocations: 0.6023 MB / 334.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3531, allocations: 53.5 kB / 334.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3534, allocations: 229.1 kB / 334.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3535, allocations: 30.98 kB / 334.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3536, allocations: 172.2 kB / 335 MB, free: 11.87 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.3537, allocations: 49.7 kB / 335.1 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.3537, allocations: 5.031 kB / 335.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.354, allocations: 327.6 kB / 335.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3542, allocations: 64.55 kB / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3544, allocations: 122.5 kB / 335.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3546, allocations: 83.92 kB / 335.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3546, allocations: 0 / 335.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008557/0.3555, allocations: 361.9 kB / 336 MB, free: 10.92 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/0.3558, allocations: 0.6084 MB / 336.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3559, allocations: 4 kB / 336.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.3563, allocations: 84.8 kB / 336.7 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3564, allocations: 43.91 kB / 336.7 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.3596, allocations: 1.897 MB / 338.6 MB, free: 8.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3598, allocations: 39.73 kB / 338.7 MB, free: 8.051 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3598, allocations: 8 kB / 338.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/0.3598, allocations: 0 / 338.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002968/0.3601, allocations: 172.6 kB / 338.9 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-06/0.3602, allocations: 0 / 338.9 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.564e-05/0.3602, allocations: 29.03 kB / 338.9 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3604, allocations: 39.92 kB / 338.9 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009519/0.3614, allocations: 1.312 MB / 340.2 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3615, allocations: 19.97 kB / 340.3 MB, free: 6.34 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3615, allocations: 8 kB / 340.3 MB, free: 6.332 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.3617, allocations: 205.1 kB / 340.5 MB, free: 6.121 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.3617, allocations: 27.7 kB / 340.5 MB, free: 6.094 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.3618, allocations: 21.53 kB / 340.5 MB, free: 6.074 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3618, allocations: 3.938 kB / 340.5 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3618, allocations: 3.938 kB / 340.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3619, allocations: 3.984 kB / 340.5 MB, free: 6.062 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.3622, allocations: 289.5 kB / 340.8 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3622, allocations: 0 / 340.8 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3623, allocations: 24.27 kB / 340.8 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.3626, allocations: 84.8 kB / 340.9 MB, free: 5.621 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3626, allocations: 0 / 340.9 MB, free: 5.621 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.3649, allocations: 1.795 MB / 342.7 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3649, allocations: 4.078 kB / 342.7 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.3658, allocations: 448.7 kB / 343.1 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.3659, allocations: 100.8 kB / 343.2 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3659, allocations: 4 kB / 343.2 MB, free: 3.113 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.3661, allocations: 19.98 kB / 343.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3662, allocations: 16.05 kB / 343.3 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.3662, allocations: 4 kB / 343.3 MB, free: 3.074 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3663, allocations: 168.5 kB / 343.5 MB, free: 2.91 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3663, allocations: 0 / 343.5 MB, free: 2.91 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.3669, allocations: 115.7 kB / 343.6 MB, free: 2.797 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.367, allocations: 99.19 kB / 343.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3681, allocations: 0.5564 MB / 344.2 MB, free: 2.105 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3682, allocations: 0 / 344.2 MB, free: 2.105 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3685, allocations: 210.7 kB / 344.4 MB, free: 1.887 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3688, allocations: 36.61 kB / 344.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3699, allocations: 0.5821 MB / 345 MB, free: 1.242 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3704, allocations: 0.752 MB / 345.8 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.3705, allocations: 21.95 kB / 345.8 MB, free: 456 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3706, allocations: 15.44 kB / 345.8 MB, free: 440 kB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3706, allocations: 0 / 345.8 MB, free: 440 kB / 270.1 MB Notification: Performance of Templates: time 0.006624/0.3772, allocations: 2.744 MB / 348.6 MB, free: 13.68 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: