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 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.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.001806/0.001805, allocations: 107.6 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.001972/0.001972, allocations: 192 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.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3649, allocations: 58.05 MB / 0.5041 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007708/0.3726, allocations: 7.687 MB / 0.5116 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006261/0.3789, allocations: 4.729 MB / 0.5162 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3795, allocations: 17.44 kB / 0.5162 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.3824, allocations: 1.08 MB / 0.5173 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.3858, allocations: 1.282 MB / 0.5185 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3871, allocations: 364.3 kB / 0.5189 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.3899, allocations: 1.47 MB / 0.5203 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.391, allocations: 0.6577 MB / 0.521 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.3922, allocations: 0.6432 MB / 0.5216 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.3933, allocations: 0.7117 MB / 0.5223 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3935, allocations: 66.38 kB / 0.5223 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.3965, allocations: 1.427 MB / 0.5237 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006472/0.3971, allocations: 0.4921 MB / 0.5242 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.3978, allocations: 460.1 kB / 0.5247 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.4008, allocations: 1.534 MB / 0.5262 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4008, allocations: 0 / 0.5262 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4008, allocations: 0.8438 kB / 0.5262 GB, free: 10.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4008, allocations: 0 / 0.5262 GB, free: 10.58 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001976/0.4028, allocations: 1.163 MB / 0.5273 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4028, allocations: 12.92 kB / 0.5273 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.4064, allocations: 418.4 kB / 0.5277 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.4072, allocations: 0.4891 MB / 0.5282 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.4073, allocations: 60.02 kB / 0.5282 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.4075, allocations: 77.55 kB / 0.5283 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.4098, allocations: 1.226 MB / 0.5295 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.4098, allocations: 6.5 kB / 0.5295 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.4099, allocations: 31.58 kB / 0.5295 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.41, allocations: 77.73 kB / 0.5296 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.4122, allocations: 1.316 MB / 0.5309 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.4181, allocations: 3.678 MB / 0.5345 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.42, allocations: 1.089 MB / 0.5356 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008593/0.4209, allocations: 0.6378 MB / 0.5362 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.321e-05/0.421, allocations: 23.22 kB / 0.5362 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.421, allocations: 44.5 kB / 0.5363 GB, free: 4.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.421, allocations: 0 / 0.5363 GB, free: 4.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006893/0.4279, allocations: 3.146 MB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.428, allocations: 88.2 kB / 0.5394 GB, free: 2.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.4285, allocations: 385.2 kB / 0.5398 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.4285, allocations: 41.39 kB / 0.5398 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4287, allocations: 328 kB / 0.5401 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.429, allocations: 320.2 kB / 0.5404 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.4293, allocations: 157.9 kB / 0.5406 GB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4294, allocations: 367 kB / 0.5409 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.4301, allocations: 468.2 kB / 0.5414 GB, free: 1.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.4309, allocations: 0.5752 MB / 0.5419 GB, free: 1.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.4326, allocations: 1.113 MB / 0.543 GB, free: 340 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4326, allocations: 4 kB / 0.543 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002558/0.4352, allocations: 1.489 MB / 0.5445 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4352, allocations: 8 kB / 0.5445 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4352, allocations: 7.938 kB / 0.5445 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/0.4362, allocations: 332.7 kB / 0.5448 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.4369, allocations: 187.7 kB / 0.545 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.4425, allocations: 4.168 MB / 0.5491 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.4431, allocations: 47.94 kB / 0.5491 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.4432, allocations: 39.98 kB / 0.5492 GB, free: 9.879 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.000484/0.4437, allocations: 293.5 kB / 0.5494 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4438, allocations: 67.27 kB / 0.5495 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.4467, allocations: 1.551 MB / 0.551 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4467, allocations: 12 kB / 0.551 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4468, allocations: 8 kB / 0.551 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4468, allocations: 7.922 kB / 0.551 GB, free: 7.922 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.005387/0.4522, allocations: 3.008 MB / 0.554 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4522, allocations: 0 / 0.554 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.4528, allocations: 163.8 kB / 0.5541 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007887/0.4536, allocations: 285 kB / 0.5544 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.4537, allocations: 27.98 kB / 0.5544 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.4589, allocations: 3.9 MB / 0.5582 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.4589, allocations: 11.94 kB / 0.5582 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.4614, allocations: 1.575 MB / 0.5598 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.4617, allocations: 152.3 kB / 0.5599 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4618, allocations: 24 kB / 0.56 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.4623, allocations: 39.95 kB / 0.56 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.4624, allocations: 80.77 kB / 0.5601 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.4625, allocations: 36 kB / 0.5601 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.4628, allocations: 267.1 kB / 0.5604 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4628, allocations: 0 / 0.5604 GB, free: 14.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001108/0.464, allocations: 312 kB / 0.5607 GB, free: 13.71 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.0001959/0.4642, allocations: 131 kB / 0.5608 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.4664, allocations: 1.398 MB / 0.5621 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4665, allocations: 3.938 kB / 0.5622 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.4677, allocations: 0.8399 MB / 0.563 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.4684, allocations: 103.9 kB / 0.5631 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.4713, allocations: 1.805 MB / 0.5648 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/0.4721, allocations: 1.083 MB / 0.5659 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000489/0.4726, allocations: 188.7 kB / 0.5661 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4728, allocations: 63.41 kB / 0.5661 GB, free: 7.965 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4728, allocations: 0 / 0.5661 GB, free: 7.965 MB / 430.1 MB Notification: Performance of Templates: time 0.01727/0.4901, allocations: 10.35 MB / 0.5762 GB, free: 13.62 MB / 446.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)