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.001355/0.001355, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00158/0.00158, allocations: 166.4 kB / 24.5 MB, free: 3.453 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.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.174/0.174, allocations: 29.43 MB / 290.7 MB, free: 3.301 MB / 270.1 MB " [Timeout remaining time 179] 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.002355/0.002355, allocations: 67.91 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3315, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004619/0.3361, allocations: 4.327 MB / 497.9 MB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3381, allocations: 1.399 MB / 499.3 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3383, allocations: 21.81 kB / 499.4 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009587/0.3393, allocations: 370 kB / 499.7 MB, free: 33.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.3397, allocations: 247.5 kB / 500 MB, free: 33.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3403, allocations: 246.3 kB / 0.4885 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.3407, allocations: 0.567 MB / 0.489 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.341, allocations: 223.5 kB / 0.4892 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.3413, allocations: 266 kB / 0.4895 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.3417, allocations: 368.9 kB / 0.4899 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.3418, allocations: 42.27 kB / 0.4899 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.3421, allocations: 219.5 kB / 0.4901 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3423, allocations: 249.5 kB / 0.4903 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.3425, allocations: 226 kB / 0.4906 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.3431, allocations: 0.6815 MB / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3431, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3431, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.3431, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.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.001159/0.3443, allocations: 0.7087 MB / 0.4919 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3443, allocations: 12.98 kB / 0.4919 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007367/0.345, allocations: 129.6 kB / 0.492 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3456, allocations: 367.4 kB / 0.4924 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3456, allocations: 29.2 kB / 0.4924 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3458, allocations: 49.34 kB / 0.4925 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.3465, allocations: 0.6744 MB / 0.4931 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3465, allocations: 3.031 kB / 0.4931 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.3466, allocations: 18.95 kB / 0.4932 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.3468, allocations: 50.77 kB / 0.4932 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.3476, allocations: 0.6649 MB / 0.4939 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.3502, allocations: 2.233 MB / 0.496 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.3506, allocations: 324.9 kB / 0.4963 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3509, allocations: 224.8 kB / 0.4966 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3509, allocations: 7.531 kB / 0.4966 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3509, allocations: 38.12 kB / 0.4966 GB, free: 29.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/0.3509, allocations: 4 kB / 0.4966 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.001823/0.3528, allocations: 1.419 MB / 0.498 GB, free: 28.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3528, allocations: 83.23 kB / 0.4981 GB, free: 28.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.353, allocations: 279.4 kB / 0.4983 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.353, allocations: 29.7 kB / 0.4984 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.3531, allocations: 258.8 kB / 0.4986 GB, free: 28.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.3532, allocations: 163.7 kB / 0.4988 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3533, allocations: 102 kB / 0.4989 GB, free: 27.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.3534, allocations: 342.8 kB / 0.4992 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.3536, allocations: 224 kB / 0.4994 GB, free: 27.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.3539, allocations: 365.5 kB / 0.4998 GB, free: 27.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.3545, allocations: 0.6254 MB / 0.5004 GB, free: 27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3545, allocations: 0 / 0.5004 GB, free: 27 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001029/0.3555, allocations: 0.7189 MB / 0.5011 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3555, allocations: 9.672 kB / 0.5011 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007246/0.3563, allocations: 0.5193 MB / 0.5016 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.3566, allocations: 83.78 kB / 0.5017 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.3569, allocations: 105.2 kB / 0.5018 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.3581, allocations: 1.596 MB / 0.5033 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.3584, allocations: 32.98 kB / 0.5034 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.3585, allocations: 19.06 kB / 0.5034 GB, free: 25.12 MB / 446.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.0002018/0.3587, allocations: 217.6 kB / 0.5036 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.3587, allocations: 36.08 kB / 0.5036 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.3595, allocations: 0.5658 MB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.3595, allocations: 19.78 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3595, allocations: 0 / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3595, allocations: 5.969 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.361, allocations: 1.058 MB / 0.5052 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.361, allocations: 4.031 kB / 0.5052 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.3614, allocations: 82.69 kB / 0.5053 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3614, allocations: 3.094 kB / 0.5053 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.3614, allocations: 11.03 kB / 0.5053 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3614, allocations: 7.062 kB / 0.5053 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3614, allocations: 3.125 kB / 0.5053 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.3623, allocations: 0.9288 MB / 0.5062 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3624, allocations: 31.64 kB / 0.5063 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3624, allocations: 14.34 kB / 0.5063 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3627, allocations: 20.48 kB / 0.5063 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3627, allocations: 26.72 kB / 0.5063 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3627, allocations: 12.28 kB / 0.5063 GB, free: 23.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3629, allocations: 190.6 kB / 0.5065 GB, free: 23.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3629, allocations: 3.25 kB / 0.5065 GB, free: 23.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00049/0.3633, allocations: 126.5 kB / 0.5066 GB, free: 23.55 MB / 446.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.0001911/0.3635, allocations: 131.4 kB / 0.5068 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.3644, allocations: 0.6436 MB / 0.5074 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3644, allocations: 0 / 0.5074 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3647, allocations: 236.1 kB / 0.5076 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.3652, allocations: 78.97 kB / 0.5077 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3667, allocations: 1.174 MB / 0.5088 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3669, allocations: 272.2 kB / 0.5091 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.3673, allocations: 127.8 kB / 0.5092 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3674, allocations: 31.84 kB / 0.5093 GB, free: 22.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3674, allocations: 0 / 0.5093 GB, free: 22.3 MB / 446.1 MB Notification: Performance of Templates: time 0.009029/0.3764, allocations: 4.488 MB / 0.5136 GB, free: 21.77 MB / 446.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 -s ida -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: 5.142109830980189]