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 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,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.001108/0.001108, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001145/0.001145, allocations: 191 kB / 18 MB, free: 4.977 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1741/0.1741, allocations: 38.04 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 58.05 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006873/0.3417, allocations: 7.411 MB / 0.5113 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.3466, allocations: 4.389 MB / 0.5156 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.347, allocations: 17.09 kB / 0.5156 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.3494, allocations: 1.026 MB / 0.5166 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.3521, allocations: 1.219 MB / 0.5178 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.3529, allocations: 319.9 kB / 0.5181 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.3546, allocations: 1.406 MB / 0.5195 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009302/0.3556, allocations: 0.6547 MB / 0.5201 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008435/0.3564, allocations: 0.6192 MB / 0.5207 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.3572, allocations: 0.6816 MB / 0.5214 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.3573, allocations: 62.72 kB / 0.5215 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.3595, allocations: 1.327 MB / 0.5228 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.3601, allocations: 481.6 kB / 0.5232 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.3605, allocations: 445.5 kB / 0.5237 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.3625, allocations: 1.455 MB / 0.5251 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3625, allocations: 0 / 0.5251 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3625, allocations: 0 / 0.5251 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3626, allocations: 0 / 0.5251 GB, free: 11.27 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001681/0.3642, allocations: 1.128 MB / 0.5262 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3643, allocations: 13.95 kB / 0.5262 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.3675, allocations: 389.4 kB / 0.5266 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.3682, allocations: 488.9 kB / 0.527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.3682, allocations: 55.77 kB / 0.5271 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.3684, allocations: 72.02 kB / 0.5271 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.3702, allocations: 1.181 MB / 0.5283 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.3702, allocations: 9.641 kB / 0.5283 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.3703, allocations: 31.39 kB / 0.5283 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.566e-05/0.3704, allocations: 68.95 kB / 0.5284 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.3723, allocations: 1.243 MB / 0.5296 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004988/0.3773, allocations: 3.495 MB / 0.533 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.3789, allocations: 1.059 MB / 0.5341 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.3798, allocations: 0.6552 MB / 0.5347 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.3798, allocations: 27.72 kB / 0.5347 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3799, allocations: 39 kB / 0.5348 GB, free: 5.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.435e-06/0.3799, allocations: 0 / 0.5348 GB, free: 5.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006616/0.3865, allocations: 3.092 MB / 0.5378 GB, free: 4.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3866, allocations: 87.52 kB / 0.5379 GB, free: 3.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.387, allocations: 362.5 kB / 0.5382 GB, free: 3.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.3871, allocations: 45.17 kB / 0.5383 GB, free: 3.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3874, allocations: 315.5 kB / 0.5386 GB, free: 3.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.3877, allocations: 310.9 kB / 0.5389 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.388, allocations: 163.5 kB / 0.539 GB, free: 3.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3882, allocations: 366.9 kB / 0.5394 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.389, allocations: 474.2 kB / 0.5398 GB, free: 2.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/0.3898, allocations: 0.5697 MB / 0.5404 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3914, allocations: 1.109 MB / 0.5415 GB, free: 1.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3914, allocations: 1.188 kB / 0.5415 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002479/0.3939, allocations: 1.475 MB / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3939, allocations: 4.188 kB / 0.5429 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.3939, allocations: 8 kB / 0.5429 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/0.3949, allocations: 332.6 kB / 0.5432 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.3956, allocations: 179.8 kB / 0.5434 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.4009, allocations: 4.192 MB / 0.5475 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.4015, allocations: 52.02 kB / 0.5475 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.4016, allocations: 35.92 kB / 0.5476 GB, free: 11.55 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.000539/0.4022, allocations: 289.6 kB / 0.5479 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4023, allocations: 59.33 kB / 0.5479 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.405, allocations: 1.571 MB / 0.5494 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.405, allocations: 12 kB / 0.5495 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4051, allocations: 4 kB / 0.5495 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4051, allocations: 3.984 kB / 0.5495 GB, free: 9.594 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.004836/0.4099, allocations: 3.031 MB / 0.5524 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4099, allocations: 8 kB / 0.5524 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.4106, allocations: 163.8 kB / 0.5526 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/0.4114, allocations: 285 kB / 0.5529 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.4114, allocations: 27.94 kB / 0.5529 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/0.4161, allocations: 3.907 MB / 0.5567 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4162, allocations: 7.938 kB / 0.5567 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.4185, allocations: 1.59 MB / 0.5583 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.4187, allocations: 152.3 kB / 0.5584 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.4188, allocations: 20 kB / 0.5584 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.4192, allocations: 43.91 kB / 0.5585 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.4194, allocations: 84.88 kB / 0.5585 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.4195, allocations: 35.98 kB / 0.5586 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.4198, allocations: 263.1 kB / 0.5588 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 0 / 0.5588 GB, free: 15.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001066/0.4209, allocations: 308 kB / 0.5591 GB, free: 15.33 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.0001663/0.421, allocations: 135 kB / 0.5593 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.423, allocations: 1.405 MB / 0.5606 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4231, allocations: 0 / 0.5606 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4242, allocations: 0.8438 MB / 0.5614 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.4249, allocations: 108.5 kB / 0.5616 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.4274, allocations: 1.789 MB / 0.5633 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.4281, allocations: 1.064 MB / 0.5643 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.4285, allocations: 180.6 kB / 0.5645 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.4287, allocations: 59.41 kB / 0.5646 GB, free: 9.617 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4287, allocations: 4 kB / 0.5646 GB, free: 9.613 MB / 430.1 MB Notification: Performance of Templates: time 0.01562/0.4443, allocations: 10.34 MB / 0.5747 GB, free: 15.27 MB / 446.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)