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.0008708/0.0008708, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004111/0.004111, allocations: 163.9 kB / 24.7 MB, free: 9.402 MB / 18.57 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 0.831/0.831, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2019/0.2019, allocations: 29.42 MB / 290.9 MB, free: 2.434 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.075e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005166/0.005187, allocations: 7.044 MB / 438.5 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.008205, allocations: 2.828 MB / 441.4 MB, free: 3.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.008451, allocations: 31.75 kB / 441.4 MB, free: 3.137 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.009499, allocations: 0.7649 MB / 442.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01056, allocations: 0.7265 MB / 442.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.01113, allocations: 390.9 kB / 443.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1526/0.1638, allocations: 1.367 MB / 444.6 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.1646, allocations: 0.5528 MB / 445.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.1653, allocations: 0.759 MB / 445.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.1658, allocations: 0.5961 MB / 446.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.1659, allocations: 73.75 kB / 446.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1665, allocations: 0.4958 MB / 447.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1667, allocations: 490.9 kB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1669, allocations: 359.8 kB / 447.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.1678, allocations: 1.445 MB / 449.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1678, allocations: 0.7188 kB / 449.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1678, allocations: 0 / 449.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1678, allocations: 2.375 kB / 449.4 MB, free: 43.96 MB / 410.7 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.001186/0.169, allocations: 1.217 MB / 450.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.169, allocations: 14.58 kB / 450.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.1696, allocations: 215.9 kB / 450.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.1703, allocations: 0.6528 MB / 451.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.1704, allocations: 62.12 kB / 451.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1705, allocations: 97.91 kB / 451.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.1714, allocations: 1.119 MB / 452.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1714, allocations: 7.031 kB / 452.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1714, allocations: 32 kB / 452.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.207e-05/0.1715, allocations: 71.66 kB / 452.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.1723, allocations: 0.8823 MB / 453.7 MB, free: 42.86 MB / 410.7 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.002308/0.1746, allocations: 3.542 MB / 457.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.1749, allocations: 317.6 kB / 457.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1751, allocations: 249.3 kB / 457.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1751, allocations: 10.33 kB / 457.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.1751, allocations: 40.56 kB / 457.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.483e-06/0.1751, allocations: 0 / 457.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.002038/0.1772, allocations: 1.933 MB / 459.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1772, allocations: 88.55 kB / 459.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1775, allocations: 0.5208 MB / 460.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1775, allocations: 33.7 kB / 460.5 MB, free: 39.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1776, allocations: 491.1 kB / 460.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.1777, allocations: 195.6 kB / 461.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1778, allocations: 143.9 kB / 461.3 MB, free: 38.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.1779, allocations: 374.5 kB / 461.6 MB, free: 38.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1781, allocations: 268.4 kB / 461.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1784, allocations: 0.5081 MB / 462.4 MB, free: 37.91 MB / 410.7 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.001473/0.1798, allocations: 1.41 MB / 463.8 MB, free: 37.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1798, allocations: 0 / 463.8 MB, free: 37.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009482/0.1808, allocations: 1.02 MB / 464.8 MB, free: 36.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1808, allocations: 6.5 kB / 464.8 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006077/0.1814, allocations: 0.6868 MB / 465.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.1817, allocations: 156.2 kB / 465.7 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.182, allocations: 173.5 kB / 465.9 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.1836, allocations: 4.464 MB / 470.3 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1838, allocations: 46.58 kB / 470.4 MB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.1838, allocations: 36.88 kB / 470.4 MB, free: 32.63 MB / 410.7 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.0002397/0.1841, allocations: 315.2 kB / 470.7 MB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.1841, allocations: 66.73 kB / 470.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.1847, allocations: 0.6306 MB / 471.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1847, allocations: 9.703 kB / 471.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1847, allocations: 4 kB / 471.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1847, allocations: 0 / 471.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.1858, allocations: 1.323 MB / 472.7 MB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1858, allocations: 3.312 kB / 472.7 MB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1861, allocations: 124.8 kB / 472.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1861, allocations: 8.047 kB / 472.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1861, allocations: 17.7 kB / 472.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1861, allocations: 7.312 kB / 472.9 MB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1861, allocations: 0 / 472.9 MB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.1868, allocations: 0.946 MB / 473.8 MB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1869, allocations: 95.95 kB / 473.9 MB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.1869, allocations: 21.81 kB / 474 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1871, allocations: 26.92 kB / 474 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1871, allocations: 38.42 kB / 474 MB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1871, allocations: 17.47 kB / 474 MB, free: 30.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1873, allocations: 359.7 kB / 474.4 MB, free: 30.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 474.4 MB, free: 30.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.1877, allocations: 232.8 kB / 474.6 MB, free: 30.75 MB / 410.7 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.0002019/0.1879, allocations: 148.2 kB / 474.8 MB, free: 30.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007371/0.1887, allocations: 0.9878 MB / 475.7 MB, free: 30.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1887, allocations: 4.188 kB / 475.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.1889, allocations: 250.3 kB / 476 MB, free: 30.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1893, allocations: 140.5 kB / 476.1 MB, free: 30 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1908, allocations: 1.893 MB / 478 MB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1911, allocations: 491.5 kB / 478.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1912, allocations: 61.61 kB / 478.6 MB, free: 28.83 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1912, allocations: 3.094 kB / 478.6 MB, free: 28.83 MB / 410.7 MB Notification: Performance of Templates: time 0.0126/0.2038, allocations: 15.62 MB / 494.2 MB, free: 27.21 MB / 410.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","/var/lib/jenkins/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.8534405920654535]