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.00152/0.00152, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001581/0.001581, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1785/0.1785, allocations: 38.03 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 61.72 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 58.07 MB / 456.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008871/0.1392, allocations: 8.085 MB / 464.4 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.1468, allocations: 4.837 MB / 469.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.1478, allocations: 23.88 kB / 469.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.1507, allocations: 1.031 MB / 470.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.1543, allocations: 1.184 MB / 471.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1555, allocations: 339.1 kB / 471.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.1582, allocations: 1.469 MB / 473.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.1596, allocations: 0.7514 MB / 474 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.1612, allocations: 0.6303 MB / 474.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.1625, allocations: 0.7711 MB / 475.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1626, allocations: 64 kB / 475.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.1656, allocations: 1.438 MB / 476.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005972/0.1662, allocations: 0.491 MB / 477.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.167, allocations: 457.8 kB / 477.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.1701, allocations: 1.632 MB / 479.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1701, allocations: 0 / 479.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1701, allocations: 4 kB / 479.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1702, allocations: 4 kB / 479.5 MB, free: 1.145 MB / 350.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.001847/0.172, allocations: 1.167 MB / 480.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.1721, allocations: 11.89 kB / 480.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.1758, allocations: 407.4 kB / 481.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007915/0.1766, allocations: 499.2 kB / 481.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.1766, allocations: 58.36 kB / 481.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.1768, allocations: 76.36 kB / 481.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.1787, allocations: 1.227 MB / 482.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.1788, allocations: 0 / 482.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.1788, allocations: 31.98 kB / 483 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-05/0.179, allocations: 77.95 kB / 483.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.1808, allocations: 1.315 MB / 484.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.1862, allocations: 3.704 MB / 488.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.188, allocations: 1.087 MB / 489.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.1888, allocations: 0.6432 MB / 489.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.1889, allocations: 17.12 kB / 489.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1889, allocations: 43.56 kB / 489.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.066e-06/0.1889, allocations: 0 / 489.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006854/0.1958, allocations: 3.145 MB / 493 MB, free: 3.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1959, allocations: 86.11 kB / 493.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.1963, allocations: 385.5 kB / 493.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.1963, allocations: 41.7 kB / 493.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1966, allocations: 332 kB / 493.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.1969, allocations: 319.3 kB / 494.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.1971, allocations: 158.6 kB / 494.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1973, allocations: 370.8 kB / 494.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.1979, allocations: 469.7 kB / 495.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.1987, allocations: 0.5743 MB / 495.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.2002, allocations: 1.11 MB / 496.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2002, allocations: 4 kB / 496.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002682/0.2029, allocations: 1.493 MB / 498.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.2029, allocations: 4 kB / 498.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2029, allocations: 7.938 kB / 498.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.204, allocations: 340.8 kB / 498.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.2048, allocations: 183.7 kB / 498.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.2104, allocations: 4.172 MB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.211, allocations: 47.94 kB / 0.4913 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.2111, allocations: 35.98 kB / 0.4913 GB, free: 8.996 MB / 382.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.0004858/0.2116, allocations: 305.6 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2117, allocations: 59.33 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.2143, allocations: 1.555 MB / 0.4932 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2143, allocations: 12 kB / 0.4932 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2143, allocations: 4 kB / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2144, allocations: 3.984 kB / 0.4932 GB, free: 7.043 MB / 382.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.00481/0.2192, allocations: 3.013 MB / 0.4961 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.2192, allocations: 4 kB / 0.4961 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.2198, allocations: 159.8 kB / 0.4963 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007893/0.2206, allocations: 293.9 kB / 0.4966 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.2207, allocations: 27.98 kB / 0.4966 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2687/0.4894, allocations: 3.889 MB / 0.5004 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.4894, allocations: 7.969 kB / 0.5004 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.4923, allocations: 1.577 MB / 0.5019 GB, free: 54.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.4925, allocations: 146.6 kB / 0.5021 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.4926, allocations: 22.5 kB / 0.5021 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.4931, allocations: 41.78 kB / 0.5021 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4933, allocations: 80.77 kB / 0.5022 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.4933, allocations: 38.02 kB / 0.5022 GB, free: 54.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003259/0.4937, allocations: 264.8 kB / 0.5025 GB, free: 54.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4937, allocations: 0 / 0.5025 GB, free: 54.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001583/0.4953, allocations: 310.1 kB / 0.5028 GB, free: 54.49 MB / 382.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.0002289/0.4955, allocations: 131 kB / 0.5029 GB, free: 54.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003981/0.4995, allocations: 1.66 MB / 0.5045 GB, free: 54.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4995, allocations: 0 / 0.5045 GB, free: 54.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.5009, allocations: 0.8365 MB / 0.5054 GB, free: 53.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.5017, allocations: 106.6 kB / 0.5055 GB, free: 53.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.5049, allocations: 2.186 MB / 0.5076 GB, free: 52.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.5056, allocations: 1.084 MB / 0.5086 GB, free: 51.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.5061, allocations: 182.2 kB / 0.5088 GB, free: 51.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.5063, allocations: 65.47 kB / 0.5089 GB, free: 51.7 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5063, allocations: 3.188 kB / 0.5089 GB, free: 51.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01826/0.5245, allocations: 10.15 MB / 0.5188 GB, free: 49.36 MB / 382.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)