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.001677/0.001677, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 194.3 kB / 16.53 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.736/1.736, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001635/0.001636, allocations: 56.34 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3764, allocations: 46.63 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004123/0.3806, allocations: 2.591 MB / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.382, allocations: 0.706 MB / 328.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3822, allocations: 4.031 kB / 328.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3825, allocations: 43.97 kB / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.3828, allocations: 84.89 kB / 328.7 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.383, allocations: 82.02 kB / 328.8 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.3834, allocations: 309.3 kB / 329.1 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.3837, allocations: 96.28 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3839, allocations: 106.5 kB / 329.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.3841, allocations: 136.3 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.3842, allocations: 28.69 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.3843, allocations: 23.97 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.3844, allocations: 54.25 kB / 329.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3845, allocations: 133.2 kB / 329.7 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3848, allocations: 287.3 kB / 330 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3849, allocations: 0.9688 kB / 330 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3849, allocations: 0 / 330 MB, free: 14.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.3849, allocations: 0 / 330 MB, free: 14.41 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.3861, allocations: 0.562 MB / 330.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.3862, allocations: 9 kB / 330.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3863, allocations: 26.97 kB / 330.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.3868, allocations: 249.5 kB / 330.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3869, allocations: 17.19 kB / 330.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.387, allocations: 27.38 kB / 330.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.3877, allocations: 230.1 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3877, allocations: 0 / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.3877, allocations: 13.28 kB / 331.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.3878, allocations: 5.531 kB / 331.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.3884, allocations: 191.5 kB / 331.3 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.3905, allocations: 0.9021 MB / 332.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.3914, allocations: 216.1 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.3918, allocations: 128.5 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3918, allocations: 2.219 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3919, allocations: 35.69 kB / 332.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3919, allocations: 1.094 kB / 332.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002283/0.3942, allocations: 0.5578 MB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3942, allocations: 55.41 kB / 333.2 MB, free: 11.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.3945, allocations: 227.1 kB / 333.4 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3945, allocations: 25.7 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3947, allocations: 179.7 kB / 333.6 MB, free: 11.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.3947, allocations: 51.2 kB / 333.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.3948, allocations: 41.7 kB / 333.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.395, allocations: 330.8 kB / 334 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.3951, allocations: 72.77 kB / 334.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3954, allocations: 110 kB / 334.2 MB, free: 10.85 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.3958, allocations: 177.9 kB / 334.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3958, allocations: 4 kB / 334.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009642/0.3967, allocations: 342 kB / 334.7 MB, free: 10.31 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3968, allocations: 11.98 kB / 334.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3968, allocations: 0 / 334.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.3973, allocations: 80.78 kB / 334.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3974, allocations: 39.97 kB / 334.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.4008, allocations: 2.013 MB / 336.8 MB, free: 8.016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.401, allocations: 31.92 kB / 336.9 MB, free: 7.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4011, allocations: 11.94 kB / 336.9 MB, free: 7.973 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001952/0.4013, allocations: 144.1 kB / 337 MB, free: 7.828 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001307/0.4014, allocations: 98.36 kB / 337.1 MB, free: 7.711 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002104/0.4016, allocations: 145.9 kB / 337.3 MB, free: 7.547 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.4017, allocations: 0 / 337.3 MB, free: 7.547 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003794/0.402, allocations: 222.1 kB / 337.5 MB, free: 7.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4021, allocations: 4 kB / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4021, allocations: 4 kB / 337.5 MB, free: 7.312 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.781e-05/0.4022, allocations: 28.83 kB / 337.5 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4023, allocations: 43.92 kB / 337.6 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4036, allocations: 1.422 MB / 339 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4037, allocations: 11.91 kB / 339 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4038, allocations: 8 kB / 339 MB, free: 5.66 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.0001907/0.404, allocations: 204.1 kB / 339.2 MB, free: 5.453 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.404, allocations: 15.81 kB / 339.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.4041, allocations: 21.52 kB / 339.2 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4041, allocations: 7.938 kB / 339.3 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4041, allocations: 0 / 339.3 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4041, allocations: 0 / 339.3 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.4053, allocations: 0.6279 MB / 339.9 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4054, allocations: 0 / 339.9 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.4055, allocations: 27.98 kB / 339.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.4058, allocations: 72.8 kB / 340 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4058, allocations: 8 kB / 340 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.4086, allocations: 1.92 MB / 341.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4086, allocations: 3.938 kB / 341.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.4095, allocations: 439.9 kB / 342.3 MB, free: 2.102 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.4096, allocations: 100.9 kB / 342.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4097, allocations: 7.938 kB / 342.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4099, allocations: 15.98 kB / 342.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4099, allocations: 15.98 kB / 342.5 MB, free: 1.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.4099, allocations: 64 / 342.5 MB, free: 1.945 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4101, allocations: 164.6 kB / 342.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4101, allocations: 0 / 342.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006677/0.4108, allocations: 119.7 kB / 342.8 MB, free: 1.668 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.0001687/0.411, allocations: 99.23 kB / 342.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.4123, allocations: 0.5449 MB / 343.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4123, allocations: 0 / 343.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4126, allocations: 202.6 kB / 343.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.4132, allocations: 41.36 kB / 343.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.4144, allocations: 0.4978 MB / 344.1 MB, free: 224 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.4149, allocations: 0.7479 MB / 344.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.4151, allocations: 21.95 kB / 344.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.4151, allocations: 19.44 kB / 344.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4151, allocations: 0 / 344.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of Templates: time 0.007713/0.4229, allocations: 3.074 MB / 348 MB, free: 12.33 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)