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.001311/0.001311, allocations: 123 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.001379/0.001379, allocations: 207.2 kB / 20.75 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.485/1.485, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.1899/0.1899, allocations: 38.5 MB / 348.7 MB, free: 2.609 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.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: 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.001945/0.001945, allocations: 67.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 62.42 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01042/0.1237, allocations: 7.611 MB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.1293, allocations: 3.046 MB / 0.5471 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.1297, allocations: 35.69 kB / 0.5471 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.1319, allocations: 0.7506 MB / 0.5479 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.1337, allocations: 0.7038 MB / 0.5485 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000992/0.1347, allocations: 371.2 kB / 0.5489 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.1367, allocations: 1.356 MB / 0.5502 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009234/0.1377, allocations: 0.5608 MB / 0.5508 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.139, allocations: 0.5798 MB / 0.5513 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1401, allocations: 0.6696 MB / 0.552 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1403, allocations: 76 kB / 0.5521 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1413, allocations: 0.4952 MB / 0.5525 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005939/0.1419, allocations: 462.7 kB / 0.553 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.1425, allocations: 0.5131 MB / 0.5535 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.145, allocations: 1.428 MB / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.145, allocations: 0 / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.145, allocations: 0 / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.145, allocations: 0 / 0.5549 GB, free: 4.848 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.003728/0.1487, allocations: 1.313 MB / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.311e-05/0.1488, allocations: 8.031 kB / 0.5562 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003021/0.1491, allocations: 139.6 kB / 0.5563 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.1511, allocations: 216.1 kB / 0.5565 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.1537, allocations: 0.7493 MB / 0.5572 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.1538, allocations: 62.12 kB / 0.5573 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/0.1542, allocations: 99.92 kB / 0.5574 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.1571, allocations: 1.096 MB / 0.5585 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.1572, allocations: 3.938 kB / 0.5585 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.1573, allocations: 35.98 kB / 0.5585 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/0.1576, allocations: 73.97 kB / 0.5586 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1599, allocations: 0.8703 MB / 0.5594 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00896/0.1688, allocations: 3.982 MB / 0.5633 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1699, allocations: 423.7 kB / 0.5637 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.1705, allocations: 262.9 kB / 0.564 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.1706, allocations: 12.44 kB / 0.564 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.1706, allocations: 42.94 kB / 0.564 GB, free: 11.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 3.527e-06/0.1706, allocations: 0 / 0.564 GB, free: 11.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.005528/0.1761, allocations: 1.739 MB / 0.5657 GB, free: 9.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1762, allocations: 81.55 kB / 0.5658 GB, free: 9.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.1776, allocations: 0.5899 MB / 0.5664 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.1777, allocations: 33.7 kB / 0.5664 GB, free: 8.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.1783, allocations: 483.7 kB / 0.5669 GB, free: 8.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.1786, allocations: 198.4 kB / 0.5671 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.179, allocations: 138.6 kB / 0.5672 GB, free: 7.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003429/0.1793, allocations: 390.8 kB / 0.5676 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.1801, allocations: 249.8 kB / 0.5678 GB, free: 7.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.1812, allocations: 469 kB / 0.5682 GB, free: 6.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.1831, allocations: 0.7742 MB / 0.569 GB, free: 5.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.1831, allocations: 0 / 0.569 GB, free: 5.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.004051/0.1872, allocations: 1.107 MB / 0.5701 GB, free: 4.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.1872, allocations: 8 kB / 0.5701 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002703/0.1899, allocations: 0.7982 MB / 0.5709 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.1913, allocations: 214.4 kB / 0.5711 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.1924, allocations: 155.7 kB / 0.5712 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.2034, allocations: 5.677 MB / 0.5768 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2044, allocations: 40.03 kB / 0.5768 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.2045, allocations: 32 kB / 0.5768 GB, free: 13.16 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.0007766/0.2053, allocations: 309.4 kB / 0.5771 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.2055, allocations: 75.52 kB / 0.5772 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.2074, allocations: 0.6124 MB / 0.5778 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.2074, allocations: 8 kB / 0.5778 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2074, allocations: 0 / 0.5778 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2074, allocations: 4 kB / 0.5778 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.212, allocations: 1.486 MB / 0.5793 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.212, allocations: 0 / 0.5793 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.2133, allocations: 127.8 kB / 0.5794 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.2134, allocations: 3.938 kB / 0.5794 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.2134, allocations: 19.98 kB / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.2135, allocations: 4 kB / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.2135, allocations: 0 / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.216, allocations: 0.9288 MB / 0.5803 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/0.2165, allocations: 192.5 kB / 0.5805 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.2167, allocations: 20 kB / 0.5805 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.2173, allocations: 19.97 kB / 0.5805 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2174, allocations: 32.39 kB / 0.5806 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.2174, allocations: 15.98 kB / 0.5806 GB, free: 9.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000981/0.2184, allocations: 423 kB / 0.581 GB, free: 8.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2184, allocations: 3.938 kB / 0.581 GB, free: 8.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0015/0.2199, allocations: 231.9 kB / 0.5812 GB, free: 8.539 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.003322/0.2232, allocations: 1.523 MB / 0.5827 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.2265, allocations: 1.013 MB / 0.5837 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.2265, allocations: 1.312 kB / 0.5837 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.2272, allocations: 254.5 kB / 0.5839 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.2289, allocations: 156.8 kB / 0.5841 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/0.4749, allocations: 7.303 MB / 0.5912 GB, free: 49.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.4754, allocations: 1.079 MB / 0.5923 GB, free: 48.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.476, allocations: 186.8 kB / 0.5924 GB, free: 48.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.4764, allocations: 329.4 kB / 0.5928 GB, free: 48.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4764, allocations: 0 / 0.5928 GB, free: 48.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.535, allocations: 16.86 MB / 0.6092 GB, free: 43.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.97, allocations: 5.375 kB / 0.6092 GB, free: 43.67 MB / 446.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.877866852999432] Failed to read output from testmodel.py, exit status != 0: 14.073565339000197 14.083007854 13.935933454 Calling exit ...