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.000898/0.000898, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0008866/0.0008866, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.617 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.2293/0.2293, allocations: 29.43 MB / 290.9 MB, free: 2.43 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.485e-06/2.485e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.292e-05, allocations: 5.547 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008268/0.008301, allocations: 6.344 MB / 376 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.01166, allocations: 2.313 MB / 378.3 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.01213, allocations: 39.69 kB / 378.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.01322, allocations: 0.6219 MB / 379 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008528/0.01407, allocations: 0.5048 MB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.01507, allocations: 478.6 kB / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01623, allocations: 1.328 MB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.01681, allocations: 0.5174 MB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009443/0.01776, allocations: 0.8533 MB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.01838, allocations: 0.5999 MB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/0.01848, allocations: 76 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.01893, allocations: 279.5 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.01928, allocations: 0.5416 MB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.0196, allocations: 379.1 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.02055, allocations: 0.9966 MB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.02055, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02055, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.02057, allocations: 0 / 385.5 MB, free: 11.04 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.001535/0.0221, allocations: 1.378 MB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.02214, allocations: 15.98 kB / 386.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.02291, allocations: 300 kB / 387.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.02362, allocations: 0.6401 MB / 387.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.02367, allocations: 62.38 kB / 387.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.02383, allocations: 104.9 kB / 388 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.02483, allocations: 0.9089 MB / 388.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.02485, allocations: 3.938 kB / 388.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.02491, allocations: 35.98 kB / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.02506, allocations: 61.97 kB / 389 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.02575, allocations: 0.4893 MB / 389.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.02925, allocations: 4.804 MB / 394.3 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.02983, allocations: 446.3 kB / 394.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.03011, allocations: 255.6 kB / 395 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.03015, allocations: 16.64 kB / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.03056, allocations: 405.7 kB / 395.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.156e-06/0.03056, allocations: 0 / 395.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002501/0.03306, allocations: 1.983 MB / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.03314, allocations: 174.8 kB / 397.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.03355, allocations: 0.5931 MB / 398.1 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.03359, allocations: 41.7 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.03385, allocations: 0.538 MB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.034, allocations: 265.8 kB / 399 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.03417, allocations: 176.3 kB / 399.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.03433, allocations: 0.5742 MB / 399.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.03456, allocations: 175.6 kB / 399.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.03495, allocations: 0.5513 MB / 400.4 MB, free: 11.29 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.001685/0.03663, allocations: 1.512 MB / 401.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.03664, allocations: 0 / 401.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001082/0.03772, allocations: 0.9248 MB / 402.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.03776, allocations: 37.64 kB / 402.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.03777, allocations: 12.06 kB / 402.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.03816, allocations: 170.9 kB / 403.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.03876, allocations: 263.6 kB / 403.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.0419, allocations: 6.335 MB / 409.7 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.04227, allocations: 35.94 kB / 409.7 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.04232, allocations: 39.98 kB / 409.7 MB, free: 1.398 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.0002998/0.04262, allocations: 269.1 kB / 410 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.04273, allocations: 103.5 kB / 410.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009648/0.04369, allocations: 0.7799 MB / 410.9 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.0437, allocations: 8 kB / 410.9 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.04371, allocations: 7.938 kB / 410.9 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.04372, allocations: 7.922 kB / 410.9 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.04552, allocations: 1.682 MB / 412.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.04553, allocations: 4 kB / 412.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.04602, allocations: 187.7 kB / 412.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.04644, allocations: 198.9 kB / 413 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.04648, allocations: 32.05 kB / 413 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.04937, allocations: 6.304 MB / 419.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04937, allocations: 0 / 419.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.0506, allocations: 1.157 MB / 420.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.05069, allocations: 75.45 kB / 420.5 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.05076, allocations: 27.98 kB / 420.6 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.05096, allocations: 19.98 kB / 420.6 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.05108, allocations: 68.48 kB / 420.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.05111, allocations: 27.98 kB / 420.7 MB, free: 5.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.05139, allocations: 371 kB / 421 MB, free: 5.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05139, allocations: 0 / 421 MB, free: 5.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007702/0.05216, allocations: 271.9 kB / 421.3 MB, free: 5.25 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.0001867/0.05234, allocations: 127.1 kB / 421.4 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.05357, allocations: 1.266 MB / 422.7 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.05358, allocations: 0 / 422.7 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.0543, allocations: 0.9403 MB / 423.6 MB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.05487, allocations: 182.6 kB / 423.8 MB, free: 2.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.05734, allocations: 1.842 MB / 425.7 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.05753, allocations: 268 kB / 425.9 MB, free: 392 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.05785, allocations: 178.3 kB / 426.1 MB, free: 208 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.05797, allocations: 60.48 kB / 426.2 MB, free: 148 kB / 394.7 MB Notification: Performance of SimCode: time 1.984e-06/0.05797, allocations: 0 / 426.2 MB, free: 148 kB / 394.7 MB Notification: Performance of Templates: time 0.01531/0.07329, allocations: 11.88 MB / 438 MB, free: 4.426 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.4997863569296896]