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.001665/0.001665, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002091/0.002091, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1876/0.1876, allocations: 38.53 MB / 352.5 MB, free: 12.63 MB / 286.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.002171/0.002171, allocations: 67.89 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 62.46 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01011/0.3423, allocations: 7.856 MB / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009323/0.3516, allocations: 5.62 MB / 0.5552 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.3523, allocations: 38.06 kB / 0.5552 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.3648, allocations: 5.836 MB / 0.5609 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.3668, allocations: 0.6844 MB / 0.5616 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3682, allocations: 466.7 kB / 0.562 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003795/0.372, allocations: 2.303 MB / 0.5643 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.3734, allocations: 0.9867 MB / 0.5652 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.3745, allocations: 0.6618 MB / 0.5659 GB, free: 12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.3758, allocations: 0.798 MB / 0.5667 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.376, allocations: 116 kB / 0.5668 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009717/0.377, allocations: 467.4 kB / 0.5672 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.3775, allocations: 0.5064 MB / 0.5677 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.3781, allocations: 0.6028 MB / 0.5683 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.3803, allocations: 1.783 MB / 0.57 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3803, allocations: 4 kB / 0.57 GB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3803, allocations: 0 / 0.57 GB, free: 7.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.3804, allocations: 0 / 0.57 GB, free: 7.723 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002942/0.3833, allocations: 1.398 MB / 0.5714 GB, free: 6.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3833, allocations: 19.98 kB / 0.5714 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.3835, allocations: 127.3 kB / 0.5715 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.3843, allocations: 180.1 kB / 0.5717 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.3863, allocations: 0.9001 MB / 0.5726 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.3863, allocations: 61.98 kB / 0.5727 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.3865, allocations: 91.94 kB / 0.5727 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3883, allocations: 1.071 MB / 0.5738 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.3883, allocations: 7.984 kB / 0.5738 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3884, allocations: 31.98 kB / 0.5738 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.3887, allocations: 77.89 kB / 0.5739 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3902, allocations: 0.8353 MB / 0.5747 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006235/0.3964, allocations: 3.899 MB / 0.5785 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3975, allocations: 0.5145 MB / 0.579 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.3979, allocations: 295.3 kB / 0.5793 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.398, allocations: 4.5 kB / 0.5793 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.398, allocations: 50.94 kB / 0.5794 GB, free: 13.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.795e-06/0.398, allocations: 0 / 0.5794 GB, free: 13.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005052/0.4031, allocations: 2.393 MB / 0.5817 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.4032, allocations: 107.5 kB / 0.5818 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.4042, allocations: 0.7114 MB / 0.5825 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.4043, allocations: 37.7 kB / 0.5825 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.4047, allocations: 496.2 kB / 0.583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.4049, allocations: 249.9 kB / 0.5832 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.4052, allocations: 154.7 kB / 0.5834 GB, free: 9.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.4054, allocations: 394.7 kB / 0.5838 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.406, allocations: 305.8 kB / 0.5841 GB, free: 8.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.4067, allocations: 0.511 MB / 0.5846 GB, free: 8.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.4107, allocations: 1.601 MB / 0.5861 GB, free: 6.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4107, allocations: 4 kB / 0.5861 GB, free: 6.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00255/0.4133, allocations: 1.255 MB / 0.5873 GB, free: 5.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4133, allocations: 8.344 kB / 0.5874 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4133, allocations: 11.98 kB / 0.5874 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.4145, allocations: 409.2 kB / 0.5878 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.415, allocations: 147.8 kB / 0.5879 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00889/0.4239, allocations: 6.025 MB / 0.5938 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.4245, allocations: 31.94 kB / 0.5938 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.4246, allocations: 39.98 kB / 0.5939 GB, free: 14.46 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.0006088/0.4252, allocations: 357.4 kB / 0.5942 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.4254, allocations: 87.48 kB / 0.5943 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.4272, allocations: 0.8902 MB / 0.5951 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4272, allocations: 11.98 kB / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4272, allocations: 0 / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4272, allocations: 0 / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.4309, allocations: 2.003 MB / 0.5971 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4309, allocations: 0 / 0.5971 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.4316, allocations: 116 kB / 0.5972 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/0.4322, allocations: 194.3 kB / 0.5974 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.4322, allocations: 19.98 kB / 0.5974 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/0.4377, allocations: 5.17 MB / 0.6025 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4378, allocations: 8.094 kB / 0.6025 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.4399, allocations: 1.266 MB / 0.6037 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.4403, allocations: 139.3 kB / 0.6039 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4404, allocations: 16 kB / 0.6039 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.4408, allocations: 20.08 kB / 0.6039 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4409, allocations: 56.39 kB / 0.6039 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4409, allocations: 20 kB / 0.604 GB, free: 3.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.4416, allocations: 0.499 MB / 0.6044 GB, free: 3.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4416, allocations: 0 / 0.6044 GB, free: 3.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4427, allocations: 263.9 kB / 0.6047 GB, free: 2.828 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.003995/0.4467, allocations: 2.185 MB / 0.6068 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.4492, allocations: 1.11 MB / 0.6079 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4492, allocations: 112 / 0.6079 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.4505, allocations: 0.7032 MB / 0.6086 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4515, allocations: 177.9 kB / 0.6088 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.4654, allocations: 8.643 MB / 0.6172 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.4663, allocations: 1.15 MB / 0.6183 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.4668, allocations: 158.7 kB / 0.6185 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.4673, allocations: 351.3 kB / 0.6188 GB, free: 4.039 MB / 462.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4673, allocations: 0 / 0.6188 GB, free: 4.039 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.5329, allocations: 22.71 MB / 0.641 GB, free: 13.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/17.68, allocations: 23.05 kB / 0.641 GB, free: 13.42 MB / 494.1 MB " [Timeout remaining time 642] (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: 21.223393132997444] Failed to read output from testmodel.py, exit status != 0: 17.914443048997782 17.945334333 17.559171525 Calling exit ...