Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001685/0.001685, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002061/0.002061, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.471/1.471, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1883/0.1883, allocations: 38.51 MB / 348.7 MB, free: 2.656 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-master/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_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",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.002001/0.002001, allocations: 68.17 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 62.41 MB / 0.5367 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009726/0.1232, allocations: 7.607 MB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.1285, allocations: 3.038 MB / 0.5471 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.129, allocations: 39.62 kB / 0.5471 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.1311, allocations: 0.7545 MB / 0.5479 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.1328, allocations: 0.7037 MB / 0.5486 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1338, allocations: 373.8 kB / 0.5489 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.1358, allocations: 1.352 MB / 0.5502 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009479/0.1367, allocations: 0.5725 MB / 0.5508 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1378, allocations: 0.5721 MB / 0.5513 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1388, allocations: 0.6618 MB / 0.552 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.1389, allocations: 79.94 kB / 0.5521 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.1399, allocations: 0.5029 MB / 0.5526 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.1403, allocations: 454.8 kB / 0.553 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.1408, allocations: 0.5092 MB / 0.5535 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.1426, allocations: 1.432 MB / 0.5549 GB, free: 4.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1426, allocations: 3.984 kB / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1426, allocations: 4 kB / 0.5549 GB, free: 4.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.1426, allocations: 0 / 0.5549 GB, free: 4.844 MB / 414.1 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.002533/0.1451, allocations: 1.307 MB / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1452, allocations: 12.03 kB / 0.5562 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.1454, allocations: 143.6 kB / 0.5563 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.1467, allocations: 208.1 kB / 0.5565 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1483, allocations: 0.7454 MB / 0.5573 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.1483, allocations: 62.12 kB / 0.5573 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.1486, allocations: 107.9 kB / 0.5574 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1503, allocations: 1.092 MB / 0.5585 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.1503, allocations: 4 kB / 0.5585 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.1504, allocations: 39.92 kB / 0.5585 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.1506, allocations: 73.95 kB / 0.5586 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.1521, allocations: 0.8665 MB / 0.5594 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.1578, allocations: 3.982 MB / 0.5633 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.1585, allocations: 415.9 kB / 0.5637 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.1589, allocations: 269.7 kB / 0.564 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1589, allocations: 8.438 kB / 0.564 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.159, allocations: 42.94 kB / 0.564 GB, free: 11.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.194e-06/0.159, allocations: 0 / 0.564 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.003208/0.1622, allocations: 1.739 MB / 0.5657 GB, free: 9.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.1622, allocations: 81.55 kB / 0.5658 GB, free: 9.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.163, allocations: 0.5901 MB / 0.5664 GB, free: 8.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.163, allocations: 33.7 kB / 0.5664 GB, free: 8.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.1634, allocations: 487.7 kB / 0.5669 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.1636, allocations: 190.4 kB / 0.5671 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1638, allocations: 146.6 kB / 0.5672 GB, free: 7.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.164, allocations: 382.8 kB / 0.5676 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1644, allocations: 249.8 kB / 0.5678 GB, free: 7.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.165, allocations: 477 kB / 0.5683 GB, free: 6.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.1661, allocations: 0.7741 MB / 0.569 GB, free: 5.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1661, allocations: 0 / 0.569 GB, free: 5.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002296/0.1684, allocations: 1.115 MB / 0.5701 GB, free: 4.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.1684, allocations: 8 kB / 0.5701 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.17, allocations: 0.7857 MB / 0.5709 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008031/0.1708, allocations: 226.6 kB / 0.5711 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.1713, allocations: 151.7 kB / 0.5712 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.1778, allocations: 5.681 MB / 0.5768 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.1784, allocations: 35.97 kB / 0.5768 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.1785, allocations: 28 kB / 0.5768 GB, free: 13.17 MB / 446.1 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.0004723/0.1789, allocations: 325.4 kB / 0.5772 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1791, allocations: 71.53 kB / 0.5772 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1801, allocations: 0.6046 MB / 0.5778 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1801, allocations: 4 kB / 0.5778 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1801, allocations: 4 kB / 0.5778 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1802, allocations: 3.984 kB / 0.5778 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.1827, allocations: 1.486 MB / 0.5793 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1827, allocations: 160 / 0.5793 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.1834, allocations: 131.9 kB / 0.5794 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.1834, allocations: 7.938 kB / 0.5794 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.1834, allocations: 12 kB / 0.5794 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.1834, allocations: 7.938 kB / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1834, allocations: 4 kB / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1848, allocations: 0.9286 MB / 0.5803 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.1851, allocations: 188.5 kB / 0.5805 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.1852, allocations: 19.98 kB / 0.5805 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.1856, allocations: 15.98 kB / 0.5806 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.1856, allocations: 36.39 kB / 0.5806 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.1857, allocations: 16 kB / 0.5806 GB, free: 9.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005312/0.1862, allocations: 419 kB / 0.581 GB, free: 8.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1862, allocations: 0 / 0.581 GB, free: 8.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008599/0.1871, allocations: 235.9 kB / 0.5812 GB, free: 8.543 MB / 446.1 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.001844/0.1889, allocations: 1.527 MB / 0.5827 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.1907, allocations: 1.017 MB / 0.5837 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1907, allocations: 0 / 0.5837 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.1911, allocations: 243.9 kB / 0.5839 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.192, allocations: 160 kB / 0.5841 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2491/0.4411, allocations: 7.29 MB / 0.5912 GB, free: 49.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.4417, allocations: 1.084 MB / 0.5923 GB, free: 49.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005929/0.4423, allocations: 193.5 kB / 0.5925 GB, free: 49.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.4428, allocations: 323 kB / 0.5928 GB, free: 49.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4428, allocations: 1.188 kB / 0.5928 GB, free: 49.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07092/0.5137, allocations: 16.87 MB / 0.6092 GB, free: 44.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.11, allocations: 13.36 kB / 0.6093 GB, free: 44.28 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.122473930940032] Failed to read output from testmodel.py, exit status != 0: 14.223088128957897 14.241382098 14.095260796 Calling exit ...