Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001688/0.001688, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.292/1.292, 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.1753/0.1753, allocations: 37.99 MB / 309.9 MB, free: 5.961 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.001414/0.001414, allocations: 63.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09181, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008125/0.09998, allocations: 7.695 MB / 495.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00634/0.1064, allocations: 4.775 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.1069, allocations: 15.94 kB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.1098, allocations: 1.09 MB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.1128, allocations: 1.257 MB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.1138, allocations: 374.9 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.1156, allocations: 1.457 MB / 0.4926 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.1166, allocations: 0.6616 MB / 0.4933 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1178, allocations: 0.6497 MB / 0.4939 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.1189, allocations: 0.7086 MB / 0.4946 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1191, allocations: 68 kB / 0.4947 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.1215, allocations: 1.418 MB / 0.496 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.1221, allocations: 494.8 kB / 0.4965 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006289/0.1227, allocations: 461.9 kB / 0.497 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.1251, allocations: 1.535 MB / 0.4985 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1252, allocations: 3.938 kB / 0.4985 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1252, allocations: 0 / 0.4985 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.1252, allocations: 0 / 0.4985 GB, free: 1.629 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001975/0.1272, allocations: 1.159 MB / 0.4996 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1272, allocations: 15.89 kB / 0.4996 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.1306, allocations: 407.4 kB / 0.5 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.1315, allocations: 0.4992 MB / 0.5005 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.1315, allocations: 54.36 kB / 0.5005 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1317, allocations: 80.36 kB / 0.5006 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.1334, allocations: 1.234 MB / 0.5018 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.1335, allocations: 0 / 0.5018 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.1336, allocations: 31.98 kB / 0.5018 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.899e-05/0.1337, allocations: 73.95 kB / 0.5019 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.1355, allocations: 1.319 MB / 0.5032 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.1409, allocations: 3.673 MB / 0.5068 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.1427, allocations: 1.098 MB / 0.5079 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.1436, allocations: 0.6333 MB / 0.5085 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.1437, allocations: 16.98 kB / 0.5085 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1437, allocations: 39.56 kB / 0.5085 GB, free: 7.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.455e-06/0.1437, allocations: 0 / 0.5085 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.00662/0.1503, allocations: 3.157 MB / 0.5116 GB, free: 3.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1504, allocations: 90.11 kB / 0.5117 GB, free: 3.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.1508, allocations: 373.6 kB / 0.5121 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.1508, allocations: 37.7 kB / 0.5121 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1511, allocations: 332.1 kB / 0.5124 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.1513, allocations: 315.4 kB / 0.5127 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.1516, allocations: 162.5 kB / 0.5129 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1518, allocations: 370.8 kB / 0.5132 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.1525, allocations: 469.7 kB / 0.5137 GB, free: 1.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.1532, allocations: 0.5782 MB / 0.5142 GB, free: 1.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.1547, allocations: 1.11 MB / 0.5153 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1547, allocations: 4 kB / 0.5153 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002469/0.1572, allocations: 1.481 MB / 0.5168 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1572, allocations: 8 kB / 0.5168 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1573, allocations: 7.938 kB / 0.5168 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.1582, allocations: 340.6 kB / 0.5171 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.1589, allocations: 183.7 kB / 0.5173 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.1644, allocations: 4.18 MB / 0.5214 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.1649, allocations: 43.95 kB / 0.5214 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.165, allocations: 35.98 kB / 0.5214 GB, free: 9.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004039/0.1654, allocations: 297.5 kB / 0.5217 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.1656, allocations: 59.34 kB / 0.5218 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.1682, allocations: 1.551 MB / 0.5233 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.1683, allocations: 3.984 kB / 0.5233 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1683, allocations: 0 / 0.5233 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.1684, allocations: 144.3 kB / 0.5234 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.1685, allocations: 23.98 kB / 0.5235 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.1689, allocations: 43.95 kB / 0.5235 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.1691, allocations: 84.86 kB / 0.5236 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003085/0.1722, allocations: 1.708 MB / 0.5253 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002389/0.1746, allocations: 1.915 MB / 0.5271 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006986/0.1753, allocations: 0.5191 MB / 0.5276 GB, free: 3.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.1756, allocations: 263.1 kB / 0.5279 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Backend: time 8.61e-07/0.1756, allocations: 0 / 0.5279 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.1789, allocations: 1.618 MB / 0.5295 GB, free: 1.195 MB / 414.1 MB Notification: Performance of SimCode: time 0.1834/0.3623, allocations: 1.975 MB / 0.5314 GB, free: 50.96 MB / 414.1 MB Notification: Performance of Templates: time 0.02364/0.386, allocations: 16.67 MB / 0.5477 GB, free: 46.46 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)