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.00132/0.00132, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001276/0.001276, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 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.9441/0.9441, allocations: 177.2 MB / 206.1 MB, free: 4.5 MB / 186.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.1166/0.1166, allocations: 29.43 MB / 292 MB, free: 2.609 MB / 266.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 1.462e-06/1.462e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.426e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.00647/0.006484, allocations: 6.362 MB / 377.2 MB, free: 25.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.01006, allocations: 2.294 MB / 379.5 MB, free: 23.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.01045, allocations: 35.69 kB / 379.6 MB, free: 23.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.01134, allocations: 302 kB / 379.8 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009001/0.01224, allocations: 0.5204 MB / 380.4 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.01323, allocations: 482.6 kB / 380.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.01449, allocations: 1.349 MB / 382.2 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.01523, allocations: 0.5175 MB / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.01639, allocations: 0.861 MB / 383.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.0172, allocations: 0.5999 MB / 384.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.01733, allocations: 80 kB / 384.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.01783, allocations: 279.5 kB / 384.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.01824, allocations: 0.5299 MB / 385 MB, free: 18.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.01865, allocations: 387.1 kB / 385.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009805/0.01964, allocations: 0.9966 MB / 386.4 MB, free: 16.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01964, allocations: 4 kB / 386.4 MB, free: 16.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01964, allocations: 0 / 386.4 MB, free: 16.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.01965, allocations: 0 / 386.4 MB, free: 16.7 MB / 314.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.001642/0.02129, allocations: 1.361 MB / 387.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.02133, allocations: 8.031 kB / 387.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.02231, allocations: 280 kB / 388.1 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.02311, allocations: 0.6049 MB / 388.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.02316, allocations: 66.38 kB / 388.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.02335, allocations: 104.8 kB / 388.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.02432, allocations: 0.8384 MB / 389.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.02435, allocations: 4 kB / 389.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.02443, allocations: 43.97 kB / 389.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.02462, allocations: 61.97 kB / 389.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.02529, allocations: 399 kB / 390.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.0291, allocations: 4.761 MB / 394.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.02967, allocations: 398.1 kB / 395.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.02996, allocations: 219.6 kB / 395.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.03, allocations: 16.66 kB / 395.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.03042, allocations: 377.6 kB / 395.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.03043, allocations: 0 / 395.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002469/0.0329, allocations: 1.459 MB / 397.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.03295, allocations: 178.8 kB / 397.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.03336, allocations: 0.5849 MB / 398.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.0334, allocations: 41.7 kB / 398.2 MB, free: 4.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.03365, allocations: 0.534 MB / 398.7 MB, free: 3.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.03381, allocations: 265.8 kB / 399 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.03404, allocations: 184.1 kB / 399.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.03417, allocations: 0.578 MB / 399.7 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.0344, allocations: 139.6 kB / 399.9 MB, free: 2.613 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.03476, allocations: 0.5239 MB / 400.4 MB, free: 1.926 MB / 314.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.001757/0.03652, allocations: 1.318 MB / 401.7 MB, free: 456 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.03653, allocations: 4 kB / 401.7 MB, free: 452 kB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001395/0.03792, allocations: 0.8461 MB / 402.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.03796, allocations: 39.88 kB / 402.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.03798, allocations: 8 kB / 402.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.03848, allocations: 167.5 kB / 402.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.03937, allocations: 207.7 kB / 403 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.0438, allocations: 6.212 MB / 409.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.04419, allocations: 31.94 kB / 409.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.04426, allocations: 35.98 kB / 409.3 MB, free: 8.516 MB / 330.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.0003038/0.04456, allocations: 265.9 kB / 409.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.04472, allocations: 107.4 kB / 409.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.04597, allocations: 0.7134 MB / 410.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.04599, allocations: 8 kB / 410.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.046, allocations: 4 kB / 410.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.04601, allocations: 3.984 kB / 410.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.04821, allocations: 1.468 MB / 411.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.04821, allocations: 0 / 411.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.04887, allocations: 136 kB / 412 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.0494, allocations: 178.9 kB / 412.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.04946, allocations: 23.98 kB / 412.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.05354, allocations: 6.201 MB / 418.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.05354, allocations: 0 / 418.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.05515, allocations: 1.064 MB / 419.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.05525, allocations: 59.53 kB / 419.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.05535, allocations: 27.98 kB / 419.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.05562, allocations: 12 kB / 419.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.05576, allocations: 64.42 kB / 419.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.0558, allocations: 19.98 kB / 419.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.05609, allocations: 354.9 kB / 419.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05609, allocations: 0 / 419.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009504/0.05704, allocations: 271.9 kB / 420.2 MB, free: 13 MB / 346.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.0002152/0.05725, allocations: 131.2 kB / 420.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.05874, allocations: 1.191 MB / 421.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.05874, allocations: 0 / 421.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009997/0.05974, allocations: 0.9061 MB / 422.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.06058, allocations: 188.4 kB / 422.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.06384, allocations: 1.848 MB / 424.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.06412, allocations: 268 kB / 424.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.06446, allocations: 94.44 kB / 424.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.0649, allocations: 230.1 kB / 425 MB, free: 7.914 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0649, allocations: 4 kB / 425 MB, free: 7.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01752/0.08242, allocations: 12.35 MB / 437.4 MB, free: 11.76 MB / 362.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: 3.314898869022727]