Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.0014, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001198/0.001198, allocations: 200 kB / 18.01 MB, free: 5.055 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1818/0.1818, allocations: 38.02 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3457, allocations: 58.06 MB / 0.5041 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008807/0.3546, allocations: 7.421 MB / 0.5113 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005886/0.3605, allocations: 4.397 MB / 0.5156 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.3611, allocations: 16.84 kB / 0.5157 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.3639, allocations: 1.033 MB / 0.5167 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.3673, allocations: 1.206 MB / 0.5178 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3683, allocations: 324.5 kB / 0.5182 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.3703, allocations: 1.41 MB / 0.5195 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.3714, allocations: 0.6522 MB / 0.5202 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/0.3723, allocations: 0.6178 MB / 0.5208 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.3732, allocations: 0.6797 MB / 0.5214 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.3733, allocations: 63.69 kB / 0.5215 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3758, allocations: 1.331 MB / 0.5228 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.3764, allocations: 482 kB / 0.5233 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.3769, allocations: 442 kB / 0.5237 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.3792, allocations: 1.453 MB / 0.5251 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3792, allocations: 0 / 0.5251 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3792, allocations: 0 / 0.5251 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3792, allocations: 1.781 kB / 0.5251 GB, free: 11.29 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.001773/0.381, allocations: 1.123 MB / 0.5262 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3811, allocations: 12.11 kB / 0.5262 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.3843, allocations: 391.5 kB / 0.5266 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.385, allocations: 484.9 kB / 0.527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.3851, allocations: 55.94 kB / 0.5271 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3852, allocations: 78.55 kB / 0.5272 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.3873, allocations: 1.179 MB / 0.5283 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.3873, allocations: 1.5 kB / 0.5283 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.3874, allocations: 31.14 kB / 0.5284 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.3875, allocations: 77.84 kB / 0.5284 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.3895, allocations: 1.237 MB / 0.5296 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.3946, allocations: 3.499 MB / 0.533 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3963, allocations: 1.058 MB / 0.5341 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.3972, allocations: 0.6602 MB / 0.5347 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.3973, allocations: 22.94 kB / 0.5347 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3974, allocations: 43.16 kB / 0.5348 GB, free: 5.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.455e-06/0.3974, allocations: 0 / 0.5348 GB, free: 5.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.00664/0.404, allocations: 3.088 MB / 0.5378 GB, free: 4.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.4041, allocations: 87.83 kB / 0.5379 GB, free: 3.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.4046, allocations: 362 kB / 0.5382 GB, free: 3.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.4046, allocations: 45.86 kB / 0.5383 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4048, allocations: 314.5 kB / 0.5386 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.4052, allocations: 315.3 kB / 0.5389 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.4055, allocations: 164.6 kB / 0.539 GB, free: 3.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4056, allocations: 365.9 kB / 0.5394 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007387/0.4064, allocations: 465.7 kB / 0.5398 GB, free: 2.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.4072, allocations: 0.5748 MB / 0.5404 GB, free: 2.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.4089, allocations: 1.115 MB / 0.5415 GB, free: 1.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4089, allocations: 1.281 kB / 0.5415 GB, free: 1.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002527/0.4114, allocations: 1.477 MB / 0.5429 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4115, allocations: 8 kB / 0.5429 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4115, allocations: 4 kB / 0.5429 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/0.4124, allocations: 334.2 kB / 0.5433 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.4132, allocations: 179.7 kB / 0.5434 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/0.4191, allocations: 4.187 MB / 0.5475 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.4198, allocations: 43.95 kB / 0.5476 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.4199, allocations: 43.97 kB / 0.5476 GB, free: 11.5 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.0006096/0.4206, allocations: 285.6 kB / 0.5479 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.4207, allocations: 59.34 kB / 0.5479 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.4235, allocations: 1.571 MB / 0.5495 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4236, allocations: 8 kB / 0.5495 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4236, allocations: 4 kB / 0.5495 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4236, allocations: 11.97 kB / 0.5495 GB, free: 9.547 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.00495/0.4285, allocations: 3.031 MB / 0.5524 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.4286, allocations: 4 kB / 0.5524 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.4292, allocations: 167.8 kB / 0.5526 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000805/0.43, allocations: 285 kB / 0.5529 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.4301, allocations: 27.98 kB / 0.5529 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/0.435, allocations: 3.907 MB / 0.5567 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.435, allocations: 7.938 kB / 0.5567 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.4374, allocations: 1.598 MB / 0.5583 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4376, allocations: 140.3 kB / 0.5584 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4378, allocations: 20 kB / 0.5584 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.4382, allocations: 55.97 kB / 0.5585 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4384, allocations: 84.77 kB / 0.5586 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.4385, allocations: 32 kB / 0.5586 GB, free: 15.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002918/0.4388, allocations: 263.1 kB / 0.5589 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4388, allocations: 0 / 0.5589 GB, free: 15.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4399, allocations: 304 kB / 0.5591 GB, free: 15.29 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.0001806/0.4401, allocations: 131.1 kB / 0.5593 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.4422, allocations: 1.413 MB / 0.5607 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4422, allocations: 0 / 0.5607 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.4435, allocations: 0.8399 MB / 0.5615 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.4442, allocations: 110.2 kB / 0.5616 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.4469, allocations: 1.778 MB / 0.5633 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.4476, allocations: 1.068 MB / 0.5644 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.4481, allocations: 184.5 kB / 0.5645 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.4483, allocations: 67.41 kB / 0.5646 GB, free: 9.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4483, allocations: 0 / 0.5646 GB, free: 9.57 MB / 430.1 MB Notification: Performance of Templates: time 0.01735/0.4656, allocations: 10.35 MB / 0.5747 GB, free: 15.22 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)