Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107.2 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 186.4 kB / 18.67 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1898/0.1898, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 63.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3245, allocations: 58.06 MB / 0.5048 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01015/0.3347, allocations: 7.584 MB / 0.5122 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.3396, allocations: 2.32 MB / 0.5144 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.3406, allocations: 24.75 kB / 0.5145 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.3433, allocations: 0.8606 MB / 0.5153 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.3451, allocations: 0.5031 MB / 0.5158 GB, free: 284 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3468, allocations: 451.1 kB / 0.5162 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.3492, allocations: 1.275 MB / 0.5175 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3506, allocations: 0.6722 MB / 0.5181 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.3521, allocations: 0.5648 MB / 0.5187 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.3535, allocations: 0.6467 MB / 0.5193 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.3538, allocations: 77.5 kB / 0.5194 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.3544, allocations: 214.5 kB / 0.5196 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.3551, allocations: 493.5 kB / 0.5201 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.3562, allocations: 0.528 MB / 0.5206 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.3581, allocations: 1.233 MB / 0.5218 GB, free: 13.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3581, allocations: 4 kB / 0.5218 GB, free: 13.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3581, allocations: 0 / 0.5218 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.964e-05/0.3582, allocations: 0 / 0.5218 GB, free: 13.75 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.003494/0.3617, allocations: 1.312 MB / 0.5231 GB, free: 12.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3617, allocations: 13.27 kB / 0.5231 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3627, allocations: 162 kB / 0.5232 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3641, allocations: 0.7386 MB / 0.524 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.3642, allocations: 60.75 kB / 0.524 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3644, allocations: 90.22 kB / 0.5241 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.3663, allocations: 1.175 MB / 0.5252 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.3663, allocations: 6.375 kB / 0.5252 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.3664, allocations: 38.72 kB / 0.5253 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3665, allocations: 55.7 kB / 0.5253 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.3683, allocations: 0.9285 MB / 0.5262 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.375, allocations: 4.759 MB / 0.5309 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3764, allocations: 0.6679 MB / 0.5315 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.3769, allocations: 384.8 kB / 0.5319 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.377, allocations: 19.95 kB / 0.5319 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006589/0.3777, allocations: 435.9 kB / 0.5323 GB, free: 7.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 5.21e-06/0.3777, allocations: 1.344 kB / 0.5323 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.006229/0.3839, allocations: 2.443 MB / 0.5347 GB, free: 5.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.3841, allocations: 167.4 kB / 0.5349 GB, free: 5.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009634/0.385, allocations: 0.6082 MB / 0.5355 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.3851, allocations: 36.73 kB / 0.5355 GB, free: 5.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.3856, allocations: 483.1 kB / 0.536 GB, free: 4.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.3858, allocations: 233.3 kB / 0.5362 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.3861, allocations: 149.2 kB / 0.5363 GB, free: 4.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3863, allocations: 390.6 kB / 0.5367 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.3867, allocations: 284.9 kB / 0.537 GB, free: 3.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.3874, allocations: 0.5537 MB / 0.5375 GB, free: 3.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3886, allocations: 0.9608 MB / 0.5385 GB, free: 2.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3886, allocations: 3.062 kB / 0.5385 GB, free: 2.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002159/0.3908, allocations: 1.222 MB / 0.5397 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.3908, allocations: 36.17 kB / 0.5397 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3909, allocations: 9.031 kB / 0.5397 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.392, allocations: 340.2 kB / 0.54 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.3925, allocations: 149.7 kB / 0.5402 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.3983, allocations: 5.384 MB / 0.5454 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.3989, allocations: 31.84 kB / 0.5455 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.399, allocations: 42.42 kB / 0.5455 GB, free: 13.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.3995, allocations: 361 kB / 0.5459 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3997, allocations: 75.53 kB / 0.5459 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.4016, allocations: 1.046 MB / 0.5469 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4017, allocations: 5.297 kB / 0.5469 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4017, allocations: 4 kB / 0.547 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4019, allocations: 142.1 kB / 0.5471 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.402, allocations: 17.73 kB / 0.5471 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.4024, allocations: 19.17 kB / 0.5471 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4025, allocations: 56.12 kB / 0.5472 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002279/0.4048, allocations: 1.341 MB / 0.5485 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001649/0.4065, allocations: 1.426 MB / 0.5499 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004237/0.4069, allocations: 320.3 kB / 0.5502 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005222/0.4074, allocations: 419 kB / 0.5506 GB, free: 8.547 MB / 414.1 MB Notification: Performance of Backend: time 2.8e-07/0.4074, allocations: 0 / 0.5506 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.4096, allocations: 1.064 MB / 0.5516 GB, free: 7.434 MB / 414.1 MB Notification: Performance of SimCode: time 0.003135/0.4128, allocations: 2.318 MB / 0.5539 GB, free: 5.059 MB / 414.1 MB Notification: Performance of Templates: time 0.021/0.4338, allocations: 11.73 MB / 0.5653 GB, free: 9.391 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches