Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0007298/0.0007298, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003244/0.003244, allocations: 159.6 kB / 24.7 MB, free: 8.887 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.8127/0.8127, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2005/0.2005, allocations: 29.41 MB / 290.8 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.791e-06, allocations: 0 / 431.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.698e-05, allocations: 6.219 kB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.005343/0.00537, allocations: 7.099 MB / 438.6 MB, free: 5.988 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.007628, allocations: 2.231 MB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.007854, allocations: 43.62 kB / 440.8 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.008862, allocations: 0.8314 MB / 441.7 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.009419, allocations: 0.5281 MB / 442.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.01003, allocations: 474.6 kB / 442.7 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.01104, allocations: 1.351 MB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1335/0.1446, allocations: 0.5216 MB / 444.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.1456, allocations: 0.7705 MB / 445.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.1461, allocations: 0.6487 MB / 446 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.1462, allocations: 79.69 kB / 446 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1465, allocations: 287 kB / 446.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.1468, allocations: 0.5374 MB / 446.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.147, allocations: 389.8 kB / 447.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.1478, allocations: 1.358 MB / 448.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1478, allocations: 3.031 kB / 448.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1478, allocations: 0 / 448.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1478, allocations: 0 / 448.6 MB, free: 44.02 MB / 410.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.001211/0.149, allocations: 1.278 MB / 449.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.149, allocations: 9.75 kB / 449.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.1496, allocations: 210 kB / 450.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.1502, allocations: 0.6709 MB / 450.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1503, allocations: 62.78 kB / 450.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1504, allocations: 107.9 kB / 450.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.1513, allocations: 1.256 MB / 452.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1514, allocations: 3.375 kB / 452.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.1514, allocations: 43.48 kB / 452.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.1515, allocations: 66.55 kB / 452.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.1524, allocations: 1.035 MB / 453.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.1549, allocations: 4.288 MB / 457.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.1555, allocations: 0.6471 MB / 458.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.1558, allocations: 444.2 kB / 458.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1558, allocations: 11.09 kB / 458.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003817/0.1562, allocations: 0.5389 MB / 459.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 1.593e-06/0.1562, allocations: 0 / 459.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.002333/0.1586, allocations: 2.815 MB / 462.1 MB, free: 38.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1586, allocations: 167.8 kB / 462.2 MB, free: 37.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.1589, allocations: 0.578 MB / 462.8 MB, free: 37.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1589, allocations: 44.77 kB / 462.8 MB, free: 37.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1591, allocations: 489.8 kB / 463.3 MB, free: 37.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.1592, allocations: 266.7 kB / 463.6 MB, free: 36.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1593, allocations: 171.1 kB / 463.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.1593, allocations: 386.3 kB / 464.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.1596, allocations: 406.4 kB / 464.5 MB, free: 36.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.16, allocations: 0.6636 MB / 465.2 MB, free: 35.89 MB / 410.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.003281/0.1633, allocations: 3.215 MB / 468.4 MB, free: 34.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1633, allocations: 0 / 468.4 MB, free: 34.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001108/0.1644, allocations: 1.373 MB / 469.8 MB, free: 34.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1644, allocations: 35.17 kB / 469.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1644, allocations: 9.844 kB / 469.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.1648, allocations: 246.1 kB / 470.1 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.1653, allocations: 263.5 kB / 470.3 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.1675, allocations: 5.65 MB / 476 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.1678, allocations: 33.58 kB / 476 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.1678, allocations: 44.12 kB / 476 MB, free: 29.42 MB / 410.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.0002382/0.168, allocations: 388.7 kB / 476.4 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.1681, allocations: 79.36 kB / 476.5 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/0.1691, allocations: 1.17 MB / 477.7 MB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1691, allocations: 9.438 kB / 477.7 MB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1691, allocations: 3.5 kB / 477.7 MB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1691, allocations: 3.328 kB / 477.7 MB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.1707, allocations: 2.046 MB / 479.7 MB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1707, allocations: 2.906 kB / 479.7 MB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.1712, allocations: 195.3 kB / 479.9 MB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.1715, allocations: 245.2 kB / 480.2 MB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.1715, allocations: 23.95 kB / 480.2 MB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.1736, allocations: 5.578 MB / 485.8 MB, free: 23.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1736, allocations: 2.25 kB / 485.8 MB, free: 23.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1751, allocations: 1.713 MB / 487.5 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1751, allocations: 73.16 kB / 487.5 MB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.1752, allocations: 21.42 kB / 487.6 MB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1754, allocations: 30.09 kB / 487.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.1754, allocations: 55.98 kB / 487.7 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.1755, allocations: 24.17 kB / 487.7 MB, free: 22.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.1757, allocations: 400 kB / 488.1 MB, free: 21.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 0 / 488.1 MB, free: 21.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005805/0.1763, allocations: 274.6 kB / 488.3 MB, free: 21.9 MB / 410.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.0001351/0.1764, allocations: 132.3 kB / 488.5 MB, free: 21.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1776, allocations: 1.411 MB / 489.9 MB, free: 21.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1776, allocations: 0 / 489.9 MB, free: 21.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.1782, allocations: 0.9163 MB / 490.8 MB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1787, allocations: 190.5 kB / 491 MB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1805, allocations: 2.162 MB / 493.1 MB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1809, allocations: 0.5202 MB / 493.7 MB, free: 19.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.181, allocations: 60.84 kB / 493.7 MB, free: 19.12 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.181, allocations: 0 / 493.7 MB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01455/0.1956, allocations: 21.64 MB / 0.5033 GB, free: 12.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.499204250052571]