Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001075/0.001075, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.148/1.148, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001485/0.001485, allocations: 129.2 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1667/0.1667, allocations: 37.94 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09, allocations: 52.19 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005847/0.09589, allocations: 7.618 MB / 461.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.1001, allocations: 4.593 MB / 466.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.1004, allocations: 15.94 kB / 466.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1022, allocations: 0.9918 MB / 467.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.1043, allocations: 1.207 MB / 468.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1051, allocations: 307.3 kB / 468.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.1069, allocations: 2.592 MB / 471.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.108, allocations: 0.8177 MB / 472.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.1087, allocations: 0.5289 MB / 472.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.1096, allocations: 0.8179 MB / 473.5 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.46e-05/0.1097, allocations: 64 kB / 473.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.1125, allocations: 1.801 MB / 475.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.113, allocations: 0.5846 MB / 475.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.1136, allocations: 0.5365 MB / 476.5 MB, free: 10 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1158, allocations: 1.951 MB / 478.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1158, allocations: 0 / 478.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1158, allocations: 0 / 478.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1158, allocations: 0 / 478.4 MB, free: 8.047 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001839/0.1177, allocations: 1.334 MB / 479.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1177, allocations: 12.03 kB / 479.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/0.1213, allocations: 0.538 MB / 480.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.1222, allocations: 0.5559 MB / 480.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.1223, allocations: 70.36 kB / 480.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.1224, allocations: 84.36 kB / 481 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.1245, allocations: 1.504 MB / 482.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1245, allocations: 0 / 482.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.1246, allocations: 39.97 kB / 482.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.1248, allocations: 106 kB / 482.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.127, allocations: 1.542 MB / 484.2 MB, free: 2.125 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/0.1344, allocations: 4.911 MB / 489.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1361, allocations: 1.188 MB / 490.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/0.137, allocations: 0.7607 MB / 491 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.1371, allocations: 21.05 kB / 491.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1371, allocations: 47.56 kB / 491.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 4.889e-06/0.1372, allocations: 0 / 491.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=108): time 0.007197/0.1444, allocations: 3.689 MB / 494.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1444, allocations: 90.11 kB / 494.9 MB, free: 7.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.1449, allocations: 473.8 kB / 495.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.145, allocations: 45.7 kB / 495.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1452, allocations: 423.4 kB / 495.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.1455, allocations: 374.6 kB / 496.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.1458, allocations: 194.9 kB / 496.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1459, allocations: 382.8 kB / 496.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.1467, allocations: 0.5413 MB / 497.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/0.1476, allocations: 0.7545 MB / 498 MB, free: 3.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.1493, allocations: 1.404 MB / 499.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1493, allocations: 0 / 499.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002833/0.1521, allocations: 1.802 MB / 0.4895 GB, free: 0.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1522, allocations: 12.06 kB / 0.4895 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1522, allocations: 11.94 kB / 0.4895 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.1532, allocations: 413.4 kB / 0.4899 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.1541, allocations: 239.6 kB / 0.4901 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.1602, allocations: 5.594 MB / 0.4956 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.1609, allocations: 59.94 kB / 0.4957 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.161, allocations: 47.98 kB / 0.4957 GB, free: 9.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004967/0.1615, allocations: 365.4 kB / 0.4961 GB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1616, allocations: 71.16 kB / 0.4961 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.1645, allocations: 1.818 MB / 0.4979 GB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1645, allocations: 12 kB / 0.4979 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1645, allocations: 4 kB / 0.4979 GB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.1646, allocations: 7.969 kB / 0.4979 GB, free: 7.594 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.1699, allocations: 3.477 MB / 0.5013 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.1699, allocations: 4 kB / 0.5013 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.1706, allocations: 192.2 kB / 0.5015 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009833/0.1716, allocations: 351.8 kB / 0.5018 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.1717, allocations: 31.98 kB / 0.5019 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.173/0.3446, allocations: 5.324 MB / 0.5071 GB, free: 63.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3447, allocations: 4.219 kB / 0.5071 GB, free: 63.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/0.3488, allocations: 3.268 MB / 0.5103 GB, free: 61.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.349, allocations: 156.2 kB / 0.5104 GB, free: 61.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.3491, allocations: 27.52 kB / 0.5104 GB, free: 61.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.3496, allocations: 56.05 kB / 0.5105 GB, free: 61.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.3499, allocations: 86.2 kB / 0.5106 GB, free: 61.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.3499, allocations: 38.56 kB / 0.5106 GB, free: 61.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004365/0.3504, allocations: 327.1 kB / 0.5109 GB, free: 61.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3504, allocations: 0 / 0.5109 GB, free: 61.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00133/0.3517, allocations: 401.6 kB / 0.5113 GB, free: 61.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.3519, allocations: 127.6 kB / 0.5114 GB, free: 61.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.3543, allocations: 1.737 MB / 0.5131 GB, free: 60.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3543, allocations: 1.438 kB / 0.5131 GB, free: 60.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.3557, allocations: 1.076 MB / 0.5142 GB, free: 60.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.3564, allocations: 124.1 kB / 0.5143 GB, free: 60.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3597, allocations: 3.274 MB / 0.5175 GB, free: 58.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.3608, allocations: 1.222 MB / 0.5187 GB, free: 57.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007477/0.3615, allocations: 238.3 kB / 0.5189 GB, free: 57.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.3618, allocations: 65.55 kB / 0.519 GB, free: 57.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3618, allocations: 0 / 0.519 GB, free: 57.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01874/0.3806, allocations: 12.48 MB / 0.5312 GB, free: 51.34 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)