Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0007575/0.0007575, 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.0008049/0.0008049, allocations: 170.3 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.8695/0.8695, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2249/0.2249, allocations: 29.41 MB / 290.1 MB, free: 2.445 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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.257e-05, allocations: 4.391 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.006728/0.006741, allocations: 8.918 MB / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.01067, allocations: 3.369 MB / 442.5 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.01107, allocations: 47.62 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.01244, allocations: 1.088 MB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1526/0.1651, allocations: 0.9162 MB / 444.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1661, allocations: 0.4997 MB / 445.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1676, allocations: 1.853 MB / 446.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.1683, allocations: 0.7422 MB / 447.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.1692, allocations: 1.039 MB / 448.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.1699, allocations: 0.8536 MB / 449.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.17, allocations: 104 kB / 449.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/0.1707, allocations: 0.5861 MB / 450.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.171, allocations: 0.6819 MB / 450.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.1713, allocations: 498.5 kB / 451.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1724, allocations: 1.934 MB / 453.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1725, allocations: 0 / 453.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1725, allocations: 0 / 453.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1725, allocations: 1.5 kB / 453.3 MB, free: 42.51 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.001696/0.1742, allocations: 1.589 MB / 454.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1742, allocations: 13.61 kB / 454.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.1743, allocations: 177.9 kB / 455.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.1753, allocations: 321.5 kB / 455.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1763, allocations: 0.8726 MB / 456.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.1763, allocations: 84.42 kB / 456.4 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1765, allocations: 139.1 kB / 456.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1778, allocations: 1.489 MB / 458 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.1778, allocations: 7.297 kB / 458 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.1779, allocations: 51.78 kB / 458.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.178, allocations: 99.84 kB / 458.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1792, allocations: 1.249 MB / 459.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.1833, allocations: 4.87 MB / 464.3 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.1839, allocations: 0.5641 MB / 464.8 MB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.1842, allocations: 381.3 kB / 465.2 MB, free: 36.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.1842, allocations: 9.875 kB / 465.2 MB, free: 36.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1843, allocations: 38.34 kB / 465.3 MB, free: 36.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.435e-06/0.1843, allocations: 0 / 465.3 MB, free: 36.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.004046/0.1883, allocations: 3.199 MB / 468.5 MB, free: 35.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1884, allocations: 91.36 kB / 468.6 MB, free: 35.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.1889, allocations: 0.7448 MB / 469.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.189, allocations: 44.95 kB / 469.3 MB, free: 34.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1892, allocations: 0.6044 MB / 469.9 MB, free: 34.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.1893, allocations: 277.9 kB / 470.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1894, allocations: 182.8 kB / 470.4 MB, free: 33.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.1895, allocations: 407.9 kB / 470.8 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1898, allocations: 385.8 kB / 471.2 MB, free: 33.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.1902, allocations: 0.662 MB / 471.8 MB, free: 33.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.191, allocations: 1.142 MB / 473 MB, free: 32.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1911, allocations: 2.969 kB / 473 MB, free: 32.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001716/0.1928, allocations: 1.701 MB / 474.7 MB, free: 31.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1928, allocations: 8.031 kB / 474.7 MB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00135/0.1941, allocations: 1.286 MB / 476 MB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009503/0.1951, allocations: 0.577 MB / 476.6 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.1954, allocations: 172.5 kB / 476.7 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.2016, allocations: 9.75 MB / 486.5 MB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.2022, allocations: 48.25 kB / 486.5 MB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.2022, allocations: 45.28 kB / 486.6 MB, free: 24.3 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.0004608/0.2027, allocations: 393.4 kB / 486.9 MB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.2028, allocations: 94.52 kB / 487 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.2041, allocations: 1.238 MB / 488.3 MB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2041, allocations: 7.844 kB / 488.3 MB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2041, allocations: 7.656 kB / 488.3 MB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2041, allocations: 8.156 kB / 488.3 MB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.2068, allocations: 2.277 MB / 490.6 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2068, allocations: 2.594 kB / 490.6 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.2071, allocations: 106.4 kB / 490.7 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/0.2077, allocations: 379.1 kB / 491.1 MB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.2078, allocations: 27.89 kB / 491.1 MB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.2121, allocations: 8.733 MB / 499.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2121, allocations: 2.75 kB / 499.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.2141, allocations: 1.669 MB / 0.4897 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.2144, allocations: 158.4 kB / 0.4899 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.2145, allocations: 24.7 kB / 0.4899 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.2147, allocations: 26.48 kB / 0.4899 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2149, allocations: 64.67 kB / 0.49 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.2149, allocations: 27.8 kB / 0.49 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005514/0.2155, allocations: 0.5082 MB / 0.4905 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2155, allocations: 0 / 0.4905 GB, free: 13.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001189/0.2167, allocations: 364.9 kB / 0.4909 GB, free: 13.86 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.002254/0.2189, allocations: 2.254 MB / 0.4931 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.2208, allocations: 1.524 MB / 0.4946 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2208, allocations: 0 / 0.4946 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.2217, allocations: 1.077 MB / 0.4956 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/0.2225, allocations: 216.6 kB / 0.4958 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.2336, allocations: 9.755 MB / 0.5053 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.2342, allocations: 0.6631 MB / 0.506 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004278/0.2346, allocations: 210.7 kB / 0.5062 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.2349, allocations: 445.2 kB / 0.5066 GB, free: 5.434 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2349, allocations: 4 kB / 0.5066 GB, free: 5.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.2753, allocations: 26.36 MB / 0.5324 GB, free: 12.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.657, allocations: 3.094 kB / 0.5324 GB, free: 12.45 MB / 442.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_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_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.543324213474989] Failed to read output from testmodel.py, exit status != 0: 8.75732212420553 8.765867303 8.59111319 Calling exit ...