Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 109.7 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.001064/0.001064, allocations: 186.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.697/1.697, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001313/0.001314, allocations: 51.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.004506/0.145, allocations: 1.905 MB / 327.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1465, allocations: 0.6204 MB / 328.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1467, allocations: 3.938 kB / 328.5 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.1469, allocations: 15.86 kB / 328.5 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1471, allocations: 31.72 kB / 328.5 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1474, allocations: 51.97 kB / 328.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.1477, allocations: 163.3 kB / 328.7 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.148, allocations: 65.42 kB / 328.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1481, allocations: 71.7 kB / 328.9 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1483, allocations: 75.56 kB / 328.9 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1484, allocations: 8 kB / 329 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1485, allocations: 19.98 kB / 329 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1486, allocations: 39.84 kB / 329 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1487, allocations: 75.47 kB / 329.1 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1491, allocations: 159.6 kB / 329.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1491, allocations: 0 / 329.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1491, allocations: 4 kB / 329.2 MB, free: 1.555 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1491, allocations: 4 kB / 329.3 MB, free: 1.551 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001238/0.1503, allocations: 0.5028 MB / 329.8 MB, free: 1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1504, allocations: 11.97 kB / 329.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.1505, allocations: 24.66 kB / 329.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1509, allocations: 239.7 kB / 330 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1509, allocations: 12.66 kB / 330 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1509, allocations: 16.38 kB / 330.1 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.1515, allocations: 199.2 kB / 330.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1515, allocations: 0 / 330.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1515, allocations: 4 kB / 330.3 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.1516, allocations: 11.94 kB / 330.3 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.152, allocations: 143.8 kB / 330.4 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.1535, allocations: 0.7662 MB / 331.2 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.1539, allocations: 176.9 kB / 331.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1541, allocations: 73.81 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.1542, allocations: 7.984 kB / 331.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.1545, allocations: 148.9 kB / 331.6 MB, free: 15.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.1546, allocations: 0 / 331.6 MB, free: 15.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007743/0.1553, allocations: 261.4 kB / 331.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.1554, allocations: 81.11 kB / 331.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1557, allocations: 199 kB / 332.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.1557, allocations: 29.7 kB / 332.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1559, allocations: 144.1 kB / 332.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1559, allocations: 43.44 kB / 332.3 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.156, allocations: 45.7 kB / 332.4 MB, free: 14.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1562, allocations: 330.8 kB / 332.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1564, allocations: 67.95 kB / 332.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.1567, allocations: 118.8 kB / 332.9 MB, free: 13.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.1572, allocations: 206.6 kB / 333.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1572, allocations: 4 kB / 333.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005716/0.1578, allocations: 245.1 kB / 333.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1578, allocations: 8 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1578, allocations: 0 / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.1579, allocations: 4 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1581, allocations: 35.92 kB / 333.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.1581, allocations: 12.17 kB / 333.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1584, allocations: 27.83 kB / 333.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1584, allocations: 8.109 kB / 333.4 MB, free: 13.08 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.1586, allocations: 149.6 kB / 333.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1586, allocations: 15.81 kB / 333.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.1593, allocations: 223.7 kB / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1593, allocations: 0 / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1593, allocations: 0 / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1593, allocations: 0 / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.1597, allocations: 273.4 kB / 334 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1597, allocations: 0 / 334 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1599, allocations: 23.92 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1599, allocations: 0 / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1599, allocations: 8 kB / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1599, allocations: 0 / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.16, allocations: 0 / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1605, allocations: 229.6 kB / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.1606, allocations: 96.84 kB / 334.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.1606, allocations: 4 kB / 334.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1608, allocations: 19.98 kB / 334.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.1609, allocations: 23.97 kB / 334.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.161, allocations: 0 / 334.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1611, allocations: 144.6 kB / 334.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1611, allocations: 0 / 334.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.1616, allocations: 47.83 kB / 334.6 MB, free: 11.74 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.1618, allocations: 99.2 kB / 334.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.1623, allocations: 181.2 kB / 334.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1623, allocations: 0 / 334.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1626, allocations: 79.89 kB / 335 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1631, allocations: 52.08 kB / 335 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.1641, allocations: 438.1 kB / 335.5 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.1645, allocations: 0.7319 MB / 336.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.1647, allocations: 41.5 kB / 336.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.1648, allocations: 27.38 kB / 336.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1648, allocations: 0 / 336.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of Templates: time 0.007176/0.172, allocations: 1.895 MB / 338.2 MB, free: 8.156 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)