Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107.2 kB / 17.12 MB, free: 6.004 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.001164/0.001165, allocations: 195.2 kB / 18.06 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04611/0.04611, allocations: 8.096 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09199, allocations: 51.51 MB / 466.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004797/0.09683, allocations: 3.857 MB / 470.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.09993, allocations: 1.96 MB / 472.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.1005, allocations: 16 kB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.1013, allocations: 222.6 kB / 472.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1027, allocations: 385.5 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.1053, allocations: 1.33 MB / 474.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1065, allocations: 0.797 MB / 475.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.107, allocations: 249.5 kB / 475.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.1075, allocations: 342.7 kB / 475.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.108, allocations: 422.3 kB / 476.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.233e-05/0.1081, allocations: 60 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.1087, allocations: 303.7 kB / 476.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1089, allocations: 159.4 kB / 476.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.1092, allocations: 382 kB / 477.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1103, allocations: 0.9378 MB / 478 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1103, allocations: 0 / 478 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1103, allocations: 4 kB / 478 MB, free: 6.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1103, allocations: 0 / 478 MB, free: 6.727 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00793/0.1183, allocations: 2.147 MB / 480.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1183, allocations: 11.89 kB / 480.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1185, allocations: 92.42 kB / 480.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.1192, allocations: 486.1 kB / 480.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.1192, allocations: 45.38 kB / 480.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1194, allocations: 56.38 kB / 480.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.1207, allocations: 0.8352 MB / 481.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1207, allocations: 192 / 481.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.1208, allocations: 31.94 kB / 481.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1208, allocations: 12 kB / 481.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.122, allocations: 0.7848 MB / 482.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.1265, allocations: 3.335 MB / 485.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.1282, allocations: 1.352 MB / 487.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/0.129, allocations: 0.5882 MB / 487.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1292, allocations: 24.95 kB / 487.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1292, allocations: 47.56 kB / 487.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.876e-06/0.1292, allocations: 4 kB / 487.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01493/0.1442, allocations: 3.966 MB / 491.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.1443, allocations: 111.8 kB / 492 MB, free: 8.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.1449, allocations: 441.7 kB / 492.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.1451, allocations: 45.7 kB / 492.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1453, allocations: 245.8 kB / 492.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.1456, allocations: 309.2 kB / 493 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.1459, allocations: 186.6 kB / 493.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1461, allocations: 370.8 kB / 493.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.1469, allocations: 0.533 MB / 494.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.1478, allocations: 0.6146 MB / 494.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.1496, allocations: 1.209 MB / 495.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1496, allocations: 32 / 495.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006421/0.1561, allocations: 2.386 MB / 498.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1561, allocations: 4 kB / 498.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1561, allocations: 0 / 498.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006817/0.163, allocations: 1.776 MB / 0.4883 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.1636, allocations: 147.8 kB / 0.4885 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.1777, allocations: 7.361 MB / 0.4957 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.1785, allocations: 99.28 kB / 0.4957 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.1786, allocations: 28 kB / 0.4958 GB, free: 8.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.179, allocations: 209.6 kB / 0.496 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1792, allocations: 67.58 kB / 0.496 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00651/0.1857, allocations: 2.327 MB / 0.4983 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.1857, allocations: 7.969 kB / 0.4983 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1857, allocations: 0 / 0.4983 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1859, allocations: 160.4 kB / 0.4985 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.186, allocations: 16 kB / 0.4985 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.1867, allocations: 59.89 kB / 0.4985 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.1869, allocations: 116.8 kB / 0.4987 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005252/0.1922, allocations: 1.904 MB / 0.5005 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002539/0.1947, allocations: 1.795 MB / 0.5023 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006812/0.1954, allocations: 483.8 kB / 0.5027 GB, free: 1.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1958, allocations: 291.1 kB / 0.503 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of Backend: time 4.8e-07/0.1958, allocations: 0 / 0.503 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1842/0.3801, allocations: 1.673 MB / 0.5046 GB, free: 45.98 MB / 382.1 MB Notification: Performance of SimCode: time 0.001872/0.382, allocations: 1.848 MB / 0.5064 GB, free: 44.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02734/0.4093, allocations: 20.92 MB / 0.5269 GB, free: 37.22 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)