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/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 112.9 kB / 17.06 MB, free: 5.945 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.001046/0.001046, allocations: 200 kB / 18.01 MB, free: 5.031 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1833/0.1833, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.14 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4312, allocations: 58.06 MB / 0.5041 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.00757/0.4388, allocations: 7.43 MB / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.4447, allocations: 4.444 MB / 0.5157 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.4452, allocations: 17.31 kB / 0.5157 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.4479, allocations: 1.038 MB / 0.5167 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.4512, allocations: 1.272 MB / 0.518 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4522, allocations: 336.4 kB / 0.5183 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.4543, allocations: 1.409 MB / 0.5197 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.4556, allocations: 0.7992 MB / 0.5205 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.4567, allocations: 0.6428 MB / 0.5211 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.4577, allocations: 0.7322 MB / 0.5218 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4579, allocations: 86.55 kB / 0.5219 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.4612, allocations: 1.519 MB / 0.5234 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.462, allocations: 0.5971 MB / 0.5239 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.4627, allocations: 0.559 MB / 0.5245 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.467, allocations: 1.898 MB / 0.5263 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.467, allocations: 0 / 0.5263 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.467, allocations: 0 / 0.5263 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.4671, allocations: 0 / 0.5263 GB, free: 10.85 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003989/0.4711, allocations: 1.364 MB / 0.5277 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.616e-05/0.4712, allocations: 13.98 kB / 0.5277 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.4767, allocations: 0.5426 MB / 0.5282 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.478, allocations: 0.5628 MB / 0.5288 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.4781, allocations: 70.61 kB / 0.5288 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.4784, allocations: 93.08 kB / 0.5289 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.4818, allocations: 1.504 MB / 0.5304 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.4819, allocations: 10.2 kB / 0.5304 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.482, allocations: 35.7 kB / 0.5304 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.4822, allocations: 102.3 kB / 0.5305 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.485, allocations: 1.546 MB / 0.532 GB, free: 7.664 MB / 398.1 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.008902/0.4939, allocations: 4.888 MB / 0.5368 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.496, allocations: 1.189 MB / 0.538 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.4971, allocations: 0.7659 MB / 0.5387 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.4971, allocations: 20.05 kB / 0.5387 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.4972, allocations: 49.28 kB / 0.5388 GB, free: 3.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.635e-06/0.4972, allocations: 0 / 0.5388 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.008659/0.5059, allocations: 3.697 MB / 0.5424 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.506, allocations: 86.11 kB / 0.5425 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.5067, allocations: 473.8 kB / 0.5429 GB, free: 400 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.5067, allocations: 49.73 kB / 0.543 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.5071, allocations: 436.8 kB / 0.5434 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/0.5075, allocations: 400.5 kB / 0.5438 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.5078, allocations: 198.9 kB / 0.544 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.508, allocations: 378.8 kB / 0.5443 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.5089, allocations: 0.5374 MB / 0.5449 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.5098, allocations: 0.754 MB / 0.5456 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.5117, allocations: 1.396 MB / 0.547 GB, free: 12.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.5117, allocations: 7.938 kB / 0.547 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003082/0.5148, allocations: 1.81 MB / 0.5487 GB, free: 10.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5149, allocations: 8 kB / 0.5487 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5149, allocations: 8 kB / 0.5487 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.516, allocations: 405.9 kB / 0.5491 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.5169, allocations: 239.6 kB / 0.5494 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.5239, allocations: 6.074 MB / 0.5553 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.5249, allocations: 63.92 kB / 0.5554 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.525, allocations: 40 kB / 0.5554 GB, free: 3.125 MB / 414.1 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.0007105/0.5257, allocations: 365.4 kB / 0.5557 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5259, allocations: 75.53 kB / 0.5558 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.5292, allocations: 1.811 MB / 0.5576 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.5292, allocations: 15.94 kB / 0.5576 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.5292, allocations: 11.94 kB / 0.5576 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.5292, allocations: 11.97 kB / 0.5576 GB, free: 0.8203 MB / 414.1 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.006095/0.5353, allocations: 3.457 MB / 0.561 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5354, allocations: 7.984 kB / 0.561 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/0.5361, allocations: 191.7 kB / 0.5612 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009596/0.5371, allocations: 342 kB / 0.5615 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5372, allocations: 39.92 kB / 0.5616 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.5448, allocations: 5.795 MB / 0.5672 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.5448, allocations: 7.938 kB / 0.5672 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.5483, allocations: 1.829 MB / 0.569 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.5487, allocations: 164.5 kB / 0.5692 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.5489, allocations: 27.98 kB / 0.5692 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.5496, allocations: 51.95 kB / 0.5692 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.5498, allocations: 96.75 kB / 0.5693 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.5499, allocations: 36 kB / 0.5694 GB, free: 4.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004277/0.5504, allocations: 327 kB / 0.5697 GB, free: 3.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5504, allocations: 0 / 0.5697 GB, free: 3.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001591/0.552, allocations: 396 kB / 0.5701 GB, free: 3.566 MB / 430.1 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.000233/0.5522, allocations: 139 kB / 0.5702 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.5551, allocations: 1.755 MB / 0.5719 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5552, allocations: 0 / 0.5719 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.5567, allocations: 1.081 MB / 0.573 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.5577, allocations: 118.9 kB / 0.5731 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.5616, allocations: 2.239 MB / 0.5753 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.5627, allocations: 1.174 MB / 0.5764 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006422/0.5634, allocations: 245.3 kB / 0.5766 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.5636, allocations: 63.42 kB / 0.5767 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5637, allocations: 0 / 0.5767 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Templates: time 0.02253/0.5862, allocations: 12.75 MB / 0.5891 GB, free: 15.86 MB / 462.1 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)