Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001694/0.001694, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.283/1.283, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1736/0.1736, allocations: 37.97 MB / 309.9 MB, free: 5.973 MB / 254.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.001407/0.001408, allocations: 67.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08782, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007586/0.09545, allocations: 7.442 MB / 495.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.101, allocations: 4.425 MB / 499.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.1012, allocations: 15.94 kB / 499.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.1037, allocations: 1.039 MB / 0.489 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.106, allocations: 1.199 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.1067, allocations: 319.1 kB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1081, allocations: 1.402 MB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.1089, allocations: 0.6495 MB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.1096, allocations: 0.6186 MB / 0.4931 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.1104, allocations: 0.6853 MB / 0.4937 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.1105, allocations: 60 kB / 0.4938 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1124, allocations: 1.333 MB / 0.4951 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.1129, allocations: 474.9 kB / 0.4955 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.1133, allocations: 441.9 kB / 0.496 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.1149, allocations: 1.461 MB / 0.4974 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.115, allocations: 0 / 0.4974 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.115, allocations: 0 / 0.4974 GB, free: 2.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.115, allocations: 4 kB / 0.4974 GB, free: 2.738 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001543/0.1165, allocations: 1.12 MB / 0.4985 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1166, allocations: 15.89 kB / 0.4985 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.1197, allocations: 391.3 kB / 0.4989 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.1205, allocations: 486.6 kB / 0.4993 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.1206, allocations: 54.36 kB / 0.4994 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.1207, allocations: 76.34 kB / 0.4995 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.1224, allocations: 1.172 MB / 0.5006 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.1224, allocations: 8 kB / 0.5006 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.1225, allocations: 27.98 kB / 0.5006 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/0.1226, allocations: 73.95 kB / 0.5007 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.1244, allocations: 1.241 MB / 0.5019 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/0.1298, allocations: 3.488 MB / 0.5053 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1316, allocations: 1.061 MB / 0.5064 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.1326, allocations: 0.6604 MB / 0.507 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.1327, allocations: 16.97 kB / 0.507 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1327, allocations: 47.78 kB / 0.5071 GB, free: 8.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.1327, allocations: 4 kB / 0.5071 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006271/0.139, allocations: 3.087 MB / 0.5101 GB, free: 5.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1391, allocations: 90.11 kB / 0.5102 GB, free: 5.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1394, allocations: 365.5 kB / 0.5105 GB, free: 4.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.1395, allocations: 41.7 kB / 0.5106 GB, free: 4.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.1398, allocations: 312.1 kB / 0.5109 GB, free: 4.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.1402, allocations: 315.4 kB / 0.5112 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.1404, allocations: 162.6 kB / 0.5113 GB, free: 4.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1406, allocations: 370.8 kB / 0.5117 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.1413, allocations: 465.7 kB / 0.5121 GB, free: 3.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.142, allocations: 0.5657 MB / 0.5127 GB, free: 2.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.1436, allocations: 1.113 MB / 0.5137 GB, free: 1.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1436, allocations: 0 / 0.5137 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002518/0.1461, allocations: 1.477 MB / 0.5152 GB, free: 104 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.1461, allocations: 11.91 kB / 0.5152 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1461, allocations: 0 / 0.5152 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009405/0.1471, allocations: 336.8 kB / 0.5155 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.1478, allocations: 183.7 kB / 0.5157 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.1533, allocations: 4.195 MB / 0.5198 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.1538, allocations: 43.95 kB / 0.5198 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.1539, allocations: 35.98 kB / 0.5199 GB, free: 11.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003921/0.1543, allocations: 297.7 kB / 0.5202 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1544, allocations: 55.34 kB / 0.5202 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.1574, allocations: 1.563 MB / 0.5217 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1574, allocations: 3.984 kB / 0.5217 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.1574, allocations: 8 kB / 0.5217 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1576, allocations: 140.3 kB / 0.5219 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.1577, allocations: 20 kB / 0.5219 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.1581, allocations: 47.94 kB / 0.5219 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.1583, allocations: 84.8 kB / 0.522 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003318/0.1616, allocations: 1.727 MB / 0.5237 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002514/0.1641, allocations: 1.943 MB / 0.5256 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007721/0.1649, allocations: 0.5308 MB / 0.5261 GB, free: 4.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.1652, allocations: 259.1 kB / 0.5264 GB, free: 4.398 MB / 414.1 MB Notification: Performance of Backend: time 6.12e-07/0.1652, allocations: 0 / 0.5264 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003129/0.1683, allocations: 1.564 MB / 0.5279 GB, free: 2.82 MB / 414.1 MB Notification: Performance of SimCode: time 0.002359/0.1707, allocations: 1.954 MB / 0.5298 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of Templates: time 0.1975/0.3682, allocations: 16.28 MB / 0.5457 GB, free: 47.52 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)