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: 115.2 kB / 16.63 MB, free: 6.812 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.001068/0.001069, allocations: 186 kB / 17.55 MB, free: 5.934 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.488/1.488, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001189/0.001189, allocations: 52.16 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003339/0.1193, allocations: 1.913 MB / 328 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1205, allocations: 0.6125 MB / 328.7 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1206, allocations: 4 kB / 328.7 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1208, allocations: 15.8 kB / 328.7 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1209, allocations: 35.78 kB / 328.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1212, allocations: 59.88 kB / 328.8 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1215, allocations: 163.4 kB / 328.9 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1217, allocations: 65.44 kB / 329 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1218, allocations: 75.69 kB / 329.1 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.122, allocations: 79.56 kB / 329.1 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.122, allocations: 12 kB / 329.2 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.1221, allocations: 24 kB / 329.2 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1222, allocations: 51.83 kB / 329.2 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.1223, allocations: 75.53 kB / 329.3 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1225, allocations: 179.6 kB / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1225, allocations: 0 / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1225, allocations: 0 / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1226, allocations: 0 / 329.5 MB, free: 1.43 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.0009246/0.1235, allocations: 0.5028 MB / 330 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1235, allocations: 16.03 kB / 330 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1236, allocations: 20.66 kB / 330 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1239, allocations: 239.7 kB / 330.2 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.124, allocations: 12.66 kB / 330.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.124, allocations: 12.38 kB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1244, allocations: 203.2 kB / 330.5 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1244, allocations: 4 kB / 330.5 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1244, allocations: 8 kB / 330.5 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.1245, allocations: 7.938 kB / 330.5 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1248, allocations: 143.8 kB / 330.6 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1258, allocations: 0.774 MB / 331.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1262, allocations: 161 kB / 331.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1263, allocations: 77.81 kB / 331.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.1264, allocations: 12.06 kB / 331.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1266, allocations: 145 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1266, allocations: 0 / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005575/0.1272, allocations: 257.2 kB / 332 MB, free: 14.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1273, allocations: 81.11 kB / 332.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1275, allocations: 199 kB / 332.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1275, allocations: 37.7 kB / 332.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1276, allocations: 140.1 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.1276, allocations: 43.47 kB / 332.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.1277, allocations: 41.7 kB / 332.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1278, allocations: 330.8 kB / 332.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.128, allocations: 67.95 kB / 333 MB, free: 13.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1282, allocations: 126.8 kB / 333.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1285, allocations: 210.6 kB / 333.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1285, allocations: 0 / 333.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003811/0.1289, allocations: 245.1 kB / 333.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1289, allocations: 8.188 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.1289, allocations: 4.109 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1289, allocations: 3.938 kB / 333.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1291, allocations: 31.92 kB / 333.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1291, allocations: 7.984 kB / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1293, allocations: 27.92 kB / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1293, allocations: 15.94 kB / 333.6 MB, free: 12.95 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.0001432/0.1294, allocations: 149.6 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1295, allocations: 23.81 kB / 333.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.1299, allocations: 211.7 kB / 334 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1299, allocations: 0 / 334 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1299, allocations: 4 kB / 334 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1299, allocations: 0 / 334 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1302, allocations: 269.4 kB / 334.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1302, allocations: 0 / 334.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1303, allocations: 19.98 kB / 334.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1303, allocations: 8 kB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1303, allocations: 4 kB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1303, allocations: 80 / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1304, allocations: 7.984 kB / 334.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.1307, allocations: 229.5 kB / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1308, allocations: 100.9 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1308, allocations: 4 kB / 334.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1309, allocations: 11.98 kB / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.131, allocations: 19.97 kB / 334.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.131, allocations: 4 kB / 334.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1312, allocations: 144.6 kB / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1312, allocations: 0 / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1314, allocations: 39.84 kB / 334.9 MB, free: 11.62 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.0001381/0.1316, allocations: 111.2 kB / 335 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.132, allocations: 175.8 kB / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.132, allocations: 0 / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.1322, allocations: 83.89 kB / 335.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1325, allocations: 56.36 kB / 335.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.1332, allocations: 441.2 kB / 335.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1334, allocations: 0.7358 MB / 336.4 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1335, allocations: 33.52 kB / 336.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.1336, allocations: 23.38 kB / 336.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1336, allocations: 0 / 336.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Templates: time 0.00492/0.1385, allocations: 1.986 MB / 338.5 MB, free: 7.934 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)