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.0009574/0.0009579, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009978/0.009979, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.034/2.034, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005384/0.0005384, allocations: 12.47 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3556, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003596/0.3593, allocations: 2.276 MB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.361, allocations: 0.6872 MB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3613, allocations: 8.281 kB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3615, allocations: 36.75 kB / 330 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3618, allocations: 68.02 kB / 330.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.3621, allocations: 75.05 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.3626, allocations: 301.3 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3628, allocations: 85.12 kB / 330.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.363, allocations: 92.42 kB / 330.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3632, allocations: 115.3 kB / 330.8 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.3633, allocations: 12.59 kB / 330.8 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.3633, allocations: 13.66 kB / 330.8 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.3634, allocations: 45.64 kB / 330.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3636, allocations: 150 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3639, allocations: 267.6 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3639, allocations: 1.219 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3639, allocations: 0 / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.364, allocations: 0 / 331.2 MB, free: 14.19 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.001114/0.3651, allocations: 0.5191 MB / 331.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.3651, allocations: 9.406 kB / 331.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.3652, allocations: 26.69 kB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3656, allocations: 249.2 kB / 332 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3657, allocations: 22.38 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.3658, allocations: 18.16 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3664, allocations: 236 kB / 332.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3664, allocations: 0 / 332.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.3664, allocations: 10.38 kB / 332.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3664, allocations: 6.375 kB / 332.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.367, allocations: 195 kB / 332.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.3689, allocations: 0.9173 MB / 333.4 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.3698, allocations: 219.6 kB / 333.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.3701, allocations: 128.1 kB / 333.8 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3702, allocations: 1.125 kB / 333.8 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.3702, allocations: 40.92 kB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3702, allocations: 0 / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002177/0.3724, allocations: 0.6022 MB / 334.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3725, allocations: 55.41 kB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.3727, allocations: 227 kB / 334.7 MB, free: 11.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3728, allocations: 29.7 kB / 334.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.373, allocations: 171.8 kB / 334.9 MB, free: 11.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.373, allocations: 55.28 kB / 334.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3731, allocations: 25.64 kB / 335 MB, free: 11.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3732, allocations: 330.8 kB / 335.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3734, allocations: 67.97 kB / 335.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3736, allocations: 117.9 kB / 335.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.374, allocations: 193.8 kB / 335.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.374, allocations: 0 / 335.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009159/0.375, allocations: 358 kB / 336 MB, free: 10.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.3751, allocations: 130.2 kB / 336.1 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3751, allocations: 4 kB / 336.1 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.3756, allocations: 84.8 kB / 336.2 MB, free: 9.828 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3758, allocations: 39.92 kB / 336.3 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.3789, allocations: 1.869 MB / 338.1 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.3791, allocations: 31.73 kB / 338.2 MB, free: 7.746 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3791, allocations: 8.062 kB / 338.2 MB, free: 7.738 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.3792, allocations: 4 kB / 338.2 MB, free: 7.734 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003359/0.3795, allocations: 172.6 kB / 338.3 MB, free: 7.562 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.3795, allocations: 0 / 338.3 MB, free: 7.562 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.379e-05/0.3796, allocations: 28.78 kB / 338.4 MB, free: 7.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3798, allocations: 56.03 kB / 338.4 MB, free: 7.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3809, allocations: 1.288 MB / 339.7 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.381, allocations: 27.84 kB / 339.7 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.381, allocations: 16.05 kB / 339.8 MB, free: 6.016 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.0002176/0.3812, allocations: 209.1 kB / 340 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3813, allocations: 23.8 kB / 340 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.3814, allocations: 17.53 kB / 340 MB, free: 5.762 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3814, allocations: 7.984 kB / 340 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3814, allocations: 0 / 340 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3814, allocations: 0 / 340 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3826, allocations: 0.6517 MB / 340.7 MB, free: 5.043 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3827, allocations: 0 / 340.7 MB, free: 5.043 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3828, allocations: 23.98 kB / 340.7 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/0.3831, allocations: 84.75 kB / 340.8 MB, free: 4.934 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3831, allocations: 7.984 kB / 340.8 MB, free: 4.926 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.3855, allocations: 1.756 MB / 342.5 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3855, allocations: 0 / 342.5 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.3865, allocations: 456 kB / 343 MB, free: 2.574 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.3866, allocations: 96.8 kB / 343.1 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3866, allocations: 8 kB / 343.1 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3868, allocations: 20.05 kB / 343.1 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3869, allocations: 15.98 kB / 343.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3869, allocations: 4 kB / 343.1 MB, free: 2.414 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3871, allocations: 160.6 kB / 343.3 MB, free: 2.258 MB / 270.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.3871, allocations: 7.938 kB / 343.3 MB, free: 2.25 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006471/0.3878, allocations: 115.7 kB / 343.4 MB, free: 2.137 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.0001853/0.388, allocations: 103.2 kB / 343.5 MB, free: 2.023 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3893, allocations: 0.5483 MB / 344 MB, free: 1.449 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.3893, allocations: 3.938 kB / 344.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.3896, allocations: 206.6 kB / 344.3 MB, free: 1.23 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3902, allocations: 41.94 kB / 344.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3914, allocations: 0.6133 MB / 344.9 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3919, allocations: 0.7441 MB / 345.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.392, allocations: 29.86 kB / 345.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.3921, allocations: 19.44 kB / 345.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3921, allocations: 0 / 345.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of Templates: time 0.007346/0.3994, allocations: 2.858 MB / 348.6 MB, free: 12.88 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)