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.001015/0.001015, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007732/0.007733, allocations: 170 kB / 16.27 MB, free: 6.66 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.032/2.032, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.000545/0.0005451, allocations: 16 kB / 279.5 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3545, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003006/0.3575, allocations: 2.269 MB / 329.3 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3591, allocations: 0.6879 MB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.3593, allocations: 3.938 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3594, allocations: 32.55 kB / 330 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3597, allocations: 77.34 kB / 330.1 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.36, allocations: 70.03 kB / 330.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.3604, allocations: 298.1 kB / 330.5 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.3607, allocations: 79.69 kB / 330.6 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3609, allocations: 96.73 kB / 330.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.3611, allocations: 114.7 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.3612, allocations: 13.09 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.848e-05/0.3613, allocations: 18.06 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.3613, allocations: 41.66 kB / 330.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3615, allocations: 145.1 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3619, allocations: 268.5 kB / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/0.3619, allocations: 1.219 kB / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3619, allocations: 0 / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3619, allocations: 0 / 331.2 MB, free: 14.17 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.000961/0.3629, allocations: 0.5234 MB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.363, allocations: 8.656 kB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.363, allocations: 27.34 kB / 331.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3634, allocations: 252.9 kB / 332 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3634, allocations: 13.59 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3635, allocations: 27.44 kB / 332.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.364, allocations: 226.9 kB / 332.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.364, allocations: 1.375 kB / 332.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.364, allocations: 9.344 kB / 332.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.364, allocations: 9.453 kB / 332.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.3645, allocations: 199.7 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3661, allocations: 0.9226 MB / 333.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.3668, allocations: 217.7 kB / 333.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.3672, allocations: 128.5 kB / 333.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.3672, allocations: 2.219 kB / 333.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3672, allocations: 39.53 kB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3672, allocations: 1.219 kB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002027/0.3693, allocations: 0.6039 MB / 334.4 MB, free: 11.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.3693, allocations: 51.41 kB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3696, allocations: 227 kB / 334.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3696, allocations: 33.7 kB / 334.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3697, allocations: 171.8 kB / 334.9 MB, free: 11.28 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.3698, allocations: 51.3 kB / 334.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3698, allocations: 21.7 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3699, allocations: 330.8 kB / 335.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3701, allocations: 63.95 kB / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3703, allocations: 121.9 kB / 335.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.3707, allocations: 185.8 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3707, allocations: 0 / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009118/0.3717, allocations: 366 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3718, allocations: 134.2 kB / 336.1 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3718, allocations: 0 / 336.1 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.3722, allocations: 84.8 kB / 336.2 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3724, allocations: 39.92 kB / 336.3 MB, free: 9.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3755, allocations: 1.865 MB / 338.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3758, allocations: 35.83 kB / 338.2 MB, free: 7.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3759, allocations: 8 kB / 338.2 MB, free: 7.762 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3759, allocations: 7.938 kB / 338.2 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003223/0.3762, allocations: 168.6 kB / 338.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3762, allocations: 4 kB / 338.4 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.944e-05/0.3763, allocations: 28.97 kB / 338.4 MB, free: 7.551 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.3765, allocations: 51.86 kB / 338.4 MB, free: 7.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3776, allocations: 1.304 MB / 339.7 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.3778, allocations: 23.69 kB / 339.8 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3778, allocations: 4 kB / 339.8 MB, free: 6.039 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 (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.0002693/0.3781, allocations: 209.1 kB / 340 MB, free: 5.824 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.3781, allocations: 19.8 kB / 340 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.3782, allocations: 25.53 kB / 340 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3782, allocations: 0 / 340 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.3783, allocations: 4.062 kB / 340 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3783, allocations: 64 / 340 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.3797, allocations: 0.6434 MB / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3797, allocations: 0 / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3798, allocations: 23.98 kB / 340.7 MB, free: 5.051 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.3801, allocations: 88.73 kB / 340.8 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3802, allocations: 4 kB / 340.8 MB, free: 4.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.3828, allocations: 1.76 MB / 342.5 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3828, allocations: 0 / 342.5 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3838, allocations: 456.6 kB / 343 MB, free: 2.602 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.384, allocations: 104.8 kB / 343.1 MB, free: 2.48 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.384, allocations: 8.062 kB / 343.1 MB, free: 2.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3842, allocations: 20.11 kB / 343.1 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3843, allocations: 15.98 kB / 343.1 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3843, allocations: 4 kB / 343.1 MB, free: 2.434 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3845, allocations: 164.6 kB / 343.3 MB, free: 2.273 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3845, allocations: 0 / 343.3 MB, free: 2.273 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3852, allocations: 119.7 kB / 343.4 MB, free: 2.156 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 (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.0001921/0.3854, allocations: 99.19 kB / 343.5 MB, free: 2.047 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.3867, allocations: 0.548 MB / 344 MB, free: 1.473 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3867, allocations: 3.938 kB / 344.1 MB, free: 1.469 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.3871, allocations: 203.2 kB / 344.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3876, allocations: 41.61 kB / 344.3 MB, free: 1.219 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.389, allocations: 0.6248 MB / 344.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3895, allocations: 0.7363 MB / 345.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3896, allocations: 33.81 kB / 345.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.3897, allocations: 15.44 kB / 345.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3897, allocations: 0 / 345.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of Templates: time 0.009016/0.3987, allocations: 2.869 MB / 348.6 MB, free: 12.89 MB / 286.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)