Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006803/0.0006803, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.00158, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006914/0.0006914, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009029/0.001594, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8894/0.8894, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08107/0.9705, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1118/0.1118, allocations: 29.42 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/0.2196, allocations: 9.523 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.698e-05, allocations: 7.156 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007918/0.007935, allocations: 6.529 MB / 291 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.01228, allocations: 2.382 MB / 293.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.01274, allocations: 36.19 kB / 293.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.01344, allocations: 325.4 kB / 293.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007791/0.01422, allocations: 0.5608 MB / 294.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.01507, allocations: 475.3 kB / 294.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01619, allocations: 1.4 MB / 296.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.01669, allocations: 0.5235 MB / 296.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.01755, allocations: 0.9504 MB / 297.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.01811, allocations: 0.6115 MB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/0.01819, allocations: 76 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.01859, allocations: 283.5 kB / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.01891, allocations: 498.9 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.01917, allocations: 315.4 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.01988, allocations: 0.9187 MB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.01989, allocations: 3.938 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01989, allocations: 4 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.0199, allocations: 0 / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001317/0.02122, allocations: 1.44 MB / 301.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.482e-05/0.02124, allocations: 8.031 kB / 301.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.02197, allocations: 341.7 kB / 302.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.02254, allocations: 0.571 MB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.02258, allocations: 66.34 kB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.02275, allocations: 120.8 kB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.02344, allocations: 0.8026 MB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.02346, allocations: 4 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.02351, allocations: 32 kB / 303.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.02364, allocations: 65.95 kB / 303.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.02406, allocations: 390 kB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.02671, allocations: 3.569 MB / 307.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.02711, allocations: 405.6 kB / 308.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.02729, allocations: 196 kB / 308.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.02733, allocations: 20.59 kB / 308.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.02764, allocations: 391.9 kB / 308.7 MB, free: 6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.813e-06/0.02765, allocations: 0 / 308.7 MB, free: 6 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001718/0.02936, allocations: 1.389 MB / 310 MB, free: 4.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.02945, allocations: 281.6 kB / 310.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.02972, allocations: 0.4998 MB / 310.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.02976, allocations: 37.7 kB / 310.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.02991, allocations: 413.4 kB / 311.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.03005, allocations: 269.7 kB / 311.5 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.03019, allocations: 166.5 kB / 311.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.03029, allocations: 398.5 kB / 312.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.03044, allocations: 146.5 kB / 312.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.03069, allocations: 400 kB / 312.6 MB, free: 1.754 MB / 298.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.03133, allocations: 0.8457 MB / 313.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.03133, allocations: 4 kB / 313.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0009552/0.03229, allocations: 0.7893 MB / 314.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.03232, allocations: 37.8 kB / 314.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.03233, allocations: 8 kB / 314.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.03333, allocations: 451.5 kB / 314.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.0336, allocations: 159.7 kB / 314.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.03661, allocations: 3.88 MB / 318.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.03683, allocations: 24 kB / 318.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.03688, allocations: 35.98 kB / 318.8 MB, free: 11.18 MB / 314.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.lineR.i[1] = (-lineR.i[2]) * lineR.omega[1] $DER.lineR.i[2] = lineR.i[1] * lineR.omega[1] $DER.lineL.i[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.0371, allocations: 231.1 kB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.03718, allocations: 67.94 kB / 319.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007546/0.03793, allocations: 0.6041 MB / 319.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.03794, allocations: 15.94 kB / 319.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.03795, allocations: 7.828 kB / 319.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.03796, allocations: 3.984 kB / 319.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.03929, allocations: 1.431 MB / 321.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.03929, allocations: 4 kB / 321.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.03977, allocations: 174.8 kB / 321.4 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.03983, allocations: 67.48 kB / 321.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.04016, allocations: 178.8 kB / 321.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.0402, allocations: 27.98 kB / 321.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.04243, allocations: 4.581 MB / 326.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04243, allocations: 0 / 326.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.04328, allocations: 0.944 MB / 327.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.04335, allocations: 27.98 kB / 327.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.04352, allocations: 12 kB / 327.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.04361, allocations: 64.47 kB / 327.2 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.04364, allocations: 16 kB / 327.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.04378, allocations: 232.6 kB / 327.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04378, allocations: 0 / 327.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.04436, allocations: 307.9 kB / 327.8 MB, free: 1.691 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.0445, allocations: 110.7 kB / 327.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000889/0.04539, allocations: 0.967 MB / 328.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.353e-05/0.04542, allocations: 24.62 kB / 328.9 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.04602, allocations: 0.7575 MB / 329.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.0469, allocations: 1.428 MB / 331.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.05882, allocations: 1.805 MB / 332.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.05902, allocations: 276.2 kB / 333.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.05923, allocations: 90.69 kB / 333.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.05951, allocations: 197.3 kB / 333.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.05951, allocations: 4 kB / 333.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Templates: time 0.01512/0.07464, allocations: 14.22 MB / 347.7 MB, free: 13.59 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7575936503708363]