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.000884/0.000884, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008931/0.0008931, 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.8771/0.8771, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.21/0.21, allocations: 29.4 MB / 290.1 MB, free: 2.441 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.533e-06/1.533e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.047e-05, allocations: 6.219 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006398/0.006419, allocations: 7.105 MB / 437.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.009991, allocations: 2.824 MB / 440.1 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.01041, allocations: 39.69 kB / 440.2 MB, free: 3.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.01174, allocations: 0.7141 MB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01309, allocations: 0.7265 MB / 441.6 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.01378, allocations: 394.8 kB / 442 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01502, allocations: 1.383 MB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1569/0.1719, allocations: 0.5555 MB / 444 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.1733, allocations: 0.7544 MB / 444.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.1739, allocations: 0.5875 MB / 445.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.174, allocations: 74.78 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1752, allocations: 0.4962 MB / 445.9 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1754, allocations: 477.3 kB / 446.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.1757, allocations: 356.8 kB / 446.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.1767, allocations: 1.446 MB / 448.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1768, allocations: 0 / 448.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1768, allocations: 1.344 kB / 448.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.908e-05/0.1768, allocations: 4.812 kB / 448.1 MB, free: 43.5 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.00173/0.1785, allocations: 1.229 MB / 449.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1786, allocations: 13.67 kB / 449.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1787, allocations: 137.4 kB / 449.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.1794, allocations: 221.7 kB / 449.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1805, allocations: 0.6776 MB / 450.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.1805, allocations: 61.61 kB / 450.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1807, allocations: 99.8 kB / 450.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1817, allocations: 1.098 MB / 451.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.1818, allocations: 3.469 kB / 451.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.1818, allocations: 34 kB / 451.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1819, allocations: 73 kB / 451.8 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.1828, allocations: 0.8646 MB / 452.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.1858, allocations: 3.654 MB / 456.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.1861, allocations: 341.2 kB / 456.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1864, allocations: 260.5 kB / 456.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1864, allocations: 9.844 kB / 456.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1864, allocations: 38.53 kB / 456.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.275e-06/0.1864, allocations: 0 / 456.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.001817/0.1882, allocations: 1.676 MB / 458.6 MB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1883, allocations: 80.86 kB / 458.7 MB, free: 39.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.1887, allocations: 0.6025 MB / 459.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1887, allocations: 36.86 kB / 459.3 MB, free: 38.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1889, allocations: 471.6 kB / 459.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.1889, allocations: 203.5 kB / 460 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1891, allocations: 136.8 kB / 460.1 MB, free: 38.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.1891, allocations: 378.6 kB / 460.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1894, allocations: 255.4 kB / 460.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1896, allocations: 478.2 kB / 461.2 MB, free: 37.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.1902, allocations: 0.7719 MB / 462 MB, free: 37.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1902, allocations: 3.156 kB / 462 MB, free: 37.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00121/0.1914, allocations: 1.042 MB / 463 MB, free: 36.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1915, allocations: 6.531 kB / 463 MB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007815/0.1922, allocations: 0.7086 MB / 463.7 MB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.1927, allocations: 230.4 kB / 463.9 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.193, allocations: 152.4 kB / 464.1 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.1958, allocations: 5.327 MB / 469.4 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.1962, allocations: 42.66 kB / 469.5 MB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.1962, allocations: 26.56 kB / 469.5 MB, free: 32.06 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.0003364/0.1966, allocations: 309 kB / 469.8 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.1966, allocations: 71.02 kB / 469.9 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.1972, allocations: 0.6194 MB / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1972, allocations: 6.312 kB / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1972, allocations: 0 / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1972, allocations: 6.094 kB / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1985, allocations: 1.402 MB / 471.9 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1985, allocations: 3.344 kB / 471.9 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1988, allocations: 123.1 kB / 472 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1988, allocations: 3.219 kB / 472 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1989, allocations: 18.2 kB / 472 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1989, allocations: 6.875 kB / 472 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1989, allocations: 160 / 472 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.1995, allocations: 0.9347 MB / 473 MB, free: 30.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1997, allocations: 112.6 kB / 473.1 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.1997, allocations: 21.81 kB / 473.1 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1999, allocations: 21.25 kB / 473.1 MB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1999, allocations: 38.89 kB / 473.2 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1999, allocations: 16.94 kB / 473.2 MB, free: 30.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.2002, allocations: 416.8 kB / 473.6 MB, free: 30.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2002, allocations: 0 / 473.6 MB, free: 30.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005414/0.2007, allocations: 235.5 kB / 473.8 MB, free: 30.12 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.0008987/0.2016, allocations: 1.518 MB / 475.3 MB, free: 29.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008817/0.2025, allocations: 1.009 MB / 476.4 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2025, allocations: 0 / 476.4 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2027, allocations: 253.4 kB / 476.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.2032, allocations: 152.2 kB / 476.7 MB, free: 28.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.2096, allocations: 6.995 MB / 483.7 MB, free: 24.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.2099, allocations: 493 kB / 484.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.2103, allocations: 189.5 kB / 484.4 MB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.2106, allocations: 338.2 kB / 484.7 MB, free: 24.29 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2106, allocations: 0 / 484.7 MB, free: 24.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.2483, allocations: 17.81 MB / 0.4908 GB, free: 21.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.429, allocations: 1.375 kB / 0.4908 GB, free: 21.39 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.332367353141308] Failed to read output from testmodel.py, exit status != 0: 8.524756053462625 8.532290786 8.354060017 Calling exit ...