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.001538/0.001538, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001677/0.001677, allocations: 164.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.383/1.383, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1715/0.1715, allocations: 29.44 MB / 290.1 MB, free: 3.277 MB / 270.1 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 2.084e-06/2.084e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.311e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008643/0.008666, allocations: 7.103 MB / 437.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.013, allocations: 2.224 MB / 440 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.01346, allocations: 35.69 kB / 440.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.0158, allocations: 0.832 MB / 440.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01694, allocations: 0.532 MB / 441.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.01827, allocations: 470.6 kB / 441.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.01979, allocations: 1.347 MB / 443.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007271/0.02052, allocations: 0.5291 MB / 443.8 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.02153, allocations: 0.7711 MB / 444.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009499/0.02248, allocations: 0.6545 MB / 445.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.02261, allocations: 80 kB / 445.3 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.0232, allocations: 283.5 kB / 445.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005234/0.02373, allocations: 0.5338 MB / 446.1 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.02421, allocations: 387.1 kB / 446.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.0257, allocations: 1.359 MB / 447.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.02571, allocations: 3.938 kB / 447.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02571, allocations: 4 kB / 447.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.02572, allocations: 0 / 447.8 MB, free: 0.7422 MB / 366.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.1604/0.1861, allocations: 1.267 MB / 449.1 MB, free: 30.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1862, allocations: 9.875 kB / 449.1 MB, free: 30.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.1874, allocations: 218 kB / 449.3 MB, free: 30.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.1886, allocations: 0.6724 MB / 450 MB, free: 30.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.1887, allocations: 61.72 kB / 450.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.1889, allocations: 102.2 kB / 450.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1906, allocations: 1.259 MB / 451.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.1906, allocations: 10.3 kB / 451.4 MB, free: 29.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.1907, allocations: 38.19 kB / 451.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.191, allocations: 62.03 kB / 451.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.1924, allocations: 1.031 MB / 452.5 MB, free: 29.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.1973, allocations: 4.292 MB / 456.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1983, allocations: 0.6575 MB / 457.5 MB, free: 26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.199, allocations: 442.7 kB / 457.9 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.199, allocations: 12.3 kB / 457.9 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007172/0.1997, allocations: 0.5361 MB / 458.5 MB, free: 25.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.1997, allocations: 1 kB / 458.5 MB, free: 25.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004391/0.2041, allocations: 2.815 MB / 461.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2042, allocations: 171.3 kB / 461.5 MB, free: 23.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.2047, allocations: 0.5777 MB / 462 MB, free: 23.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.2048, allocations: 41.45 kB / 462.1 MB, free: 23.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.205, allocations: 492.2 kB / 462.6 MB, free: 23.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.2052, allocations: 266.5 kB / 462.8 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.2054, allocations: 170.3 kB / 463 MB, free: 22.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.2055, allocations: 388.1 kB / 463.4 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.2061, allocations: 401.9 kB / 463.8 MB, free: 22.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.2068, allocations: 0.6635 MB / 464.4 MB, free: 21.99 MB / 366.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.006892/0.2137, allocations: 3.217 MB / 467.6 MB, free: 20.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2137, allocations: 2.188 kB / 467.6 MB, free: 20.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002242/0.2159, allocations: 1.37 MB / 469 MB, free: 20.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.216, allocations: 34.97 kB / 469 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.216, allocations: 9.344 kB / 469.1 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.2166, allocations: 247.6 kB / 469.3 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2177, allocations: 258.4 kB / 469.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.2219, allocations: 5.668 MB / 475.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.2225, allocations: 37.38 kB / 475.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.2226, allocations: 46.42 kB / 475.3 MB, free: 15.27 MB / 366.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.0004875/0.2231, allocations: 379.1 kB / 475.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2232, allocations: 79.67 kB / 475.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.225, allocations: 1.172 MB / 476.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.225, allocations: 8 kB / 476.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.225, allocations: 4.375 kB / 476.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.225, allocations: 3.984 kB / 476.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.2279, allocations: 2.045 MB / 479 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2279, allocations: 3.938 kB / 479 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.2288, allocations: 191.9 kB / 479.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006054/0.2294, allocations: 246.3 kB / 479.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.2294, allocations: 27.59 kB / 479.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.2329, allocations: 5.584 MB / 485 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2329, allocations: 4.031 kB / 485 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.2349, allocations: 1.702 MB / 486.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.235, allocations: 71.48 kB / 486.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2351, allocations: 27.92 kB / 486.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.2355, allocations: 23.98 kB / 486.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.2357, allocations: 56.55 kB / 486.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2357, allocations: 27.98 kB / 486.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003167/0.236, allocations: 395 kB / 487.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.236, allocations: 4 kB / 487.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009257/0.2369, allocations: 272 kB / 487.6 MB, free: 3.883 MB / 366.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.0001743/0.2371, allocations: 136.7 kB / 487.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.2388, allocations: 1.404 MB / 489.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2388, allocations: 4 kB / 489.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.2398, allocations: 0.9144 MB / 490 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.2406, allocations: 192 kB / 490.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.2435, allocations: 2.079 MB / 492.3 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.2441, allocations: 0.5048 MB / 492.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.2445, allocations: 210.2 kB / 493 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.2447, allocations: 60.48 kB / 493.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2447, allocations: 4 kB / 493.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of Templates: time 0.02113/0.2658, allocations: 11.29 MB / 0.4925 GB, free: 3.082 MB / 382.1 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: 4.8352241814136505]