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.001857/0.001857, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.002336/0.002336, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.682/1.682, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.1845/0.1845, allocations: 38.56 MB / 353.2 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.0024/0.0024, allocations: 71.89 kB / 493.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3283, allocations: 62.46 MB / 0.5431 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006087/0.3344, allocations: 4.32 MB / 0.5474 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3371, allocations: 1.391 MB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3373, allocations: 16.41 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.3383, allocations: 376.5 kB / 0.5491 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3389, allocations: 255.5 kB / 0.5493 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.3396, allocations: 241.3 kB / 0.5496 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.3403, allocations: 0.5699 MB / 0.5501 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3406, allocations: 220.6 kB / 0.5503 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.341, allocations: 271.6 kB / 0.5506 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.3415, allocations: 363.2 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.3416, allocations: 39.53 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.3421, allocations: 233.5 kB / 0.5512 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.3423, allocations: 240.7 kB / 0.5514 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.3425, allocations: 216.8 kB / 0.5516 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.3433, allocations: 0.6792 MB / 0.5523 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3434, allocations: 0 / 0.5523 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3434, allocations: 0 / 0.5523 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3434, allocations: 0 / 0.5523 GB, free: 9.77 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.00143/0.3448, allocations: 0.7198 MB / 0.553 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3448, allocations: 14.02 kB / 0.553 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.3456, allocations: 129.5 kB / 0.5531 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007832/0.3464, allocations: 357 kB / 0.5535 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3464, allocations: 33.22 kB / 0.5535 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3466, allocations: 54.16 kB / 0.5536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3476, allocations: 0.6759 MB / 0.5542 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.3476, allocations: 5.156 kB / 0.5542 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.3477, allocations: 15.97 kB / 0.5542 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.3478, allocations: 49.42 kB / 0.5543 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3489, allocations: 0.6651 MB / 0.5549 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.3525, allocations: 2.208 MB / 0.5571 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.353, allocations: 325.7 kB / 0.5574 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.3534, allocations: 225.9 kB / 0.5576 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3534, allocations: 4.281 kB / 0.5576 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3535, allocations: 42.78 kB / 0.5577 GB, free: 5.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.3535, allocations: 4 kB / 0.5577 GB, free: 5.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002405/0.3559, allocations: 1.421 MB / 0.5591 GB, free: 3.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3559, allocations: 81.11 kB / 0.5591 GB, free: 3.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.3562, allocations: 280.1 kB / 0.5594 GB, free: 3.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.3563, allocations: 29.7 kB / 0.5594 GB, free: 3.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3564, allocations: 256.2 kB / 0.5597 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.3566, allocations: 166.6 kB / 0.5598 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3567, allocations: 90.14 kB / 0.5599 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3569, allocations: 350.8 kB / 0.5603 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.3572, allocations: 221.2 kB / 0.5605 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.3577, allocations: 362.1 kB / 0.5608 GB, free: 1.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.3586, allocations: 0.6317 MB / 0.5614 GB, free: 1.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3586, allocations: 0 / 0.5614 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001314/0.3599, allocations: 0.7159 MB / 0.5621 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3599, allocations: 4 kB / 0.5621 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009179/0.3608, allocations: 0.5224 MB / 0.5626 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.3611, allocations: 77.34 kB / 0.5627 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.3615, allocations: 107.8 kB / 0.5628 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.3634, allocations: 1.593 MB / 0.5644 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3637, allocations: 31.95 kB / 0.5644 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.3637, allocations: 20 kB / 0.5644 GB, free: 13.89 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.0003268/0.3641, allocations: 221.7 kB / 0.5646 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3642, allocations: 35.77 kB / 0.5647 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.3651, allocations: 0.5589 MB / 0.5652 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.3652, allocations: 19.86 kB / 0.5652 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3652, allocations: 8 kB / 0.5652 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3652, allocations: 0 / 0.5652 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.3672, allocations: 1.052 MB / 0.5663 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3672, allocations: 8.031 kB / 0.5663 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.3677, allocations: 79.88 kB / 0.5664 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3677, allocations: 4 kB / 0.5664 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3677, allocations: 11.98 kB / 0.5664 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3677, allocations: 4 kB / 0.5664 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3677, allocations: 0 / 0.5664 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.369, allocations: 0.9318 MB / 0.5673 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.3691, allocations: 35.77 kB / 0.5673 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.3692, allocations: 11.98 kB / 0.5673 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.3694, allocations: 28.02 kB / 0.5674 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.3695, allocations: 19.95 kB / 0.5674 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.3695, allocations: 16 kB / 0.5674 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3697, allocations: 191.1 kB / 0.5676 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3697, allocations: 7.875 kB / 0.5676 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005745/0.3703, allocations: 119.9 kB / 0.5677 GB, free: 10.46 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.0002653/0.3706, allocations: 139.2 kB / 0.5678 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.3717, allocations: 0.6332 MB / 0.5684 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3717, allocations: 0 / 0.5684 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3721, allocations: 235.5 kB / 0.5687 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.3726, allocations: 86.02 kB / 0.5688 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3748, allocations: 1.242 MB / 0.57 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3752, allocations: 274.4 kB / 0.5702 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3753, allocations: 35.42 kB / 0.5703 GB, free: 7.75 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3753, allocations: 0 / 0.5703 GB, free: 7.75 MB / 414.1 MB Notification: Performance of Templates: time 0.01231/0.3876, allocations: 6.753 MB / 0.5769 GB, free: 1.008 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/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: 9.401956205256283]