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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001491/0.001491, allocations: 210 kB / 23.73 MB, free: 4.387 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1851/0.1851, allocations: 38.56 MB / 352.5 MB, free: 12.38 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.002338/0.002338, allocations: 67.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2985, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01009/0.3086, allocations: 7.246 MB / 0.549 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008984/0.3176, allocations: 5.115 MB / 0.554 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.3183, allocations: 34.69 kB / 0.5541 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3307, allocations: 5.698 MB / 0.5596 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3327, allocations: 0.6883 MB / 0.5603 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3342, allocations: 470.6 kB / 0.5607 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.3378, allocations: 2.288 MB / 0.563 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.3391, allocations: 0.9789 MB / 0.5639 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3402, allocations: 0.6578 MB / 0.5646 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.3414, allocations: 0.7511 MB / 0.5653 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.3416, allocations: 120 kB / 0.5654 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.3425, allocations: 443.5 kB / 0.5658 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.3431, allocations: 0.5025 MB / 0.5663 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.3436, allocations: 0.4901 MB / 0.5668 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.3459, allocations: 1.787 MB / 0.5686 GB, free: 8.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3459, allocations: 4 kB / 0.5686 GB, free: 8.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3459, allocations: 0 / 0.5686 GB, free: 8.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.3459, allocations: 0 / 0.5686 GB, free: 8.902 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.002969/0.3489, allocations: 1.398 MB / 0.5699 GB, free: 7.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3489, allocations: 23.97 kB / 0.5699 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.3491, allocations: 131.3 kB / 0.5701 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.3499, allocations: 176.1 kB / 0.5702 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.3519, allocations: 0.8924 MB / 0.5711 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.352, allocations: 61.98 kB / 0.5712 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.3522, allocations: 91.94 kB / 0.5713 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.354, allocations: 1.1 MB / 0.5723 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.354, allocations: 7.922 kB / 0.5723 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.3541, allocations: 35.98 kB / 0.5724 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/0.3543, allocations: 73.95 kB / 0.5724 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.3558, allocations: 0.8392 MB / 0.5733 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/0.3618, allocations: 3.619 MB / 0.5768 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3629, allocations: 0.511 MB / 0.5773 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.3634, allocations: 292.8 kB / 0.5776 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.3634, allocations: 4.5 kB / 0.5776 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.3635, allocations: 50.98 kB / 0.5776 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/0.3635, allocations: 0 / 0.5776 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004925/0.3684, allocations: 2.381 MB / 0.58 GB, free: 12.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.3685, allocations: 111.5 kB / 0.5801 GB, free: 12.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.3695, allocations: 0.7191 MB / 0.5808 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.3695, allocations: 41.69 kB / 0.5808 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.3699, allocations: 488.2 kB / 0.5813 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.3702, allocations: 253.8 kB / 0.5815 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.3704, allocations: 154.9 kB / 0.5817 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.3706, allocations: 394.8 kB / 0.582 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.3711, allocations: 305.8 kB / 0.5823 GB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.3718, allocations: 0.5439 MB / 0.5829 GB, free: 9.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/0.3757, allocations: 1.601 MB / 0.5844 GB, free: 8.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3757, allocations: 0 / 0.5844 GB, free: 8.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002403/0.3781, allocations: 1.259 MB / 0.5857 GB, free: 6.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3781, allocations: 8.406 kB / 0.5857 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3781, allocations: 4 kB / 0.5857 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.3792, allocations: 413.9 kB / 0.5861 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.3798, allocations: 143.8 kB / 0.5862 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008318/0.3881, allocations: 5.873 MB / 0.5919 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.3886, allocations: 27.98 kB / 0.592 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.3887, allocations: 36 kB / 0.592 GB, free: 68 kB / 430.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.0005822/0.3893, allocations: 355.9 kB / 0.5923 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3894, allocations: 83.48 kB / 0.5924 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.3911, allocations: 0.8941 MB / 0.5933 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3911, allocations: 8 kB / 0.5933 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3911, allocations: 4 kB / 0.5933 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3911, allocations: 7.984 kB / 0.5933 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.3945, allocations: 1.798 MB / 0.5951 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3946, allocations: 4 kB / 0.5951 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.3952, allocations: 119.8 kB / 0.5952 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/0.3957, allocations: 182.6 kB / 0.5954 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.3958, allocations: 23.98 kB / 0.5954 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.4009, allocations: 5.151 MB / 0.6004 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4009, allocations: 0 / 0.6004 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.4031, allocations: 1.274 MB / 0.6016 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.4034, allocations: 139.5 kB / 0.6018 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4035, allocations: 23.98 kB / 0.6018 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.4039, allocations: 15.98 kB / 0.6018 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.404, allocations: 48.41 kB / 0.6019 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.404, allocations: 19.98 kB / 0.6019 GB, free: 5.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007009/0.4047, allocations: 0.5029 MB / 0.6024 GB, free: 4.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4047, allocations: 0 / 0.6024 GB, free: 4.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001018/0.4058, allocations: 267.8 kB / 0.6026 GB, free: 4.668 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.003947/0.4097, allocations: 2.228 MB / 0.6048 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.4118, allocations: 1.098 MB / 0.6059 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4118, allocations: 0 / 0.6059 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.4129, allocations: 0.7032 MB / 0.6066 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.4139, allocations: 182.8 kB / 0.6067 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.4279, allocations: 8.635 MB / 0.6152 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.4287, allocations: 0.5443 MB / 0.6157 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005606/0.4292, allocations: 162.6 kB / 0.6159 GB, free: 6.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.4297, allocations: 355.2 kB / 0.6162 GB, free: 6.469 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4297, allocations: 0 / 0.6162 GB, free: 6.469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0906/0.5203, allocations: 22.65 MB / 0.6383 GB, free: 15.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.34, allocations: 5.578 kB / 0.6383 GB, free: 15.98 MB / 494.1 MB " [Timeout remaining time 645] (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.647627147380263] Failed to read output from testmodel.py, exit status != 0: 14.535697519779205 14.560557667 14.20986796 Calling exit ...