Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.0008446/0.0008446, allocations: 83.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.004557/0.004557, allocations: 158.6 kB / 24.7 MB, free: 8.891 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.8443/0.8443, allocations: 177.1 MB / 205 MB, free: 5.73 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.2072/0.2072, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.474e-05, allocations: 4.25 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004801/0.004826, allocations: 5.188 MB / 436.7 MB, free: 7.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.008945, allocations: 3.825 MB / 440.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.009226, allocations: 23.81 kB / 440.5 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1635/0.1727, allocations: 5.412 MB / 445.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009502/0.1736, allocations: 357.8 kB / 446.3 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.1743, allocations: 258.1 kB / 446.5 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.176, allocations: 1.67 MB / 448.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.1765, allocations: 321 kB / 448.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.177, allocations: 0.4982 MB / 449 MB, free: 46.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.1774, allocations: 426.7 kB / 449.4 MB, free: 46.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.1775, allocations: 47.59 kB / 449.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1777, allocations: 117.1 kB / 449.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1779, allocations: 297.2 kB / 449.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.178, allocations: 221.9 kB / 450.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.1787, allocations: 0.7527 MB / 450.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1787, allocations: 3.562 kB / 450.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1787, allocations: 0 / 450.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1787, allocations: 3.719 kB / 450.9 MB, free: 45.98 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001165/0.1799, allocations: 0.835 MB / 451.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/0.18, allocations: 9.75 kB / 451.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.1803, allocations: 107.6 kB / 451.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1809, allocations: 491.1 kB / 452.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1809, allocations: 38.53 kB / 452.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.181, allocations: 56.88 kB / 452.4 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.1816, allocations: 0.6553 MB / 453 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1816, allocations: 0 / 453 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1816, allocations: 16.81 kB / 453 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.486e-05/0.1817, allocations: 50.83 kB / 453.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.1822, allocations: 491.2 kB / 453.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1838, allocations: 2.258 MB / 455.8 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1841, allocations: 301.5 kB / 456.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1843, allocations: 167.6 kB / 456.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1843, allocations: 6.516 kB / 456.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1843, allocations: 43.75 kB / 456.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.1843, allocations: 2.906 kB / 456.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001389/0.1857, allocations: 1.265 MB / 457.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1857, allocations: 110.1 kB / 457.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.186, allocations: 406.6 kB / 458.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.186, allocations: 29.7 kB / 458.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1861, allocations: 317.8 kB / 458.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.1861, allocations: 129.5 kB / 458.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.1862, allocations: 85.84 kB / 458.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.1863, allocations: 361.9 kB / 459 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1864, allocations: 160.7 kB / 459.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.1866, allocations: 300.9 kB / 459.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1869, allocations: 491.7 kB / 459.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1869, allocations: 3.094 kB / 460 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006967/0.1876, allocations: 0.7209 MB / 460.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1877, allocations: 9.562 kB / 460.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1877, allocations: 3.125 kB / 460.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.1881, allocations: 205.5 kB / 460.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1883, allocations: 74.78 kB / 461 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.1909, allocations: 3.943 MB / 464.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1911, allocations: 21.06 kB / 464.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1911, allocations: 23.23 kB / 464.9 MB, free: 37.75 MB / 410.7 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.1913, allocations: 218 kB / 465.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1914, allocations: 46.58 kB / 465.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.1918, allocations: 0.4912 MB / 465.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1918, allocations: 6.312 kB / 465.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1918, allocations: 0 / 465.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1919, allocations: 10.16 kB / 465.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.1927, allocations: 0.9121 MB / 466.6 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1927, allocations: 0 / 466.6 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1929, allocations: 73.11 kB / 466.7 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.971e-05/0.193, allocations: 50.42 kB / 466.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.1931, allocations: 19.77 kB / 466.8 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008018/0.1939, allocations: 2.58 MB / 469.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1939, allocations: 2.938 kB / 469.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.1945, allocations: 0.8057 MB / 470.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1946, allocations: 63.64 kB / 470.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1946, allocations: 13.39 kB / 470.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1948, allocations: 11 kB / 470.2 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.1948, allocations: 31.08 kB / 470.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1949, allocations: 6.25 kB / 470.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.195, allocations: 275.9 kB / 470.5 MB, free: 33.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.195, allocations: 0 / 470.5 MB, free: 33.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.1955, allocations: 130.9 kB / 470.7 MB, free: 33.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.1957, allocations: 115 kB / 470.8 MB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.1964, allocations: 0.7216 MB / 471.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1964, allocations: 0 / 471.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.1967, allocations: 404.4 kB / 471.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1972, allocations: 112.7 kB / 472 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1985, allocations: 1.376 MB / 473.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1987, allocations: 344.4 kB / 473.7 MB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1988, allocations: 41.16 kB / 473.8 MB, free: 32.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1988, allocations: 0 / 473.8 MB, free: 32.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01165/0.2105, allocations: 11.47 MB / 485.2 MB, free: 31.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.218146648257971]