Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001524/0.001524, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002344/0.002344, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 9.016 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.1771/0.1771, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.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.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [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.002193/0.002193, allocations: 67.91 kB / 431.2 MB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3235, allocations: 62.44 MB / 493.7 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006794/0.3303, allocations: 7.094 MB / 0.489 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.3344, allocations: 2.832 MB / 0.4918 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.3347, allocations: 35.22 kB / 0.4918 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3364, allocations: 0.7617 MB / 0.4926 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.3379, allocations: 0.7042 MB / 0.4932 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.3387, allocations: 381.6 kB / 0.4936 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3401, allocations: 1.333 MB / 0.4949 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.3408, allocations: 0.559 MB / 0.4955 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006698/0.3415, allocations: 0.5771 MB / 0.496 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.3422, allocations: 0.6341 MB / 0.4966 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3423, allocations: 76.28 kB / 0.4967 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.3431, allocations: 0.4932 MB / 0.4972 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.3435, allocations: 471.8 kB / 0.4976 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.3438, allocations: 429.7 kB / 0.4981 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.345, allocations: 1.444 MB / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.345, allocations: 3.938 kB / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.345, allocations: 0 / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.345, allocations: 0 / 0.4995 GB, free: 27.84 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001842/0.3469, allocations: 1.223 MB / 0.5007 GB, free: 27.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3469, allocations: 13.64 kB / 0.5007 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.3482, allocations: 223.2 kB / 0.5009 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3494, allocations: 0.6461 MB / 0.5015 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.3494, allocations: 67.08 kB / 0.5016 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.3496, allocations: 101.6 kB / 0.5017 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3509, allocations: 1.113 MB / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.351, allocations: 6.812 kB / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.351, allocations: 30.31 kB / 0.5028 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.3512, allocations: 69.48 kB / 0.5029 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3523, allocations: 0.8877 MB / 0.5037 GB, free: 25.75 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.3564, allocations: 3.55 MB / 0.5072 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.3569, allocations: 326.5 kB / 0.5075 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.3572, allocations: 250.6 kB / 0.5077 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.3572, allocations: 9.719 kB / 0.5078 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3572, allocations: 41.5 kB / 0.5078 GB, free: 23.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.235e-06/0.3572, allocations: 0 / 0.5078 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.003545/0.3608, allocations: 1.913 MB / 0.5097 GB, free: 22.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3608, allocations: 83.95 kB / 0.5097 GB, free: 22.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.3613, allocations: 0.5282 MB / 0.5103 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.3613, allocations: 33.7 kB / 0.5103 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3615, allocations: 488.8 kB / 0.5108 GB, free: 21.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3616, allocations: 199.4 kB / 0.511 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3618, allocations: 150.7 kB / 0.5111 GB, free: 21.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.3619, allocations: 375 kB / 0.5115 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.3622, allocations: 267.7 kB / 0.5117 GB, free: 20.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.3628, allocations: 0.5056 MB / 0.5122 GB, free: 20.36 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.3655, allocations: 1.419 MB / 0.5136 GB, free: 19.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3655, allocations: 2.969 kB / 0.5136 GB, free: 19.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001714/0.3672, allocations: 1.006 MB / 0.5146 GB, free: 19.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3673, allocations: 7.312 kB / 0.5146 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001117/0.3684, allocations: 0.6836 MB / 0.5152 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.3689, allocations: 163 kB / 0.5154 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.3695, allocations: 173.4 kB / 0.5156 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.3724, allocations: 4.468 MB / 0.5199 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.373, allocations: 44.84 kB / 0.52 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.373, allocations: 38.19 kB / 0.52 GB, free: 14.92 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004561/0.3735, allocations: 319.8 kB / 0.5203 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3736, allocations: 68.83 kB / 0.5204 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3746, allocations: 0.6332 MB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3746, allocations: 6.5 kB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.3746, allocations: 0 / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.3746, allocations: 8.219 kB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.3769, allocations: 1.318 MB / 0.5223 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3769, allocations: 1.812 kB / 0.5223 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.3776, allocations: 120 kB / 0.5224 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3776, allocations: 3.5 kB / 0.5224 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.3776, allocations: 21.27 kB / 0.5224 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3776, allocations: 7.312 kB / 0.5224 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3776, allocations: 6.938 kB / 0.5225 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3788, allocations: 0.9491 MB / 0.5234 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3791, allocations: 103.2 kB / 0.5235 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.96e-05/0.3792, allocations: 17.34 kB / 0.5235 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.3795, allocations: 17.59 kB / 0.5235 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.3796, allocations: 33.89 kB / 0.5235 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3796, allocations: 17.69 kB / 0.5236 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000573/0.3802, allocations: 360.9 kB / 0.5239 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3802, allocations: 0 / 0.5239 GB, free: 13.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001037/0.3812, allocations: 238.5 kB / 0.5241 GB, free: 12.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (55): * Single equations (assignments): 54 * Array equations: 0 * 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.0002937/0.3815, allocations: 150.1 kB / 0.5243 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3831, allocations: 0.9876 MB / 0.5252 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3831, allocations: 2.625 kB / 0.5252 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.3835, allocations: 253.1 kB / 0.5255 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.3842, allocations: 143.4 kB / 0.5256 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.3871, allocations: 1.958 MB / 0.5275 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.3877, allocations: 490.7 kB / 0.528 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005275/0.3882, allocations: 195.6 kB / 0.5282 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3884, allocations: 59.92 kB / 0.5282 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3884, allocations: 0 / 0.5282 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01751/0.4059, allocations: 8.167 MB / 0.5362 GB, free: 9.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.254153858986683]