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.001338/0.001338, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001702/0.001702, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005899/0.0005899, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3999, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002813/0.4028, allocations: 2.181 MB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.4042, allocations: 0.6687 MB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.4044, allocations: 5.438 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.4046, allocations: 27.64 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.4049, allocations: 69.33 kB / 329.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.4051, allocations: 73.98 kB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.4056, allocations: 274.5 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.4058, allocations: 78.56 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.406, allocations: 92.14 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.4062, allocations: 111.5 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.4063, allocations: 12.53 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.746e-05/0.4063, allocations: 14.44 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.4064, allocations: 46.09 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.4065, allocations: 68.39 kB / 330.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.4067, allocations: 210.8 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.4068, allocations: 5.188 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4068, allocations: 0 / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.4068, allocations: 0 / 330.4 MB, free: 14.42 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.0009835/0.4078, allocations: 0.521 MB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4078, allocations: 10.09 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.4079, allocations: 25.25 kB / 331 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.4082, allocations: 248.5 kB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.4083, allocations: 17.5 kB / 331.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.4083, allocations: 25.47 kB / 331.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.4088, allocations: 226.2 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4089, allocations: 4 kB / 331.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.4089, allocations: 10.28 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4089, allocations: 5 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.4094, allocations: 190.3 kB / 331.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4111, allocations: 0.9221 MB / 332.6 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.4118, allocations: 225 kB / 332.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.4122, allocations: 125.2 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.4122, allocations: 6.172 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4122, allocations: 36 kB / 333 MB, free: 12.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 4.158e-06/0.4122, allocations: 0 / 333 MB, free: 12.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001848/0.4141, allocations: 0.5961 MB / 333.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.4142, allocations: 65.42 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4144, allocations: 224.1 kB / 333.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.4145, allocations: 26.89 kB / 333.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4146, allocations: 164.3 kB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.4147, allocations: 59.22 kB / 334.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.4147, allocations: 8 kB / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4148, allocations: 330.8 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.415, allocations: 63.97 kB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.4152, allocations: 117.9 kB / 334.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.4154, allocations: 71.98 kB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4154, allocations: 4 kB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007928/0.4162, allocations: 357.9 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/0.4163, allocations: 138.1 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4163, allocations: 4 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.4167, allocations: 84.8 kB / 335.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4169, allocations: 35.98 kB / 335.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.4197, allocations: 1.869 MB / 337.2 MB, free: 8.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4199, allocations: 43.73 kB / 337.2 MB, free: 8.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.42, allocations: 4 kB / 337.2 MB, free: 8.316 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.42, allocations: 4 kB / 337.2 MB, free: 8.312 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003128/0.4203, allocations: 164.6 kB / 337.4 MB, free: 8.148 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4203, allocations: 4 kB / 337.4 MB, free: 8.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-05/0.4204, allocations: 28.97 kB / 337.4 MB, free: 8.113 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.4206, allocations: 39.98 kB / 337.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009288/0.4216, allocations: 1.308 MB / 338.7 MB, free: 6.637 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4217, allocations: 15.84 kB / 338.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4217, allocations: 4 kB / 338.8 MB, free: 6.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.4219, allocations: 217 kB / 339 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4219, allocations: 27.7 kB / 339 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.422, allocations: 21.47 kB / 339 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.422, allocations: 4 kB / 339 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.422, allocations: 0 / 339 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.422, allocations: 4.062 kB / 339 MB, free: 6.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.4231, allocations: 0.6357 MB / 339.7 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4232, allocations: 3.953 kB / 339.7 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4233, allocations: 31.92 kB / 339.7 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.4235, allocations: 76.8 kB / 339.8 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4235, allocations: 4 kB / 339.8 MB, free: 5.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.4257, allocations: 1.756 MB / 341.5 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-05/0.4257, allocations: 0 / 341.5 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.4266, allocations: 460.5 kB / 342 MB, free: 3.172 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.4266, allocations: 104.8 kB / 342.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4267, allocations: 8 kB / 342.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4269, allocations: 23.94 kB / 342.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.4269, allocations: 11.98 kB / 342.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4269, allocations: 4 kB / 342.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.4271, allocations: 160.6 kB / 342.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4271, allocations: 0 / 342.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.4277, allocations: 123.7 kB / 342.4 MB, free: 2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001472/0.4278, allocations: 95.25 kB / 342.5 MB, free: 2.621 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.429, allocations: 0.5441 MB / 343.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.429, allocations: 0 / 343.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.4293, allocations: 207.2 kB / 343.3 MB, free: 1.836 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4297, allocations: 40.64 kB / 343.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.431, allocations: 0.6054 MB / 343.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4315, allocations: 0.7403 MB / 344.6 MB, free: 408 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.4316, allocations: 25.94 kB / 344.7 MB, free: 384 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4316, allocations: 15.44 kB / 344.7 MB, free: 368 kB / 270.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4316, allocations: 0 / 344.7 MB, free: 368 kB / 270.1 MB Notification: Performance of Templates: time 0.00712/0.4388, allocations: 2.772 MB / 347.5 MB, free: 13.59 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)