Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0008753/0.0008753, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009351/0.0009351, allocations: 170 kB / 23.95 MB, free: 0.6094 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.868/0.868, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2158/0.2158, allocations: 29.4 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.962e-05, allocations: 4.953 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006266/0.006285, allocations: 7.104 MB / 437.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.009935, allocations: 2.824 MB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.01029, allocations: 35.69 kB / 440.2 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.0114, allocations: 0.7216 MB / 440.9 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01264, allocations: 0.7186 MB / 441.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.01333, allocations: 398.1 kB / 442 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.01458, allocations: 1.391 MB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1521/0.1667, allocations: 0.5491 MB / 443.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.1676, allocations: 0.7598 MB / 444.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.1682, allocations: 0.5878 MB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.1682, allocations: 74.47 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.1688, allocations: 0.4948 MB / 445.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.169, allocations: 478.6 kB / 446.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.1692, allocations: 355.6 kB / 446.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008751/0.1701, allocations: 1.448 MB / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1701, allocations: 0 / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1701, allocations: 3.812 kB / 448.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1701, allocations: 1.5 kB / 448.1 MB, free: 43.53 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.0012/0.1713, allocations: 1.229 MB / 449.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1713, allocations: 14.39 kB / 449.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/0.1714, allocations: 138.4 kB / 449.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.1721, allocations: 225.6 kB / 449.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.1728, allocations: 0.6686 MB / 450.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1729, allocations: 59.8 kB / 450.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.173, allocations: 99.08 kB / 450.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.1738, allocations: 1.098 MB / 451.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1739, allocations: 3.156 kB / 451.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.1739, allocations: 33.75 kB / 451.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.533e-05/0.174, allocations: 71.27 kB / 451.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.1747, allocations: 0.8705 MB / 452.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.1773, allocations: 3.653 MB / 456.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.1777, allocations: 332.7 kB / 456.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.1779, allocations: 264.9 kB / 456.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1779, allocations: 16.02 kB / 456.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.1779, allocations: 38.75 kB / 456.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.1779, allocations: 4 kB / 456.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.00158/0.1795, allocations: 1.667 MB / 458.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1795, allocations: 83.92 kB / 458.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.1799, allocations: 0.6116 MB / 459.3 MB, free: 39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1799, allocations: 33.7 kB / 459.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.18, allocations: 476.2 kB / 459.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.1801, allocations: 197.1 kB / 460 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1802, allocations: 133.8 kB / 460.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.1803, allocations: 386.1 kB / 460.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1805, allocations: 247.6 kB / 460.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.1807, allocations: 477.1 kB / 461.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.1813, allocations: 0.7768 MB / 462 MB, free: 37.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1813, allocations: 3.125 kB / 462 MB, free: 37.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001037/0.1823, allocations: 1.039 MB / 463 MB, free: 36.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1823, allocations: 9.75 kB / 463 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006867/0.183, allocations: 0.7132 MB / 463.7 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.1834, allocations: 218.7 kB / 463.9 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1836, allocations: 161.5 kB / 464.1 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.1862, allocations: 5.318 MB / 469.4 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1864, allocations: 42.72 kB / 469.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1864, allocations: 29.88 kB / 469.5 MB, free: 32.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.1867, allocations: 298 kB / 469.8 MB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.1867, allocations: 70.92 kB / 469.9 MB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.1872, allocations: 0.6232 MB / 470.5 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1872, allocations: 10.78 kB / 470.5 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1872, allocations: 0 / 470.5 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1872, allocations: 3.422 kB / 470.5 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1884, allocations: 1.403 MB / 471.9 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1884, allocations: 3.188 kB / 471.9 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1888, allocations: 126.8 kB / 472 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1888, allocations: 3.281 kB / 472 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1888, allocations: 17.47 kB / 472 MB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1888, allocations: 3.469 kB / 472 MB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1888, allocations: 3.219 kB / 472 MB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.1894, allocations: 0.9329 MB / 473 MB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1895, allocations: 112 kB / 473.1 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1896, allocations: 21.7 kB / 473.1 MB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1897, allocations: 24.62 kB / 473.1 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1898, allocations: 45 kB / 473.2 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1898, allocations: 9.281 kB / 473.2 MB, free: 30.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.1901, allocations: 422.5 kB / 473.6 MB, free: 30.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1901, allocations: 0 / 473.6 MB, free: 30.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004986/0.1905, allocations: 235.1 kB / 473.8 MB, free: 30.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * 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.0008985/0.1914, allocations: 1.52 MB / 475.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.1923, allocations: 1.006 MB / 476.4 MB, free: 28.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1923, allocations: 0 / 476.4 MB, free: 28.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.1925, allocations: 249.6 kB / 476.6 MB, free: 28.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.1929, allocations: 156.2 kB / 476.8 MB, free: 28.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.1983, allocations: 6.995 MB / 483.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1987, allocations: 488.8 kB / 484.2 MB, free: 24.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.199, allocations: 193.2 kB / 484.4 MB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.1992, allocations: 326.3 kB / 484.7 MB, free: 24.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1992, allocations: 1.094 kB / 484.7 MB, free: 24.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.2339, allocations: 17.82 MB / 0.4908 GB, free: 21.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.392, allocations: 5.312 kB / 0.4908 GB, free: 21.42 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.208122343756258] Failed to read output from testmodel.py, exit status != 0: 8.49040519632399 8.498360478 8.326648645 Calling exit ...