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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.929/1.929, allocations: 205.1 MB / 222 MB, free: 4.754 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.002007/0.002007, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4467, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004833/0.4516, allocations: 2.63 MB / 327.3 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.4536, allocations: 0.693 MB / 328 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.4539, allocations: 12.28 kB / 328 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.4542, allocations: 36.28 kB / 328.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.4546, allocations: 68.86 kB / 328.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.4548, allocations: 74.73 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.4553, allocations: 293.1 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.4556, allocations: 85.09 kB / 328.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4558, allocations: 105.5 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.456, allocations: 119.8 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.4561, allocations: 17 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.4562, allocations: 17.19 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.4563, allocations: 50.89 kB / 328.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.4565, allocations: 128.4 kB / 329 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.4568, allocations: 275.8 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4568, allocations: 1.188 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4569, allocations: 4 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4569, allocations: 0 / 329.3 MB, free: 14.45 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.001247/0.4581, allocations: 0.5616 MB / 329.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4582, allocations: 9.188 kB / 329.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.4583, allocations: 26.56 kB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.4587, allocations: 249.7 kB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.4587, allocations: 17.12 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.4587, allocations: 23.06 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.4593, allocations: 225.8 kB / 330.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4593, allocations: 3.984 kB / 330.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.4593, allocations: 15 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4593, allocations: 9.469 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.4599, allocations: 190.1 kB / 330.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.4616, allocations: 0.8986 MB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.4623, allocations: 219.7 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.4627, allocations: 128.7 kB / 331.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.4627, allocations: 6.203 kB / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.4628, allocations: 35.78 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.4628, allocations: 1.094 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001985/0.4648, allocations: 0.5637 MB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.4649, allocations: 52.53 kB / 332.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.4652, allocations: 226.5 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.4653, allocations: 26.8 kB / 332.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4654, allocations: 169.5 kB / 332.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.4654, allocations: 55.2 kB / 333 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.4655, allocations: 45.7 kB / 333 MB, free: 11.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4657, allocations: 330.8 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4659, allocations: 68.77 kB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.4661, allocations: 118 kB / 333.5 MB, free: 11.04 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.4665, allocations: 181.9 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4665, allocations: 0 / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008374/0.4673, allocations: 342.1 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4673, allocations: 4 kB / 334 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4674, allocations: 4 kB / 334 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.4678, allocations: 80.73 kB / 334.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4679, allocations: 44 kB / 334.1 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.471, allocations: 1.822 MB / 336 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.4713, allocations: 23.91 kB / 336 MB, free: 8.375 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4713, allocations: 8 kB / 336 MB, free: 8.367 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00023/0.4715, allocations: 148.1 kB / 336.1 MB, free: 8.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001191/0.4717, allocations: 94.31 kB / 336.2 MB, free: 8.105 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001943/0.4719, allocations: 145.9 kB / 336.4 MB, free: 7.941 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.4719, allocations: 3.938 kB / 336.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003894/0.4723, allocations: 222.3 kB / 336.6 MB, free: 7.711 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4723, allocations: 11.94 kB / 336.6 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4723, allocations: 0 / 336.6 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.4724, allocations: 32.88 kB / 336.6 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4726, allocations: 39.92 kB / 336.7 MB, free: 7.625 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.4738, allocations: 1.316 MB / 338 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4739, allocations: 11.91 kB / 338 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4739, allocations: 8 kB / 338 MB, free: 6.16 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.0001781/0.4741, allocations: 196.6 kB / 338.2 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.4742, allocations: 23.88 kB / 338.2 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.4742, allocations: 25.52 kB / 338.3 MB, free: 5.918 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4743, allocations: 0 / 338.3 MB, free: 5.918 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4743, allocations: 7.938 kB / 338.3 MB, free: 5.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4743, allocations: 0 / 338.3 MB, free: 5.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.4755, allocations: 0.6244 MB / 338.9 MB, free: 5.227 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4755, allocations: 0 / 338.9 MB, free: 5.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.4756, allocations: 27.98 kB / 338.9 MB, free: 5.199 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.4759, allocations: 72.8 kB / 339 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4759, allocations: 8 kB / 339 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.4782, allocations: 1.725 MB / 340.7 MB, free: 3.254 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4783, allocations: 7.969 kB / 340.7 MB, free: 3.246 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.4792, allocations: 432.1 kB / 341.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.4793, allocations: 104.8 kB / 341.3 MB, free: 2.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4793, allocations: 0 / 341.3 MB, free: 2.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.4795, allocations: 19.98 kB / 341.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.4796, allocations: 15.98 kB / 341.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4796, allocations: 4 kB / 341.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.4798, allocations: 168.6 kB / 341.5 MB, free: 2.48 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4798, allocations: 0 / 341.5 MB, free: 2.48 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00065/0.4804, allocations: 115.7 kB / 341.6 MB, free: 2.367 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.0001599/0.4806, allocations: 99.25 kB / 341.7 MB, free: 2.262 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4818, allocations: 0.5402 MB / 342.2 MB, free: 1.695 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4818, allocations: 0 / 342.2 MB, free: 1.695 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.4821, allocations: 203.2 kB / 342.4 MB, free: 1.484 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4826, allocations: 40.59 kB / 342.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4837, allocations: 0.582 MB / 343 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4841, allocations: 0.7479 MB / 343.8 MB, free: 68 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.4842, allocations: 21.95 kB / 343.8 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.4843, allocations: 19.38 kB / 343.8 MB, free: 24 kB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4843, allocations: 0 / 343.8 MB, free: 24 kB / 270.1 MB Notification: Performance of Templates: time 0.007258/0.4915, allocations: 2.9 MB / 346.7 MB, free: 13.12 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)