Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.0009908/0.0009908, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002219, allocations: 449.7 kB / 10.37 MB, free: 328 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.001001/0.001001, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002236, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8969/0.8969, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0701/0.967, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.127/0.127, allocations: 29.42 MB / 273.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/0.2357, allocations: 9.519 MB / 282.9 MB, free: 12.86 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.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.221e-05, allocations: 3.953 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008622/0.008644, allocations: 6.495 MB / 290.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.01334, allocations: 2.386 MB / 293.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.01382, allocations: 36.53 kB / 293.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.0148, allocations: 329 kB / 293.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.01598, allocations: 0.5574 MB / 294 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.01722, allocations: 470.9 kB / 294.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.01894, allocations: 1.402 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.01971, allocations: 0.5235 MB / 296.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.02117, allocations: 0.9411 MB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.02218, allocations: 0.596 MB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.02233, allocations: 76 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.02299, allocations: 287.5 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.02347, allocations: 0.4988 MB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.02395, allocations: 319.4 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.02515, allocations: 0.9226 MB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.02516, allocations: 0 / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02516, allocations: 0 / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.02519, allocations: 0 / 300 MB, free: 14.94 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.002357/0.02755, allocations: 1.448 MB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.02759, allocations: 8.031 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.02865, allocations: 317.8 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.02933, allocations: 0.571 MB / 302.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.02937, allocations: 66.38 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.0295, allocations: 104.9 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.03023, allocations: 0.8026 MB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.03026, allocations: 3.938 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.03032, allocations: 39.98 kB / 303.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.03049, allocations: 69.94 kB / 303.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.03094, allocations: 378 kB / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.03384, allocations: 3.599 MB / 307.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.03428, allocations: 407 kB / 307.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.03445, allocations: 190.6 kB / 308 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.03448, allocations: 16.64 kB / 308 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.03503, allocations: 358.3 kB / 308.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 2.434e-06/0.03503, allocations: 4 kB / 308.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.001686/0.03672, allocations: 1.361 MB / 309.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.03677, allocations: 166.9 kB / 309.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.03704, allocations: 0.4998 MB / 310.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.03708, allocations: 45.7 kB / 310.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.03724, allocations: 413.3 kB / 310.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.03737, allocations: 269.7 kB / 311.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.03751, allocations: 162.5 kB / 311.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.03761, allocations: 394.6 kB / 311.6 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.03775, allocations: 134.5 kB / 311.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.03799, allocations: 411.6 kB / 312.2 MB, free: 2.121 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.0391, allocations: 1.17 MB / 313.3 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.03911, allocations: 7.938 kB / 313.3 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007279/0.03983, allocations: 0.6863 MB / 314 MB, free: 100 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.03988, allocations: 37.7 kB / 314.1 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.03989, allocations: 8 kB / 314.1 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.04023, allocations: 171.7 kB / 314.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.0408, allocations: 235.7 kB / 314.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.04331, allocations: 4.584 MB / 319 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.04355, allocations: 32.06 kB / 319.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.04359, allocations: 35.98 kB / 319.1 MB, free: 10.7 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: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0002111/0.0438, allocations: 206.1 kB / 319.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.04388, allocations: 71.88 kB / 319.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.04455, allocations: 0.6119 MB / 320 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.04456, allocations: 11.98 kB / 320 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.04457, allocations: 4 kB / 320 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.04458, allocations: 3.984 kB / 320 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.0458, allocations: 1.239 MB / 321.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.0458, allocations: 4 kB / 321.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.04627, allocations: 162.8 kB / 321.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.04632, allocations: 63.52 kB / 321.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/0.04665, allocations: 182.9 kB / 321.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.04669, allocations: 27.97 kB / 321.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.04905, allocations: 4.573 MB / 326.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.04905, allocations: 4 kB / 326.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.04989, allocations: 0.9119 MB / 327.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.04996, allocations: 31.92 kB / 327.2 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.05013, allocations: 12 kB / 327.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.05022, allocations: 64.42 kB / 327.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.05024, allocations: 15.98 kB / 327.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.05039, allocations: 232.6 kB / 327.5 MB, free: 1.789 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05039, allocations: 0 / 327.5 MB, free: 1.789 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.05099, allocations: 276 kB / 327.8 MB, free: 1.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 48 * 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.0001393/0.05113, allocations: 108.3 kB / 327.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008243/0.05195, allocations: 0.9807 MB / 328.9 MB, free: 372 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/0.05197, allocations: 16.62 kB / 328.9 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.05274, allocations: 0.7173 MB / 329.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.05325, allocations: 270.2 kB / 329.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.06517, allocations: 1.796 MB / 331.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.06536, allocations: 268 kB / 331.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.06558, allocations: 98.42 kB / 332 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.06585, allocations: 209.2 kB / 332.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06585, allocations: 0 / 332.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of Templates: time 0.01413/0.07998, allocations: 12.35 MB / 344.6 MB, free: 0.7266 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8038896275684237]