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.001558/0.001564, allocations: 109.2 kB / 17.75 MB, free: 5.305 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.001761/0.001762, allocations: 188.3 kB / 18.68 MB, free: 4.375 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.32/1.32, 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.1711/0.1711, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.14 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3139, allocations: 58.05 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007216/0.3212, allocations: 7.577 MB / 0.5122 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.325, allocations: 2.32 MB / 0.5144 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.3256, allocations: 25.56 kB / 0.5145 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.3277, allocations: 0.8615 MB / 0.5153 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.329, allocations: 0.5104 MB / 0.5158 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3304, allocations: 459 kB / 0.5162 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.3322, allocations: 1.274 MB / 0.5175 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.3331, allocations: 0.6739 MB / 0.5181 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.3343, allocations: 0.5656 MB / 0.5187 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3356, allocations: 0.65 MB / 0.5193 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3358, allocations: 74.34 kB / 0.5194 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.3365, allocations: 210.4 kB / 0.5196 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006872/0.3372, allocations: 493.7 kB / 0.5201 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007992/0.338, allocations: 0.5238 MB / 0.5206 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.3398, allocations: 1.251 MB / 0.5218 GB, free: 13.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3398, allocations: 4 kB / 0.5218 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3398, allocations: 3.938 kB / 0.5218 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3399, allocations: 0 / 0.5218 GB, free: 13.48 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.002484/0.3423, allocations: 1.335 MB / 0.5231 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3424, allocations: 13.75 kB / 0.5231 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009495/0.3434, allocations: 173.8 kB / 0.5233 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3447, allocations: 0.7312 MB / 0.524 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/0.3448, allocations: 64.69 kB / 0.5241 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3449, allocations: 90.58 kB / 0.5242 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.3468, allocations: 1.17 MB / 0.5253 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.3468, allocations: 10.92 kB / 0.5253 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.3469, allocations: 41.86 kB / 0.5254 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.5e-05/0.347, allocations: 56.09 kB / 0.5254 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3486, allocations: 0.9319 MB / 0.5263 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00562/0.3542, allocations: 4.775 MB / 0.531 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3554, allocations: 0.6718 MB / 0.5316 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.3559, allocations: 374 kB / 0.532 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.356, allocations: 20.23 kB / 0.532 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.3566, allocations: 440.2 kB / 0.5324 GB, free: 6.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.3566, allocations: 0 / 0.5324 GB, free: 6.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.005312/0.3619, allocations: 2.479 MB / 0.5348 GB, free: 5.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.362, allocations: 167.5 kB / 0.535 GB, free: 5.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.3628, allocations: 0.6003 MB / 0.5356 GB, free: 4.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.3628, allocations: 37.14 kB / 0.5356 GB, free: 4.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.3632, allocations: 492.6 kB / 0.5361 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.3634, allocations: 237.2 kB / 0.5363 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.3636, allocations: 153 kB / 0.5365 GB, free: 3.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3638, allocations: 387.7 kB / 0.5368 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.3643, allocations: 292 kB / 0.5371 GB, free: 3.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.3649, allocations: 0.5503 MB / 0.5377 GB, free: 2.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3661, allocations: 0.9571 MB / 0.5386 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3661, allocations: 7.344 kB / 0.5386 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002139/0.3682, allocations: 1.224 MB / 0.5398 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3683, allocations: 33.8 kB / 0.5398 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3683, allocations: 9.312 kB / 0.5398 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.3694, allocations: 349.2 kB / 0.5402 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.37, allocations: 140.4 kB / 0.5403 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/0.3761, allocations: 5.393 MB / 0.5456 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.3768, allocations: 32.55 kB / 0.5456 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.3769, allocations: 38.59 kB / 0.5456 GB, free: 12.82 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.0006581/0.3776, allocations: 364.4 kB / 0.546 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3777, allocations: 79.92 kB / 0.5461 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3797, allocations: 1.045 MB / 0.5471 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3797, allocations: 5.359 kB / 0.5471 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3797, allocations: 1.531 kB / 0.5471 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.3799, allocations: 145.4 kB / 0.5472 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.38, allocations: 13.06 kB / 0.5472 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3803, allocations: 20.45 kB / 0.5473 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3804, allocations: 67.7 kB / 0.5473 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002251/0.3827, allocations: 1.335 MB / 0.5486 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001664/0.3844, allocations: 1.431 MB / 0.55 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004399/0.3848, allocations: 328.2 kB / 0.5503 GB, free: 8.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.3853, allocations: 423.1 kB / 0.5507 GB, free: 8.254 MB / 414.1 MB Notification: Performance of Backend: time 1.393e-06/0.3854, allocations: 0 / 0.5507 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.3877, allocations: 1.063 MB / 0.5518 GB, free: 7.145 MB / 414.1 MB Notification: Performance of SimCode: time 0.002868/0.3906, allocations: 2.348 MB / 0.5541 GB, free: 4.734 MB / 414.1 MB Notification: Performance of Templates: time 0.01974/0.4103, allocations: 11.73 MB / 0.5655 GB, free: 9.07 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