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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001635/0.001635, allocations: 188.8 kB / 16.25 MB, free: 6.629 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.031/2.031, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001336/0.001335, allocations: 55.91 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3543, allocations: 46.63 MB / 324.9 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.006011/0.3604, allocations: 2.63 MB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3622, allocations: 0.6981 MB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.3624, allocations: 4.812 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.3627, allocations: 31.98 kB / 328.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3631, allocations: 73.17 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3633, allocations: 77.53 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.3637, allocations: 308.9 kB / 328.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.364, allocations: 97.06 kB / 328.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3642, allocations: 111 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3644, allocations: 126.7 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.13e-05/0.3645, allocations: 25.38 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.3646, allocations: 24.53 kB / 329.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.3646, allocations: 61.73 kB / 329.1 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3648, allocations: 129.4 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3653, allocations: 287.8 kB / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3653, allocations: 0 / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3653, allocations: 0 / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3653, allocations: 5.344 kB / 329.5 MB, free: 14.38 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.00142/0.3668, allocations: 0.5495 MB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.3668, allocations: 13.34 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.367, allocations: 30.19 kB / 330.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3674, allocations: 257.4 kB / 330.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.3675, allocations: 18.16 kB / 330.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.3676, allocations: 22.69 kB / 330.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.3681, allocations: 225.7 kB / 330.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3682, allocations: 7.922 kB / 330.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3682, allocations: 10.03 kB / 330.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3682, allocations: 5.656 kB / 330.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.3688, allocations: 191.3 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3706, allocations: 0.9057 MB / 331.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.3713, allocations: 212.1 kB / 332 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.3717, allocations: 128.4 kB / 332.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3717, allocations: 1.812 kB / 332.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.3718, allocations: 36.59 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.3718, allocations: 0 / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002084/0.3739, allocations: 0.5675 MB / 332.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.374, allocations: 55.72 kB / 332.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.3743, allocations: 223.1 kB / 333 MB, free: 11.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.3743, allocations: 25.7 kB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3745, allocations: 171.8 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.3746, allocations: 55.2 kB / 333.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.3747, allocations: 45.7 kB / 333.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3748, allocations: 326.8 kB / 333.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.375, allocations: 72.75 kB / 333.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3752, allocations: 114 kB / 333.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.3756, allocations: 189.8 kB / 333.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3756, allocations: 0 / 333.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008177/0.3764, allocations: 338.1 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3764, allocations: 8.031 kB / 334.3 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3765, allocations: 4 kB / 334.3 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.3769, allocations: 76.8 kB / 334.3 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3771, allocations: 39.92 kB / 334.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.38, allocations: 2.025 MB / 336.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.3803, allocations: 27.78 kB / 336.4 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3803, allocations: 4 kB / 336.4 MB, free: 8.023 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001642/0.3805, allocations: 148.1 kB / 336.6 MB, free: 7.875 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001064/0.3806, allocations: 94.44 kB / 336.7 MB, free: 7.762 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001853/0.3808, allocations: 145.9 kB / 336.8 MB, free: 7.598 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.3808, allocations: 4 kB / 336.8 MB, free: 7.594 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003596/0.3812, allocations: 222.1 kB / 337 MB, free: 7.367 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3812, allocations: 7.984 kB / 337.1 MB, free: 7.359 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.3812, allocations: 0 / 337.1 MB, free: 7.359 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-05/0.3813, allocations: 32.88 kB / 337.1 MB, free: 7.324 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3815, allocations: 40.17 kB / 337.1 MB, free: 7.285 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.3825, allocations: 1.414 MB / 338.5 MB, free: 5.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3827, allocations: 11.94 kB / 338.5 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3827, allocations: 11.94 kB / 338.6 MB, free: 5.711 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.0001752/0.3829, allocations: 192.2 kB / 338.7 MB, free: 5.516 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3829, allocations: 19.81 kB / 338.8 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.383, allocations: 25.52 kB / 338.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.383, allocations: 3.938 kB / 338.8 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.383, allocations: 0 / 338.8 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.383, allocations: 4.062 kB / 338.8 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.3843, allocations: 0.6283 MB / 339.4 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3843, allocations: 4 kB / 339.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3844, allocations: 23.98 kB / 339.5 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.3847, allocations: 72.8 kB / 339.5 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3847, allocations: 4 kB / 339.5 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.3875, allocations: 1.916 MB / 341.4 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3875, allocations: 8.047 kB / 341.5 MB, free: 2.609 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.3885, allocations: 436 kB / 341.9 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.3886, allocations: 100.8 kB / 342 MB, free: 2.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3886, allocations: 11.94 kB / 342 MB, free: 2.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3889, allocations: 20.05 kB / 342 MB, free: 2.016 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3889, allocations: 11.98 kB / 342 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3889, allocations: 4 kB / 342 MB, free: 2 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.3892, allocations: 164.6 kB / 342.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 0 / 342.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006958/0.3899, allocations: 115.7 kB / 342.3 MB, free: 1.727 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.0002262/0.3901, allocations: 111.1 kB / 342.4 MB, free: 1.609 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3915, allocations: 0.5363 MB / 342.9 MB, free: 1.047 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3915, allocations: 4 kB / 342.9 MB, free: 1.043 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.3918, allocations: 203.3 kB / 343.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3924, allocations: 40.77 kB / 343.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3937, allocations: 0.5877 MB / 343.8 MB, free: 184 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.3942, allocations: 0.744 MB / 344.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3943, allocations: 25.94 kB / 344.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3945, allocations: 15.44 kB / 344.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of SimCode: time 3.186e-06/0.3945, allocations: 8 kB / 344.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Templates: time 0.00829/0.4028, allocations: 3.059 MB / 347.6 MB, free: 12.3 MB / 286.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)