Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0008081/0.0008081, 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.003928/0.003928, allocations: 161.2 kB / 24.7 MB, free: 9.426 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.8342/0.8342, allocations: 177.2 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.2024/0.2024, allocations: 29.41 MB / 290.8 MB, free: 2.426 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.253e-05, allocations: 2.281 kB / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.006169/0.006191, allocations: 8.916 MB / 440.4 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.009743, allocations: 3.365 MB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.0101, allocations: 43.62 kB / 443.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1457/0.1558, allocations: 1.078 MB / 444.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.1574, allocations: 0.9297 MB / 445.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.1582, allocations: 0.4925 MB / 446.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1592, allocations: 1.855 MB / 448.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.1598, allocations: 0.7437 MB / 448.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.1604, allocations: 1.038 MB / 450 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.161, allocations: 0.8553 MB / 450.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.1611, allocations: 105 kB / 450.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1615, allocations: 0.5842 MB / 451.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.1618, allocations: 0.6815 MB / 452.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.1621, allocations: 498 kB / 452.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1631, allocations: 1.943 MB / 454.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1631, allocations: 3.938 kB / 454.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1631, allocations: 0 / 454.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1631, allocations: 0 / 454.6 MB, free: 42.88 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001453/0.1646, allocations: 1.582 MB / 456.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1646, allocations: 13.36 kB / 456.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.1654, allocations: 315.4 kB / 456.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.1663, allocations: 0.8827 MB / 457.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1664, allocations: 78.95 kB / 457.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.1665, allocations: 137.1 kB / 457.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1676, allocations: 1.494 MB / 459.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.1677, allocations: 11.23 kB / 459.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.1677, allocations: 44.28 kB / 459.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.1679, allocations: 99.27 kB / 459.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1689, allocations: 1.251 MB / 460.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.1721, allocations: 4.7 MB / 465.2 MB, free: 37.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.1726, allocations: 0.5569 MB / 465.8 MB, free: 37.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.1728, allocations: 378.5 kB / 466.1 MB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.1729, allocations: 14.38 kB / 466.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.1729, allocations: 38.41 kB / 466.2 MB, free: 36.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 1.994e-06/0.1729, allocations: 0 / 466.2 MB, free: 36.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.00335/0.1762, allocations: 3.193 MB / 469.4 MB, free: 35.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1763, allocations: 87.61 kB / 469.5 MB, free: 35.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.1766, allocations: 0.6874 MB / 470.1 MB, free: 35.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1767, allocations: 41.02 kB / 470.2 MB, free: 35.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1768, allocations: 0.6163 MB / 470.8 MB, free: 34.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.1769, allocations: 273.6 kB / 471.1 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.177, allocations: 182.2 kB / 471.2 MB, free: 34.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.1771, allocations: 401.8 kB / 471.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1774, allocations: 390.2 kB / 472 MB, free: 33.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1778, allocations: 0.6651 MB / 472.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.1786, allocations: 1.145 MB / 473.8 MB, free: 32.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1786, allocations: 2.969 kB / 473.8 MB, free: 32.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001584/0.1801, allocations: 1.685 MB / 475.5 MB, free: 32.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1802, allocations: 10.88 kB / 475.5 MB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001275/0.1814, allocations: 1.292 MB / 476.8 MB, free: 31.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008773/0.1823, allocations: 0.574 MB / 477.4 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1826, allocations: 173.3 kB / 477.6 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.1882, allocations: 9.666 MB / 487.2 MB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.1885, allocations: 48.06 kB / 487.3 MB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.1885, allocations: 40.94 kB / 487.3 MB, free: 24.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.1888, allocations: 383.3 kB / 487.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.1889, allocations: 91.88 kB / 487.8 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1901, allocations: 1.24 MB / 489 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1901, allocations: 6.875 kB / 489 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1901, allocations: 7.875 kB / 489 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1901, allocations: 8.688 kB / 489 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.1922, allocations: 2.128 MB / 491.2 MB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1922, allocations: 2.531 kB / 491.2 MB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.1924, allocations: 105.2 kB / 491.3 MB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.193, allocations: 371.5 kB / 491.6 MB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.193, allocations: 26.38 kB / 491.7 MB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/0.1966, allocations: 8.617 MB / 0.4886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1966, allocations: 1.625 kB / 0.4886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.1982, allocations: 1.668 MB / 0.4902 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1983, allocations: 144 kB / 0.4903 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.1984, allocations: 29.84 kB / 0.4904 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1986, allocations: 29.59 kB / 0.4904 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.1987, allocations: 65.44 kB / 0.4904 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.1987, allocations: 23.36 kB / 0.4905 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.1991, allocations: 475.8 kB / 0.4909 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1991, allocations: 0 / 0.4909 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008059/0.1999, allocations: 362.6 kB / 0.4913 GB, free: 14.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002259/0.2001, allocations: 146.5 kB / 0.4914 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.2014, allocations: 1.523 MB / 0.4929 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2014, allocations: 5.125 kB / 0.4929 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.2022, allocations: 1.065 MB / 0.4939 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.2028, allocations: 200.8 kB / 0.4941 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.2052, allocations: 2.659 MB / 0.4967 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.2058, allocations: 0.6598 MB / 0.4974 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2059, allocations: 68 kB / 0.4974 GB, free: 11.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2059, allocations: 0 / 0.4974 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Templates: time 0.01971/0.2256, allocations: 33.34 MB / 0.53 GB, free: 124 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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: 6.685708098113537]