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.001543/0.001543, allocations: 113.4 kB / 17.06 MB, free: 6.012 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.001827/0.001827, allocations: 191 kB / 18 MB, free: 5.098 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.417/1.417, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1738/0.1738, allocations: 38.03 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.03 kB / 458.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4481, allocations: 58.07 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.00712/0.4553, allocations: 7.407 MB / 0.5113 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.4612, allocations: 4.399 MB / 0.5156 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.4618, allocations: 17.06 kB / 0.5157 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.4644, allocations: 1.037 MB / 0.5167 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.4679, allocations: 1.199 MB / 0.5178 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4692, allocations: 319.8 kB / 0.5181 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.4717, allocations: 1.405 MB / 0.5195 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.4728, allocations: 0.6567 MB / 0.5202 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.4743, allocations: 0.6169 MB / 0.5208 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.4759, allocations: 0.6757 MB / 0.5214 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.4761, allocations: 63.59 kB / 0.5215 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.4795, allocations: 1.332 MB / 0.5228 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.4802, allocations: 480.1 kB / 0.5232 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006063/0.4808, allocations: 442.7 kB / 0.5237 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.4839, allocations: 1.46 MB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4839, allocations: 0.5156 kB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4839, allocations: 5.344 kB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.4839, allocations: 0 / 0.5251 GB, free: 11.25 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.002044/0.486, allocations: 1.145 MB / 0.5262 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.4861, allocations: 15.47 kB / 0.5262 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.4893, allocations: 397.5 kB / 0.5266 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/0.4902, allocations: 485.5 kB / 0.5271 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.4902, allocations: 54.58 kB / 0.5271 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.4904, allocations: 75.33 kB / 0.5272 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4925, allocations: 1.183 MB / 0.5283 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.4926, allocations: 6.125 kB / 0.5283 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.4927, allocations: 30.73 kB / 0.5284 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.4928, allocations: 76.55 kB / 0.5285 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.4949, allocations: 1.242 MB / 0.5297 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.5006, allocations: 3.497 MB / 0.5331 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.5024, allocations: 1.058 MB / 0.5341 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/0.5033, allocations: 0.6596 MB / 0.5348 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.5e-05/0.5033, allocations: 23.16 kB / 0.5348 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5034, allocations: 43.88 kB / 0.5348 GB, free: 5.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.906e-06/0.5034, allocations: 0 / 0.5348 GB, free: 5.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006716/0.5101, allocations: 3.11 MB / 0.5379 GB, free: 4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.5102, allocations: 91.08 kB / 0.5379 GB, free: 3.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.5106, allocations: 365.8 kB / 0.5383 GB, free: 3.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.5107, allocations: 41.83 kB / 0.5383 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.5109, allocations: 319.3 kB / 0.5386 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.5112, allocations: 325 kB / 0.5389 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.5115, allocations: 160.4 kB / 0.5391 GB, free: 2.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5116, allocations: 370.7 kB / 0.5395 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/0.5123, allocations: 465.9 kB / 0.5399 GB, free: 2.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.5131, allocations: 0.5743 MB / 0.5405 GB, free: 2.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.5146, allocations: 1.108 MB / 0.5415 GB, free: 1.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5146, allocations: 1.406 kB / 0.5415 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002489/0.5171, allocations: 1.483 MB / 0.543 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5172, allocations: 12 kB / 0.543 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5172, allocations: 0 / 0.543 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009455/0.5181, allocations: 330.2 kB / 0.5433 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.5189, allocations: 179.7 kB / 0.5435 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00528/0.5242, allocations: 4.208 MB / 0.5476 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.5249, allocations: 43.95 kB / 0.5476 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.525, allocations: 35.98 kB / 0.5477 GB, free: 11.41 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.0005615/0.5255, allocations: 285.6 kB / 0.5479 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5257, allocations: 63.61 kB / 0.548 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5283, allocations: 1.567 MB / 0.5495 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5283, allocations: 12 kB / 0.5495 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5284, allocations: 4 kB / 0.5496 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5284, allocations: 3.984 kB / 0.5496 GB, free: 9.457 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.004866/0.5332, allocations: 3.031 MB / 0.5525 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.5333, allocations: 8 kB / 0.5525 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.5339, allocations: 171.7 kB / 0.5527 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/0.5347, allocations: 284.9 kB / 0.553 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.5348, allocations: 28 kB / 0.553 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/0.5398, allocations: 3.911 MB / 0.5568 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.5398, allocations: 7.938 kB / 0.5568 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.5423, allocations: 1.602 MB / 0.5584 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.5426, allocations: 152.6 kB / 0.5585 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.5427, allocations: 20 kB / 0.5585 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.5431, allocations: 43.91 kB / 0.5586 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5433, allocations: 84.81 kB / 0.5587 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.5433, allocations: 39.98 kB / 0.5587 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.5437, allocations: 259.1 kB / 0.5589 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5437, allocations: 0 / 0.5589 GB, free: 15.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001091/0.5448, allocations: 312 kB / 0.5592 GB, free: 15.17 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.0001772/0.545, allocations: 119.1 kB / 0.5594 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.5471, allocations: 1.405 MB / 0.5607 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5471, allocations: 0 / 0.5607 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.5484, allocations: 0.8482 MB / 0.5616 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.5491, allocations: 107.2 kB / 0.5617 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.552, allocations: 1.808 MB / 0.5634 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.5528, allocations: 1.064 MB / 0.5645 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.5532, allocations: 180.6 kB / 0.5646 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.5534, allocations: 63.41 kB / 0.5647 GB, free: 9.441 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5534, allocations: 0 / 0.5647 GB, free: 9.441 MB / 430.1 MB Notification: Performance of Templates: time 0.01746/0.5709, allocations: 10.36 MB / 0.5748 GB, free: 15.09 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)