Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.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.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, 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.001166/0.001166, 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.289/1.289, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1698/0.1698, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001404/0.001404, allocations: 75.89 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.09072, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.01021/0.101, allocations: 9.514 MB / 497.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007862/0.1089, allocations: 5.457 MB / 0.491 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1099, allocations: 35.88 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.113, allocations: 1.132 MB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.1167, allocations: 1.362 MB / 0.4935 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1182, allocations: 0.604 MB / 0.494 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.1205, allocations: 2.015 MB / 0.496 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.1218, allocations: 1.037 MB / 0.497 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1231, allocations: 0.8598 MB / 0.4979 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1242, allocations: 0.9146 MB / 0.4988 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.1244, allocations: 112 kB / 0.4989 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.1269, allocations: 1.551 MB / 0.5004 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.1274, allocations: 0.5806 MB / 0.5009 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007546/0.1282, allocations: 0.6685 MB / 0.5016 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1308, allocations: 2.053 MB / 0.5036 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1308, allocations: 0 / 0.5036 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1308, allocations: 3.938 kB / 0.5036 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1308, allocations: 0 / 0.5036 GB, free: 12.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002693/0.1335, allocations: 1.653 MB / 0.5052 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1336, allocations: 11.89 kB / 0.5052 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.1371, allocations: 482.7 kB / 0.5057 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1383, allocations: 0.6978 MB / 0.5064 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.1384, allocations: 82.53 kB / 0.5065 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.1386, allocations: 112.3 kB / 0.5066 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.1411, allocations: 1.604 MB / 0.5081 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.1411, allocations: 7.938 kB / 0.5081 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.1413, allocations: 43.98 kB / 0.5082 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.1414, allocations: 90.22 kB / 0.5083 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.144, allocations: 1.625 MB / 0.5098 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/0.1514, allocations: 4.917 MB / 0.5146 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.1535, allocations: 1.323 MB / 0.5159 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1546, allocations: 0.7937 MB / 0.5167 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-05/0.1547, allocations: 24.89 kB / 0.5167 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.156, allocations: 0.8333 MB / 0.5176 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.691e-06/0.1561, allocations: 3.984 kB / 0.5176 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01363/0.1697, allocations: 6.342 MB / 0.5238 GB, free: 7.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1698, allocations: 116.1 kB / 0.5239 GB, free: 7.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.1705, allocations: 0.5704 MB / 0.5244 GB, free: 6.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.1706, allocations: 57.64 kB / 0.5245 GB, free: 6.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.1709, allocations: 476.3 kB / 0.5249 GB, free: 5.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/0.1714, allocations: 465.2 kB / 0.5254 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.1717, allocations: 230.8 kB / 0.5256 GB, free: 5.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1719, allocations: 414.8 kB / 0.526 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.173, allocations: 0.615 MB / 0.5266 GB, free: 4.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.1742, allocations: 0.7793 MB / 0.5273 GB, free: 3.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.1767, allocations: 1.487 MB / 0.5288 GB, free: 1.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1767, allocations: 3.938 kB / 0.5288 GB, free: 1.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.2096/0.3863, allocations: 2.079 MB / 0.5308 GB, free: 50.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.3864, allocations: 33.7 kB / 0.5309 GB, free: 50.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3864, allocations: 3.188 kB / 0.5309 GB, free: 50.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.3878, allocations: 446.6 kB / 0.5313 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3891, allocations: 258.1 kB / 0.5315 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007648/0.3967, allocations: 6.759 MB / 0.5381 GB, free: 46.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.3976, allocations: 82.47 kB / 0.5382 GB, free: 46.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.3978, allocations: 48.91 kB / 0.5383 GB, free: 46.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001391/0.3992, allocations: 0.8806 MB / 0.5391 GB, free: 46.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/0.4003, allocations: 0.7588 MB / 0.5399 GB, free: 45.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002297/0.4026, allocations: 1.474 MB / 0.5413 GB, free: 45.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.4026, allocations: 1.875 kB / 0.5413 GB, free: 45.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003733/0.4064, allocations: 2 MB / 0.5433 GB, free: 44.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4064, allocations: 35.92 kB / 0.5433 GB, free: 44.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4064, allocations: 2.594 kB / 0.5433 GB, free: 44.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.4076, allocations: 442.3 kB / 0.5437 GB, free: 44.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4086, allocations: 261.7 kB / 0.544 GB, free: 44.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/0.4156, allocations: 6.57 MB / 0.5504 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.4165, allocations: 79.02 kB / 0.5505 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.4166, allocations: 52.34 kB / 0.5505 GB, free: 39.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2,frequencyPowerControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (2,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0003215/0.4169, allocations: 240.9 kB / 0.5507 GB, free: 39.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4171, allocations: 103.6 kB / 0.5508 GB, free: 39.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.4214, allocations: 2.162 MB / 0.553 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.4214, allocations: 8.406 kB / 0.553 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4214, allocations: 4 kB / 0.553 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.4219, allocations: 291.7 kB / 0.5532 GB, free: 38.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4221, allocations: 29.44 kB / 0.5533 GB, free: 38.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.4227, allocations: 75.41 kB / 0.5533 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.423, allocations: 136.6 kB / 0.5535 GB, free: 38.44 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004291/0.4273, allocations: 2.314 MB / 0.5557 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00326/0.4306, allocations: 2.511 MB / 0.5582 GB, free: 36.63 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009189/0.4315, allocations: 0.6948 MB / 0.5589 GB, free: 36.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.4319, allocations: 405.2 kB / 0.5592 GB, free: 36.2 MB / 414.1 MB Notification: Performance of Backend: time 7.41e-07/0.4319, allocations: 4 kB / 0.5593 GB, free: 36.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005302/0.4372, allocations: 3.443 MB / 0.5626 GB, free: 34.22 MB / 414.1 MB Notification: Performance of SimCode: time 0.002884/0.4401, allocations: 3.058 MB / 0.5656 GB, free: 31.64 MB / 414.1 MB Notification: Performance of Templates: time 0.03686/0.477, allocations: 31.81 MB / 0.5967 GB, free: 15.8 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1)