Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002202/0.002202, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1827/0.1827, allocations: 38.56 MB / 352.5 MB, free: 12.34 MB / 286.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.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 493 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4118, allocations: 62.46 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.008489/0.4203, allocations: 4.328 MB / 0.5466 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.4236, allocations: 1.386 MB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.424, allocations: 20.84 kB / 0.548 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4256, allocations: 375.4 kB / 0.5484 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008158/0.4264, allocations: 253.9 kB / 0.5486 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.4273, allocations: 256 kB / 0.5489 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000916/0.4282, allocations: 0.554 MB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.4287, allocations: 220.6 kB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.4293, allocations: 272 kB / 0.5499 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/0.43, allocations: 370.8 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.4301, allocations: 39.28 kB / 0.5503 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.4307, allocations: 230 kB / 0.5505 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.431, allocations: 244.4 kB / 0.5507 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.4313, allocations: 209 kB / 0.5509 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009586/0.4323, allocations: 0.6817 MB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4323, allocations: 1.062 kB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4323, allocations: 0 / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4323, allocations: 0 / 0.5516 GB, free: 9.758 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001711/0.434, allocations: 0.7208 MB / 0.5523 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.434, allocations: 13.05 kB / 0.5523 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.435, allocations: 122.3 kB / 0.5524 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.4359, allocations: 360.4 kB / 0.5528 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.4359, allocations: 28.97 kB / 0.5528 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.4361, allocations: 58.88 kB / 0.5528 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4373, allocations: 0.6748 MB / 0.5535 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.4373, allocations: 5.312 kB / 0.5535 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.4374, allocations: 15.44 kB / 0.5535 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.4376, allocations: 50.03 kB / 0.5536 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4387, allocations: 0.6616 MB / 0.5542 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.4424, allocations: 2.209 MB / 0.5564 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.443, allocations: 329.7 kB / 0.5567 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.4434, allocations: 226 kB / 0.5569 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.4434, allocations: 12.2 kB / 0.5569 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4435, allocations: 42.84 kB / 0.557 GB, free: 5.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.4435, allocations: 0 / 0.557 GB, free: 5.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002544/0.446, allocations: 1.409 MB / 0.5583 GB, free: 3.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.4461, allocations: 85.11 kB / 0.5584 GB, free: 3.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4464, allocations: 280.1 kB / 0.5587 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4465, allocations: 33.83 kB / 0.5587 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4467, allocations: 260.2 kB / 0.559 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4468, allocations: 162.6 kB / 0.5591 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.447, allocations: 98.12 kB / 0.5592 GB, free: 2.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4472, allocations: 346.8 kB / 0.5595 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.4475, allocations: 217 kB / 0.5597 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.448, allocations: 366.1 kB / 0.5601 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.4489, allocations: 0.6239 MB / 0.5607 GB, free: 1.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4489, allocations: 0 / 0.5607 GB, free: 1.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00138/0.4503, allocations: 0.7203 MB / 0.5614 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4503, allocations: 10.97 kB / 0.5614 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009602/0.4513, allocations: 0.5224 MB / 0.5619 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.4516, allocations: 72.78 kB / 0.562 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.452, allocations: 115.7 kB / 0.5621 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.4539, allocations: 1.593 MB / 0.5637 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.4542, allocations: 27.97 kB / 0.5637 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.4543, allocations: 23.94 kB / 0.5637 GB, free: 13.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003352/0.4546, allocations: 209.7 kB / 0.5639 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4548, allocations: 43.75 kB / 0.564 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4558, allocations: 0.5589 MB / 0.5645 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.4558, allocations: 19.92 kB / 0.5645 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4558, allocations: 4.062 kB / 0.5645 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4558, allocations: 0 / 0.5645 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.458, allocations: 1.056 MB / 0.5656 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.458, allocations: 0 / 0.5656 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.4585, allocations: 83.89 kB / 0.5656 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.4585, allocations: 4 kB / 0.5656 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4585, allocations: 11.98 kB / 0.5656 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.4585, allocations: 4 kB / 0.5657 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4585, allocations: 4.094 kB / 0.5657 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4599, allocations: 0.9317 MB / 0.5666 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4601, allocations: 39.77 kB / 0.5666 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.4601, allocations: 8.047 kB / 0.5666 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4604, allocations: 19.97 kB / 0.5666 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4604, allocations: 27.95 kB / 0.5667 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.4605, allocations: 8 kB / 0.5667 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.4607, allocations: 203 kB / 0.5669 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4607, allocations: 0 / 0.5669 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007634/0.4615, allocations: 119.9 kB / 0.567 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003399/0.4618, allocations: 139.2 kB / 0.5671 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.4631, allocations: 0.6419 MB / 0.5677 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4631, allocations: 0 / 0.5677 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.4635, allocations: 243.6 kB / 0.568 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.4641, allocations: 70.59 kB / 0.568 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.4663, allocations: 1.174 MB / 0.5692 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4667, allocations: 274.4 kB / 0.5694 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.467, allocations: 123.2 kB / 0.5696 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4671, allocations: 35.44 kB / 0.5696 GB, free: 7.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4671, allocations: 0 / 0.5696 GB, free: 7.676 MB / 414.1 MB Notification: Performance of Templates: time 0.01149/0.4786, allocations: 5.013 MB / 0.5745 GB, free: 2.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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: 5.774994691833854]