Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001761/0.001761, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002228/0.002228, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.527/1.527, 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/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.1906/0.1906, allocations: 38.51 MB / 348.7 MB, free: 2.688 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.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",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.001997/0.001997, allocations: 63.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 62.41 MB / 0.5367 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01054/0.123, allocations: 7.712 MB / 0.5442 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.1328, allocations: 5.593 MB / 0.5497 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.1336, allocations: 31.75 kB / 0.5497 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.1445, allocations: 5.228 MB / 0.5548 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1467, allocations: 0.6883 MB / 0.5555 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.148, allocations: 451.1 kB / 0.5559 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003312/0.1513, allocations: 2.229 MB / 0.5581 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.1526, allocations: 0.9635 MB / 0.559 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1538, allocations: 0.6579 MB / 0.5597 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.1551, allocations: 0.8019 MB / 0.5604 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.1553, allocations: 119.9 kB / 0.5606 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1563, allocations: 467.4 kB / 0.561 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.1569, allocations: 0.5026 MB / 0.5615 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.1576, allocations: 0.6027 MB / 0.5621 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.1599, allocations: 1.775 MB / 0.5638 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1599, allocations: 0 / 0.5638 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1599, allocations: 0 / 0.5638 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1599, allocations: 0 / 0.5638 GB, free: 11.66 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003109/0.163, allocations: 1.481 MB / 0.5653 GB, free: 10.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1631, allocations: 12.03 kB / 0.5653 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.1633, allocations: 135.2 kB / 0.5654 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.1641, allocations: 172.1 kB / 0.5656 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.166, allocations: 0.9878 MB / 0.5665 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.166, allocations: 58 kB / 0.5666 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.1662, allocations: 91.92 kB / 0.5667 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.168, allocations: 1.063 MB / 0.5677 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1681, allocations: 11.98 kB / 0.5677 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.1682, allocations: 24 kB / 0.5677 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.1684, allocations: 77.95 kB / 0.5678 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.1699, allocations: 0.8353 MB / 0.5686 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/0.1761, allocations: 3.99 MB / 0.5725 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1771, allocations: 0.5909 MB / 0.5731 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.1776, allocations: 310 kB / 0.5734 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.1777, allocations: 8.547 kB / 0.5734 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.1777, allocations: 39.12 kB / 0.5735 GB, free: 1.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 1.943e-06/0.1777, allocations: 0 / 0.5735 GB, free: 1.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005408/0.1831, allocations: 2.602 MB / 0.576 GB, free: 14.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.1832, allocations: 111.4 kB / 0.5761 GB, free: 14.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.1843, allocations: 0.7114 MB / 0.5768 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.1844, allocations: 41.73 kB / 0.5768 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.1848, allocations: 492.2 kB / 0.5773 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.1851, allocations: 249.9 kB / 0.5775 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.1854, allocations: 150.6 kB / 0.5777 GB, free: 12.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.1856, allocations: 394.8 kB / 0.5781 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.1861, allocations: 305.8 kB / 0.5784 GB, free: 12.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.1869, allocations: 0.5228 MB / 0.5789 GB, free: 11.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.191, allocations: 1.672 MB / 0.5805 GB, free: 9.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.191, allocations: 4 kB / 0.5805 GB, free: 9.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002512/0.1935, allocations: 1.271 MB / 0.5817 GB, free: 8.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1935, allocations: 8 kB / 0.5818 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.1935, allocations: 8 kB / 0.5818 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.1947, allocations: 397.6 kB / 0.5821 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.1952, allocations: 147.8 kB / 0.5823 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/0.2038, allocations: 6.248 MB / 0.5884 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.2044, allocations: 31.94 kB / 0.5884 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.2044, allocations: 32 kB / 0.5884 GB, free: 1.395 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005683/0.205, allocations: 361.5 kB / 0.5888 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.2051, allocations: 87.42 kB / 0.5889 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.2069, allocations: 0.8957 MB / 0.5897 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2069, allocations: 8 kB / 0.5898 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2069, allocations: 4 kB / 0.5898 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.207, allocations: 3.984 kB / 0.5898 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2401/0.447, allocations: 2.005 MB / 0.5917 GB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.447, allocations: 1.5 kB / 0.5917 GB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.4476, allocations: 118.4 kB / 0.5918 GB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/0.4482, allocations: 195.7 kB / 0.592 GB, free: 50.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.4483, allocations: 22.06 kB / 0.592 GB, free: 50.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.452, allocations: 5.489 MB / 0.5974 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.452, allocations: 2.859 kB / 0.5974 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.4541, allocations: 1.266 MB / 0.5986 GB, free: 45.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.4545, allocations: 208.5 kB / 0.5988 GB, free: 45.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4546, allocations: 21.94 kB / 0.5989 GB, free: 45.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.4549, allocations: 18.69 kB / 0.5989 GB, free: 45.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.455, allocations: 56.27 kB / 0.5989 GB, free: 45.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.4551, allocations: 24.28 kB / 0.599 GB, free: 45.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007241/0.4558, allocations: 0.4953 MB / 0.5994 GB, free: 44.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4558, allocations: 0 / 0.5994 GB, free: 44.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4569, allocations: 265.2 kB / 0.5997 GB, free: 44.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 3 systems {(1,5,100.0%), (1,5,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.003569/0.4605, allocations: 2.182 MB / 0.6018 GB, free: 43.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.4626, allocations: 1.101 MB / 0.6029 GB, free: 43.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4626, allocations: 1.406 kB / 0.6029 GB, free: 43.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.4635, allocations: 0.696 MB / 0.6036 GB, free: 42.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.4645, allocations: 180.4 kB / 0.6037 GB, free: 42.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4775, allocations: 8.641 MB / 0.6122 GB, free: 38.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.4783, allocations: 1.148 MB / 0.6133 GB, free: 37.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000545/0.4788, allocations: 159.8 kB / 0.6135 GB, free: 37.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.4792, allocations: 360.4 kB / 0.6138 GB, free: 36.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4792, allocations: 0 / 0.6138 GB, free: 36.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/0.5382, allocations: 22.02 MB / 0.6353 GB, free: 20.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.04, allocations: 7.984 kB / 0.6353 GB, free: 20.58 MB / 446.1 MB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.48245762300212] Failed to read output from testmodel.py, exit status != 0: 16.207228738989215 16.226587896 16.062653242 Calling exit ...