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.001323/0.001323, allocations: 107.1 kB / 20.44 MB, free: 1.051 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.00145/0.00145, allocations: 209.5 kB / 23.73 MB, free: 4.277 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1859/0.1859, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002055/0.002055, allocations: 74.39 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01023/0.3048, allocations: 7.25 MB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.3139, allocations: 5.108 MB / 0.554 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.3146, allocations: 33.72 kB / 0.554 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.327, allocations: 5.77 MB / 0.5597 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.3292, allocations: 0.6844 MB / 0.5604 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3305, allocations: 470.9 kB / 0.5608 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.3343, allocations: 2.303 MB / 0.5631 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3358, allocations: 0.9751 MB / 0.564 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.337, allocations: 0.6657 MB / 0.5647 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3382, allocations: 0.8057 MB / 0.5654 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.3384, allocations: 116 kB / 0.5656 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.3393, allocations: 451.5 kB / 0.566 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.3399, allocations: 0.5026 MB / 0.5665 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.3405, allocations: 497.8 kB / 0.5669 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.3429, allocations: 1.791 MB / 0.5687 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3429, allocations: 4 kB / 0.5687 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3429, allocations: 0 / 0.5687 GB, free: 8.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.3429, allocations: 0 / 0.5687 GB, free: 8.77 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.003039/0.3459, allocations: 1.402 MB / 0.5701 GB, free: 7.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.346, allocations: 11.98 kB / 0.5701 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.3462, allocations: 131.3 kB / 0.5702 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000832/0.347, allocations: 176.1 kB / 0.5704 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.349, allocations: 0.9079 MB / 0.5713 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.3491, allocations: 65.98 kB / 0.5713 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.3493, allocations: 87.95 kB / 0.5714 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3511, allocations: 1.088 MB / 0.5725 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.3511, allocations: 4 kB / 0.5725 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.3512, allocations: 32 kB / 0.5725 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/0.3514, allocations: 73.95 kB / 0.5726 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.3528, allocations: 0.8352 MB / 0.5734 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006169/0.359, allocations: 3.626 MB / 0.5769 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3601, allocations: 0.515 MB / 0.5774 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3605, allocations: 292.7 kB / 0.5777 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.3606, allocations: 8.5 kB / 0.5777 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.3606, allocations: 43.06 kB / 0.5778 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.314e-06/0.3606, allocations: 0 / 0.5778 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004978/0.3656, allocations: 2.393 MB / 0.5801 GB, free: 12.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.3657, allocations: 111.5 kB / 0.5802 GB, free: 12.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3667, allocations: 0.7191 MB / 0.5809 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.3667, allocations: 33.7 kB / 0.5809 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.3672, allocations: 492.2 kB / 0.5814 GB, free: 11.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.3674, allocations: 253.8 kB / 0.5817 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.3676, allocations: 150.6 kB / 0.5818 GB, free: 10.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.3679, allocations: 398.7 kB / 0.5822 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.3684, allocations: 301.8 kB / 0.5825 GB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000723/0.3691, allocations: 0.54 MB / 0.583 GB, free: 9.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.3731, allocations: 1.601 MB / 0.5846 GB, free: 7.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.3731, allocations: 4 kB / 0.5846 GB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002477/0.3756, allocations: 1.267 MB / 0.5858 GB, free: 6.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3756, allocations: 8 kB / 0.5858 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3756, allocations: 8 kB / 0.5858 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.377, allocations: 406.2 kB / 0.5862 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.3776, allocations: 151.7 kB / 0.5863 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00863/0.3863, allocations: 5.872 MB / 0.5921 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.3869, allocations: 27.94 kB / 0.5921 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.387, allocations: 28 kB / 0.5921 GB, free: 15.94 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.0006014/0.3876, allocations: 361.5 kB / 0.5925 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3877, allocations: 83.48 kB / 0.5926 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.3895, allocations: 0.8941 MB / 0.5934 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.3895, allocations: 4 kB / 0.5934 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3895, allocations: 4 kB / 0.5934 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.3895, allocations: 3.984 kB / 0.5934 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/0.393, allocations: 1.813 MB / 0.5952 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3931, allocations: 0 / 0.5952 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.3937, allocations: 123.9 kB / 0.5953 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/0.3943, allocations: 178.4 kB / 0.5955 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.3943, allocations: 23.98 kB / 0.5955 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.3996, allocations: 5.143 MB / 0.6005 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3997, allocations: 7.969 kB / 0.6006 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.4018, allocations: 1.27 MB / 0.6018 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.4022, allocations: 131.4 kB / 0.6019 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4023, allocations: 23.98 kB / 0.6019 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4026, allocations: 24.05 kB / 0.602 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4027, allocations: 52.34 kB / 0.602 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.4028, allocations: 16 kB / 0.602 GB, free: 5.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007012/0.4035, allocations: 0.499 MB / 0.6025 GB, free: 4.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4035, allocations: 0 / 0.6025 GB, free: 4.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001084/0.4046, allocations: 267.9 kB / 0.6028 GB, free: 4.535 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.003929/0.4085, allocations: 2.219 MB / 0.6049 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.4106, allocations: 1.106 MB / 0.606 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4106, allocations: 7.938 kB / 0.606 GB, free: 1.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4116, allocations: 0.6913 MB / 0.6067 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/0.4126, allocations: 186.2 kB / 0.6069 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.4259, allocations: 8.642 MB / 0.6153 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.4266, allocations: 0.5443 MB / 0.6158 GB, free: 6.848 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.4272, allocations: 166.7 kB / 0.616 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.4277, allocations: 355.3 kB / 0.6163 GB, free: 6.332 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4277, allocations: 0 / 0.6163 GB, free: 6.332 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/0.4936, allocations: 22.93 MB / 0.6387 GB, free: 15.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.13, allocations: 11.06 kB / 0.6387 GB, free: 15.55 MB / 494.1 MB " [Timeout remaining time 646] (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: 17.55879283102695] Failed to read output from testmodel.py, exit status != 0: 14.325399756955449 14.356649992 14.007959974 Calling exit ...