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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001607, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001626, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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.3006/0.3006, allocations: 38 MB / 337.2 MB, free: 12.94 MB / 270.1 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.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.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 0.001973/0.001973, allocations: 63.89 kB / 467.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 58.07 MB / 0.5133 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01009/0.1185, allocations: 7.57 MB / 0.5206 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1232, allocations: 2.325 MB / 0.5229 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.1238, allocations: 27.88 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.1262, allocations: 0.8551 MB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1276, allocations: 0.5052 MB / 0.5243 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1289, allocations: 447 kB / 0.5247 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.1307, allocations: 1.317 MB / 0.526 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1318, allocations: 0.6893 MB / 0.5267 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009966/0.1328, allocations: 0.5758 MB / 0.5272 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1339, allocations: 0.6775 MB / 0.5279 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.1341, allocations: 84 kB / 0.528 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1347, allocations: 267.6 kB / 0.5282 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.1354, allocations: 0.5065 MB / 0.5287 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007643/0.1361, allocations: 0.5443 MB / 0.5292 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1378, allocations: 1.323 MB / 0.5305 GB, free: 8.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1378, allocations: 0 / 0.5305 GB, free: 8.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1378, allocations: 0 / 0.5305 GB, free: 8.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.1378, allocations: 0 / 0.5305 GB, free: 8.016 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002914/0.1408, allocations: 1.369 MB / 0.5319 GB, free: 6.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1408, allocations: 15.83 kB / 0.5319 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.142, allocations: 176.1 kB / 0.5321 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.1436, allocations: 0.755 MB / 0.5328 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.1437, allocations: 66.38 kB / 0.5329 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.1439, allocations: 104.1 kB / 0.533 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.1462, allocations: 1.216 MB / 0.5341 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.1462, allocations: 11.89 kB / 0.5342 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1463, allocations: 36 kB / 0.5342 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/0.1466, allocations: 65.94 kB / 0.5342 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.1483, allocations: 1.011 MB / 0.5352 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006855/0.1552, allocations: 4.761 MB / 0.5399 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1565, allocations: 0.6711 MB / 0.5405 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.1572, allocations: 459.8 kB / 0.541 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.583e-05/0.1572, allocations: 4.562 kB / 0.541 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008211/0.158, allocations: 0.5158 MB / 0.5415 GB, free: 12.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.1581, allocations: 0 / 0.5415 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005127/0.1632, allocations: 2.815 MB / 0.5442 GB, free: 9.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.1634, allocations: 170.8 kB / 0.5444 GB, free: 9.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.1641, allocations: 0.59 MB / 0.545 GB, free: 8.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.1642, allocations: 45.7 kB / 0.545 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.1647, allocations: 484.2 kB / 0.5455 GB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.1649, allocations: 269.8 kB / 0.5457 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.1652, allocations: 170.6 kB / 0.5459 GB, free: 7.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1655, allocations: 390.7 kB / 0.5463 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.1661, allocations: 377.8 kB / 0.5466 GB, free: 6.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.167, allocations: 0.6346 MB / 0.5473 GB, free: 6.191 MB / 414.1 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.007462/0.1744, allocations: 3.442 MB / 0.5506 GB, free: 2.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1745, allocations: 8 kB / 0.5506 GB, free: 2.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00251/0.177, allocations: 1.352 MB / 0.5519 GB, free: 1.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.177, allocations: 37.7 kB / 0.552 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.1771, allocations: 8 kB / 0.552 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.1778, allocations: 242.4 kB / 0.5522 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.179, allocations: 271.6 kB / 0.5525 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.1855, allocations: 6.074 MB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.1863, allocations: 39.92 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.1865, allocations: 39.98 kB / 0.5585 GB, free: 10.05 MB / 430.1 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.0007517/0.1872, allocations: 376.5 kB / 0.5588 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.1874, allocations: 83.42 kB / 0.5589 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.1897, allocations: 1.145 MB / 0.56 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.1898, allocations: 12 kB / 0.5601 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.1898, allocations: 4 kB / 0.5601 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1898, allocations: 3.984 kB / 0.5601 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.1939, allocations: 2.254 MB / 0.5623 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.194, allocations: 4 kB / 0.5623 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/0.1949, allocations: 191.9 kB / 0.5624 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.1957, allocations: 242.6 kB / 0.5627 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.1958, allocations: 31.92 kB / 0.5627 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/0.2022, allocations: 6.007 MB / 0.5686 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2022, allocations: 4.031 kB / 0.5686 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.2052, allocations: 1.647 MB / 0.5702 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.2055, allocations: 152.6 kB / 0.5703 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.2057, allocations: 27.98 kB / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.2061, allocations: 24.3 kB / 0.5704 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2063, allocations: 60.36 kB / 0.5704 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.2064, allocations: 27.98 kB / 0.5705 GB, free: 13.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.207, allocations: 419 kB / 0.5709 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.207, allocations: 0 / 0.5709 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001154/0.2082, allocations: 275.9 kB / 0.5711 GB, free: 12.48 MB / 446.1 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.0002629/0.2084, allocations: 123.2 kB / 0.5712 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.2109, allocations: 1.4 MB / 0.5726 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.211, allocations: 0 / 0.5726 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.2125, allocations: 0.92 MB / 0.5735 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2135, allocations: 183.2 kB / 0.5737 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.2177, allocations: 2.282 MB / 0.5759 GB, free: 7.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.2188, allocations: 1.119 MB / 0.577 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.219, allocations: 67.42 kB / 0.5771 GB, free: 6.211 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.219, allocations: 0 / 0.5771 GB, free: 6.211 MB / 446.1 MB Notification: Performance of Templates: time 0.2389/0.458, allocations: 21.08 MB / 0.5977 GB, free: 59.21 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.358505057054572] Failed to read output from testmodel.py, exit status != 0: 0.46465019905008376 0.47392108 0.33419499799999997 Calling exit ...