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.001269/0.001269, 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.001618/0.001618, allocations: 194 kB / 16.14 MB, free: 6.707 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.901/1.901, allocations: 205.1 MB / 222 MB, free: 4.773 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.001746/0.001746, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3904, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005111/0.3956, allocations: 2.634 MB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.397, allocations: 0.6936 MB / 328 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.3972, allocations: 12.06 kB / 328 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.3974, allocations: 32.03 kB / 328.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3977, allocations: 76.83 kB / 328.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3979, allocations: 66.5 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.3983, allocations: 293.2 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.3986, allocations: 85.12 kB / 328.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3988, allocations: 106.3 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.399, allocations: 126.7 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.3991, allocations: 17.81 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.3991, allocations: 16.44 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.3992, allocations: 46.25 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3994, allocations: 120.8 kB / 329 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.3997, allocations: 279.9 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3997, allocations: 5.062 kB / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3997, allocations: 0 / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3997, allocations: 0 / 329.3 MB, free: 14.44 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.001123/0.4008, allocations: 0.5658 MB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4009, allocations: 8.469 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.401, allocations: 27.41 kB / 329.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4013, allocations: 249.5 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.4014, allocations: 16.78 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.4015, allocations: 23.81 kB / 330.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.402, allocations: 232.9 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.402, allocations: 0 / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.4021, allocations: 18.38 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4021, allocations: 6.281 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.4026, allocations: 186.8 kB / 330.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.4045, allocations: 0.8976 MB / 331.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.4052, allocations: 224.2 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.4056, allocations: 132.9 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4056, allocations: 2.219 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4056, allocations: 31.66 kB / 331.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.4057, allocations: 5.125 kB / 331.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001956/0.4076, allocations: 0.5557 MB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.4077, allocations: 53.34 kB / 332.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.408, allocations: 226.1 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.408, allocations: 30.95 kB / 332.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4082, allocations: 164.4 kB / 332.9 MB, free: 11.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.4082, allocations: 66.91 kB / 333 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.4083, allocations: 37.72 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4085, allocations: 330.8 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.4087, allocations: 72.77 kB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.4089, allocations: 110 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4092, allocations: 185.9 kB / 333.7 MB, free: 10.85 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4093, allocations: 0 / 333.7 MB, free: 10.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008463/0.4101, allocations: 342.1 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4101, allocations: 4 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4101, allocations: 4 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.4105, allocations: 76.73 kB / 334.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4107, allocations: 48 kB / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.4135, allocations: 1.818 MB / 336 MB, free: 8.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4137, allocations: 27.91 kB / 336 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4138, allocations: 4 kB / 336 MB, free: 8.379 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001567/0.4139, allocations: 144.1 kB / 336.1 MB, free: 8.234 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001159/0.414, allocations: 98.3 kB / 336.2 MB, free: 8.117 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001826/0.4142, allocations: 145.9 kB / 336.4 MB, free: 7.953 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.4142, allocations: 0 / 336.4 MB, free: 7.953 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003433/0.4146, allocations: 230.2 kB / 336.6 MB, free: 7.719 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4146, allocations: 11.88 kB / 336.6 MB, free: 7.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4146, allocations: 4 kB / 336.6 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-05/0.4147, allocations: 24.84 kB / 336.6 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4149, allocations: 39.92 kB / 336.7 MB, free: 7.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000978/0.4159, allocations: 1.324 MB / 338 MB, free: 6.184 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.416, allocations: 11.91 kB / 338 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.416, allocations: 8 kB / 338 MB, free: 6.164 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.0001591/0.4162, allocations: 200.7 kB / 338.2 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.4162, allocations: 19.81 kB / 338.2 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.4163, allocations: 21.52 kB / 338.3 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4163, allocations: 4 kB / 338.3 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4163, allocations: 0 / 338.3 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4163, allocations: 0 / 338.3 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4174, allocations: 0.6205 MB / 338.9 MB, free: 5.242 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4175, allocations: 0 / 338.9 MB, free: 5.242 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4176, allocations: 31.98 kB / 338.9 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.4178, allocations: 76.8 kB / 339 MB, free: 5.133 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4179, allocations: 4 kB / 339 MB, free: 5.129 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.4201, allocations: 1.725 MB / 340.7 MB, free: 3.266 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4201, allocations: 7.922 kB / 340.7 MB, free: 3.258 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.4209, allocations: 440.1 kB / 341.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.421, allocations: 96.77 kB / 341.2 MB, free: 2.695 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4211, allocations: 4 kB / 341.2 MB, free: 2.691 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4212, allocations: 20.05 kB / 341.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.4213, allocations: 19.92 kB / 341.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4213, allocations: 7.984 kB / 341.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4214, allocations: 156.6 kB / 341.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4215, allocations: 0 / 341.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000525/0.422, allocations: 119.7 kB / 341.6 MB, free: 2.375 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.0001395/0.4221, allocations: 95.25 kB / 341.7 MB, free: 2.273 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.4232, allocations: 0.5441 MB / 342.2 MB, free: 1.703 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4232, allocations: 0 / 342.2 MB, free: 1.703 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.4235, allocations: 203.2 kB / 342.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.424, allocations: 44.59 kB / 342.4 MB, free: 1.449 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4251, allocations: 0.5703 MB / 343 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4255, allocations: 0.7479 MB / 343.8 MB, free: 84 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.4256, allocations: 25.94 kB / 343.8 MB, free: 56 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.4256, allocations: 23.38 kB / 343.8 MB, free: 32 kB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4256, allocations: 3.938 kB / 343.8 MB, free: 28 kB / 270.1 MB Notification: Performance of Templates: time 0.006403/0.4321, allocations: 2.893 MB / 346.7 MB, free: 13.13 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)