Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001595/0.001596, allocations: 109.3 kB / 16.51 MB, free: 6.707 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.001751/0.001752, allocations: 190.5 kB / 17.42 MB, free: 6.07 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.882/1.882, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.002277/0.002278, allocations: 44.41 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.13, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004008/0.1341, allocations: 2.631 MB / 328.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1353, allocations: 0.706 MB / 329.3 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1355, allocations: 8 kB / 329.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1357, allocations: 35.75 kB / 329.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.136, allocations: 67.45 kB / 329.4 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1361, allocations: 75.88 kB / 329.5 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1365, allocations: 294.7 kB / 329.8 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.1367, allocations: 89.14 kB / 329.9 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1369, allocations: 111.5 kB / 330 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1371, allocations: 115.5 kB / 330.1 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.1372, allocations: 16 kB / 330.1 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.1372, allocations: 16 kB / 330.1 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1373, allocations: 47.83 kB / 330.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1375, allocations: 123.3 kB / 330.3 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.1378, allocations: 279.2 kB / 330.6 MB, free: 264 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1379, allocations: 3.938 kB / 330.6 MB, free: 260 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1379, allocations: 4 kB / 330.6 MB, free: 256 kB / 270.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.1379, allocations: 4 kB / 330.6 MB, free: 252 kB / 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.001238/0.1391, allocations: 0.5614 MB / 331.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1392, allocations: 12.03 kB / 331.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.1393, allocations: 24.66 kB / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1396, allocations: 255.7 kB / 331.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1396, allocations: 12.94 kB / 331.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1397, allocations: 20.38 kB / 331.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1402, allocations: 229.2 kB / 331.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1402, allocations: 3.984 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.1402, allocations: 8 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1402, allocations: 8 kB / 331.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1407, allocations: 186.2 kB / 331.9 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.1424, allocations: 0.9084 MB / 332.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.143, allocations: 210.7 kB / 333 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1433, allocations: 136.7 kB / 333.1 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1433, allocations: 7.922 kB / 333.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1434, allocations: 30.56 kB / 333.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.1434, allocations: 4 kB / 333.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001773/0.1451, allocations: 0.5548 MB / 333.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1452, allocations: 55.41 kB / 333.8 MB, free: 12.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1454, allocations: 231 kB / 334 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1455, allocations: 33.7 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1456, allocations: 163.8 kB / 334.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.1456, allocations: 55.25 kB / 334.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.1457, allocations: 37.72 kB / 334.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1458, allocations: 330.8 kB / 334.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.146, allocations: 68.77 kB / 334.7 MB, free: 11.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.1462, allocations: 118 kB / 334.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.1466, allocations: 181.8 kB / 335 MB, free: 11.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1466, allocations: 7.938 kB / 335 MB, free: 11.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000931/0.1475, allocations: 342 kB / 335.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1476, allocations: 8 kB / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1476, allocations: 3.938 kB / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.148, allocations: 80.8 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1482, allocations: 43.94 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.1513, allocations: 1.822 MB / 337.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.1515, allocations: 23.94 kB / 337.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1515, allocations: 12 kB / 337.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001886/0.1517, allocations: 140.1 kB / 337.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001545/0.1519, allocations: 94.38 kB / 337.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002162/0.1521, allocations: 153.8 kB / 337.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1521, allocations: 0 / 337.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003443/0.1525, allocations: 222.3 kB / 337.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1525, allocations: 11.94 kB / 337.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.1525, allocations: 0 / 337.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.445e-05/0.1526, allocations: 28.78 kB / 337.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1528, allocations: 43.98 kB / 338 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1539, allocations: 1.312 MB / 339.3 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1541, allocations: 15.88 kB / 339.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1541, allocations: 8 kB / 339.3 MB, free: 6.84 MB / 286.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.0002019/0.1543, allocations: 192.1 kB / 339.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.1544, allocations: 23.88 kB / 339.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.1544, allocations: 25.52 kB / 339.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1544, allocations: 0 / 339.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1544, allocations: 0 / 339.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1545, allocations: 0 / 339.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1558, allocations: 0.6246 MB / 340.2 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1558, allocations: 4 kB / 340.2 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.156, allocations: 31.92 kB / 340.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.1563, allocations: 76.8 kB / 340.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1563, allocations: 0 / 340.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.159, allocations: 1.729 MB / 342 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.159, allocations: 3.938 kB / 342 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/0.1601, allocations: 442.3 kB / 342.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1602, allocations: 92.86 kB / 342.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1602, allocations: 11.94 kB / 342.5 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1604, allocations: 15.98 kB / 342.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.1604, allocations: 12.09 kB / 342.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1605, allocations: 15.97 kB / 342.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1606, allocations: 160.6 kB / 342.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1607, allocations: 0 / 342.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.1613, allocations: 115.7 kB / 342.9 MB, free: 3.051 MB / 286.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.0002212/0.1615, allocations: 99.25 kB / 343 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1627, allocations: 0.5401 MB / 343.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1627, allocations: 3.938 kB / 343.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.163, allocations: 203.2 kB / 343.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.1636, allocations: 40.58 kB / 343.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1647, allocations: 0.5742 MB / 344.3 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1652, allocations: 0.7479 MB / 345.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1653, allocations: 29.92 kB / 345.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1653, allocations: 15.44 kB / 345.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1653, allocations: 0 / 345.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Templates: time 0.007305/0.1727, allocations: 2.896 MB / 348 MB, free: 13.81 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)