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.001118/0.001118, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001142/0.001142, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.129/1.129, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3362/0.3362, allocations: 29.42 MB / 291.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.435e-05, allocations: 5.828 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.005871/0.005896, allocations: 6.293 MB / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.009095, allocations: 2.282 MB / 378.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.009498, allocations: 35.69 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.01057, allocations: 0.6179 MB / 379.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.01141, allocations: 0.5087 MB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.01235, allocations: 470.6 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.01351, allocations: 1.328 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.01417, allocations: 0.5213 MB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.0152, allocations: 0.8571 MB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.01593, allocations: 0.596 MB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01604, allocations: 76 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.01656, allocations: 279.5 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003946/0.01696, allocations: 0.5377 MB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.01729, allocations: 387.1 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.01833, allocations: 0.9967 MB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01833, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.01833, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.01835, allocations: 3.938 kB / 385.9 MB, free: 10.93 MB / 362.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.001433/0.01978, allocations: 1.366 MB / 387.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01982, allocations: 15.98 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006816/0.0205, allocations: 268 kB / 387.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.02111, allocations: 0.6089 MB / 388.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.02116, allocations: 70.34 kB / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.0213, allocations: 104.8 kB / 388.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008505/0.02215, allocations: 0.8423 MB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.02217, allocations: 4 kB / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.02221, allocations: 35.94 kB / 389.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.02234, allocations: 61.97 kB / 389.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.0228, allocations: 407.1 kB / 389.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.02628, allocations: 4.753 MB / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.02674, allocations: 393.9 kB / 394.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.02694, allocations: 219.6 kB / 395 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.02698, allocations: 16.64 kB / 395 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.02733, allocations: 381.6 kB / 395.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.104e-06/0.02733, allocations: 0 / 395.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.001909/0.02924, allocations: 1.467 MB / 396.8 MB, free: 15.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.02931, allocations: 166.9 kB / 397 MB, free: 15.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.0297, allocations: 0.585 MB / 397.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.02975, allocations: 41.7 kB / 397.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.03003, allocations: 0.5378 MB / 398.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.03018, allocations: 269.8 kB / 398.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.03035, allocations: 184.1 kB / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.03053, allocations: 0.578 MB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.03068, allocations: 139.6 kB / 399.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.03114, allocations: 0.5161 MB / 399.8 MB, free: 12.16 MB / 378.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.001257/0.0324, allocations: 1.337 MB / 401.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.0324, allocations: 4 kB / 401.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008725/0.03327, allocations: 0.8385 MB / 402 MB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.03331, allocations: 33.7 kB / 402 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.03332, allocations: 12 kB / 402 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.03366, allocations: 163.4 kB / 402.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.03416, allocations: 215.7 kB / 402.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.03721, allocations: 6.216 MB / 408.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.03751, allocations: 24 kB / 408.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.03755, allocations: 35.98 kB / 408.7 MB, free: 2.738 MB / 378.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.0002562/0.03781, allocations: 259 kB / 408.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03791, allocations: 111.4 kB / 409.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000818/0.03873, allocations: 0.7095 MB / 409.8 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.03874, allocations: 8 kB / 409.8 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.03874, allocations: 4 kB / 409.8 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.03875, allocations: 3.984 kB / 409.8 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.04043, allocations: 1.476 MB / 411.3 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.04043, allocations: 0 / 411.3 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.04083, allocations: 140.1 kB / 411.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.04119, allocations: 178.8 kB / 411.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.04123, allocations: 23.98 kB / 411.6 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.0441, allocations: 6.204 MB / 417.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.0441, allocations: 0 / 417.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.04515, allocations: 1.052 MB / 418.8 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.04523, allocations: 71.5 kB / 418.9 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.0453, allocations: 35.88 kB / 419 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.04548, allocations: 12 kB / 419 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.04557, allocations: 60.48 kB / 419 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.04561, allocations: 19.98 kB / 419 MB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.04581, allocations: 350.9 kB / 419.4 MB, free: 7.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.04581, allocations: 0 / 419.4 MB, free: 7.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007668/0.04658, allocations: 271.9 kB / 419.7 MB, free: 7.23 MB / 394.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.0002009/0.04678, allocations: 143 kB / 419.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.04797, allocations: 1.18 MB / 421 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.04797, allocations: 0 / 421 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.0486, allocations: 0.91 MB / 421.9 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.04912, allocations: 191 kB / 422.1 MB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.05142, allocations: 1.814 MB / 423.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.0516, allocations: 264 kB / 424.1 MB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.05183, allocations: 94.44 kB / 424.2 MB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.05212, allocations: 242.1 kB / 424.5 MB, free: 2.148 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.05212, allocations: 0 / 424.5 MB, free: 2.148 MB / 394.7 MB Notification: Performance of Templates: time 0.0151/0.06722, allocations: 12.08 MB / 436.5 MB, free: 6.23 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.893026890233159]