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.001279/0.001279, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001381/0.001381, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.1878/0.1878, allocations: 38.51 MB / 348.7 MB, free: 2.586 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 71.91 kB / 487.2 MB, free: 22.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1465, allocations: 62.41 MB / 0.5367 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01229/0.1588, allocations: 9.671 MB / 0.5461 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008155/0.167, allocations: 3.634 MB / 0.5497 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1681, allocations: 47.62 kB / 0.5497 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.1715, allocations: 1.124 MB / 0.5508 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.1742, allocations: 0.8943 MB / 0.5517 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1756, allocations: 482.9 kB / 0.5522 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1784, allocations: 1.808 MB / 0.5539 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.1796, allocations: 0.7748 MB / 0.5547 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.181, allocations: 0.786 MB / 0.5554 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.1825, allocations: 0.9617 MB / 0.5564 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.1827, allocations: 104 kB / 0.5565 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.1839, allocations: 0.581 MB / 0.5571 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000698/0.1846, allocations: 0.6584 MB / 0.5577 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.1854, allocations: 0.6959 MB / 0.5584 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.1878, allocations: 1.927 MB / 0.5603 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1878, allocations: 0 / 0.5603 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1879, allocations: 0 / 0.5603 GB, free: 15.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.1879, allocations: 0 / 0.5603 GB, free: 15.28 MB / 430.1 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.003232/0.1911, allocations: 1.68 MB / 0.5619 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1912, allocations: 8.031 kB / 0.5619 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.1914, allocations: 181.6 kB / 0.5621 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.1933, allocations: 307.8 kB / 0.5624 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.1953, allocations: 0.9572 MB / 0.5633 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.1954, allocations: 78.05 kB / 0.5634 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.1957, allocations: 135.9 kB / 0.5635 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.1981, allocations: 1.489 MB / 0.565 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.1982, allocations: 11.89 kB / 0.565 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.1983, allocations: 43.98 kB / 0.565 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003394/0.1986, allocations: 102.1 kB / 0.5651 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2008, allocations: 1.262 MB / 0.5663 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008332/0.2091, allocations: 5.635 MB / 0.5718 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/0.2101, allocations: 0.5547 MB / 0.5724 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.2106, allocations: 379.8 kB / 0.5728 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.2107, allocations: 16.55 kB / 0.5728 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2107, allocations: 35.12 kB / 0.5728 GB, free: 1.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.454e-06/0.2107, allocations: 0 / 0.5728 GB, free: 1.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.008153/0.2189, allocations: 3.672 MB / 0.5764 GB, free: 14.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.219, allocations: 85.77 kB / 0.5765 GB, free: 13.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.22, allocations: 0.7314 MB / 0.5772 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.22, allocations: 45.64 kB / 0.5772 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.2205, allocations: 0.6013 MB / 0.5778 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.2208, allocations: 289.5 kB / 0.5781 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.2211, allocations: 182.6 kB / 0.5783 GB, free: 12.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.2213, allocations: 410.8 kB / 0.5787 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.222, allocations: 385.8 kB / 0.579 GB, free: 11.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009263/0.2229, allocations: 0.6612 MB / 0.5797 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.2246, allocations: 1.144 MB / 0.5808 GB, free: 9.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2246, allocations: 4 kB / 0.5808 GB, free: 9.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003836/0.2284, allocations: 1.682 MB / 0.5824 GB, free: 7.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2285, allocations: 16.28 kB / 0.5824 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002883/0.2314, allocations: 1.29 MB / 0.5837 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.2335, allocations: 0.5769 MB / 0.5843 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.2342, allocations: 179.7 kB / 0.5844 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2457/0.4799, allocations: 10.34 MB / 0.5945 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.4807, allocations: 47.36 kB / 0.5946 GB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.4808, allocations: 45.22 kB / 0.5946 GB, free: 46.6 MB / 446.1 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.0005968/0.4814, allocations: 383.1 kB / 0.595 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.4816, allocations: 99.36 kB / 0.5951 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.4841, allocations: 1.237 MB / 0.5963 GB, free: 45.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4841, allocations: 7.75 kB / 0.5963 GB, free: 45.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4841, allocations: 7.312 kB / 0.5963 GB, free: 45.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4841, allocations: 4.047 kB / 0.5963 GB, free: 45.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.4887, allocations: 2.396 MB / 0.5987 GB, free: 44.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4887, allocations: 2.562 kB / 0.5987 GB, free: 44.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.4892, allocations: 106.4 kB / 0.5988 GB, free: 44.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.4904, allocations: 384.1 kB / 0.5991 GB, free: 44.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.4905, allocations: 24.3 kB / 0.5991 GB, free: 44.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006965/0.4975, allocations: 9.296 MB / 0.6082 GB, free: 36.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.4975, allocations: 6.906 kB / 0.6082 GB, free: 36.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.5004, allocations: 1.673 MB / 0.6099 GB, free: 35.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.5009, allocations: 231.1 kB / 0.6101 GB, free: 35.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.501, allocations: 26.28 kB / 0.6101 GB, free: 35.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.5015, allocations: 27.09 kB / 0.6101 GB, free: 35.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.5017, allocations: 68.33 kB / 0.6102 GB, free: 35.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.5017, allocations: 22.36 kB / 0.6102 GB, free: 35.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006692/0.5024, allocations: 0.5081 MB / 0.6107 GB, free: 35.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5024, allocations: 1 kB / 0.6107 GB, free: 35.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00146/0.5038, allocations: 365 kB / 0.6111 GB, free: 35.55 MB / 446.1 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.002994/0.5068, allocations: 2.273 MB / 0.6133 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.5094, allocations: 1.535 MB / 0.6148 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5094, allocations: 0 / 0.6148 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.5109, allocations: 1.073 MB / 0.6158 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5121, allocations: 213.1 kB / 0.616 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.5256, allocations: 9.907 MB / 0.6257 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.5263, allocations: 1.255 MB / 0.6269 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005857/0.5269, allocations: 213 kB / 0.6271 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.5273, allocations: 444.1 kB / 0.6276 GB, free: 25.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5273, allocations: 3.938 kB / 0.6276 GB, free: 25.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/0.5909, allocations: 25.24 MB / 0.6522 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.4, allocations: 2.125 kB / 0.6522 GB, free: 0.8828 MB / 446.1 MB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 17.329075369998463] Failed to read output from testmodel.py, exit status != 0: 14.515644329003408 14.543876811 14.350632289 Calling exit ...