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.001197/0.001197, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.001321/0.001321, allocations: 170 kB / 23.94 MB, free: 0.6055 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.8958/0.8958, allocations: 177.2 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.2253/0.2253, allocations: 29.41 MB / 290.2 MB, free: 2.434 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.713e-06/1.713e-06, allocations: 0 / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.494e-05, allocations: 4.953 kB / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008808/0.008823, allocations: 8.914 MB / 439.2 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004069/0.01289, allocations: 3.365 MB / 442.6 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.01328, allocations: 47.62 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.01466, allocations: 1.077 MB / 443.7 MB, free: 152 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1543/0.169, allocations: 0.8933 MB / 444.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.1699, allocations: 0.5084 MB / 445.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1713, allocations: 1.813 MB / 446.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.1719, allocations: 0.737 MB / 447.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.1727, allocations: 1.034 MB / 448.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.1733, allocations: 0.8504 MB / 449.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.1734, allocations: 105.7 kB / 449.6 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.174, allocations: 0.5826 MB / 450.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.1743, allocations: 0.644 MB / 450.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.1748, allocations: 0.4906 MB / 451.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1764, allocations: 1.94 MB / 453.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1764, allocations: 3.375 kB / 453.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1764, allocations: 3.375 kB / 453.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.1764, allocations: 0 / 453.3 MB, free: 42.96 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.002548/0.1789, allocations: 1.601 MB / 454.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.179, allocations: 13.17 kB / 454.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.1792, allocations: 179.5 kB / 455.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.1806, allocations: 312.6 kB / 455.4 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.1821, allocations: 0.8746 MB / 456.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.1822, allocations: 82.27 kB / 456.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.1824, allocations: 136.8 kB / 456.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.1842, allocations: 1.492 MB / 458 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.1843, allocations: 7.328 kB / 458 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.1843, allocations: 47.62 kB / 458 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.1845, allocations: 101.8 kB / 458.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1857, allocations: 1.251 MB / 459.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.1892, allocations: 4.873 MB / 464.3 MB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.1898, allocations: 0.5612 MB / 464.8 MB, free: 37.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.1901, allocations: 375.8 kB / 465.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1901, allocations: 11.06 kB / 465.2 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1901, allocations: 41.53 kB / 465.2 MB, free: 37.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 1.863e-06/0.1901, allocations: 7.188 kB / 465.2 MB, free: 37.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.003548/0.1937, allocations: 3.199 MB / 468.4 MB, free: 35.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1937, allocations: 84.36 kB / 468.5 MB, free: 35.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1942, allocations: 0.7531 MB / 469.3 MB, free: 35.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1942, allocations: 40.83 kB / 469.3 MB, free: 35.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1944, allocations: 0.6087 MB / 469.9 MB, free: 34.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1945, allocations: 275 kB / 470.2 MB, free: 34.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.1946, allocations: 189.8 kB / 470.4 MB, free: 34.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.1947, allocations: 409.8 kB / 470.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.1951, allocations: 387.5 kB / 471.2 MB, free: 34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.1955, allocations: 0.6617 MB / 471.8 MB, free: 33.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.1963, allocations: 1.148 MB / 473 MB, free: 32.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1963, allocations: 5.375 kB / 473 MB, free: 32.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001745/0.198, allocations: 1.695 MB / 474.7 MB, free: 32.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1981, allocations: 9.469 kB / 474.7 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001386/0.1994, allocations: 1.283 MB / 476 MB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/0.2004, allocations: 0.5658 MB / 476.5 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2007, allocations: 180.3 kB / 476.7 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006713/0.2074, allocations: 9.748 MB / 486.4 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.2078, allocations: 48 kB / 486.5 MB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.2078, allocations: 45.41 kB / 486.5 MB, free: 24.62 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.0003974/0.2082, allocations: 383.3 kB / 486.9 MB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.2083, allocations: 98.7 kB / 487 MB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2098, allocations: 1.237 MB / 488.2 MB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2098, allocations: 11.36 kB / 488.3 MB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2098, allocations: 4.125 kB / 488.3 MB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2098, allocations: 7.422 kB / 488.3 MB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.2123, allocations: 2.278 MB / 490.5 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2123, allocations: 1.844 kB / 490.5 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.2126, allocations: 115 kB / 490.7 MB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006356/0.2132, allocations: 369.3 kB / 491 MB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.2133, allocations: 34.69 kB / 491.1 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004535/0.2178, allocations: 8.726 MB / 499.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2178, allocations: 2.969 kB / 499.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.2207, allocations: 1.674 MB / 0.4897 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.221, allocations: 154.2 kB / 0.4899 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.2212, allocations: 25.2 kB / 0.4899 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.2216, allocations: 25.94 kB / 0.4899 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.2217, allocations: 68.72 kB / 0.49 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.2218, allocations: 23.73 kB / 0.49 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007522/0.2225, allocations: 0.5047 MB / 0.4905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2225, allocations: 5.031 kB / 0.4905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001604/0.2241, allocations: 371.4 kB / 0.4908 GB, free: 14.06 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.002683/0.2268, allocations: 2.253 MB / 0.493 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2284, allocations: 1.529 MB / 0.4945 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2284, allocations: 0 / 0.4945 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.2292, allocations: 1.074 MB / 0.4956 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.2298, allocations: 213 kB / 0.4958 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00936/0.2392, allocations: 9.755 MB / 0.5053 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.2398, allocations: 0.6644 MB / 0.506 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.2402, allocations: 209.1 kB / 0.5062 GB, free: 5.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.2405, allocations: 453.2 kB / 0.5066 GB, free: 5.547 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2405, allocations: 0 / 0.5066 GB, free: 5.547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.283, allocations: 26.43 MB / 0.5324 GB, free: 12.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.813, allocations: 7.188 kB / 0.5324 GB, free: 12.46 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.771910202689469] Failed to read output from testmodel.py, exit status != 0: 8.914674066007137 8.922560803 8.744500464 Calling exit ...