Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001317/0.001317, 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.001451/0.001451, allocations: 209.7 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1879/0.1879, allocations: 38.56 MB / 352.5 MB, free: 12.27 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.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002127/0.002127, allocations: 71.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 62.48 MB / 0.5419 GB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01321/0.3299, allocations: 10.27 MB / 0.552 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3421, allocations: 6.481 MB / 0.5583 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.3436, allocations: 71.12 kB / 0.5584 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02572/0.3693, allocations: 14.2 MB / 0.5722 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.3733, allocations: 1.143 MB / 0.5734 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.3757, allocations: 0.7096 MB / 0.5741 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007129/0.3829, allocations: 4.172 MB / 0.5781 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.3848, allocations: 0.8514 MB / 0.579 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.387, allocations: 1.164 MB / 0.5801 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.3898, allocations: 1.507 MB / 0.5816 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.3901, allocations: 152 kB / 0.5817 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3915, allocations: 0.5539 MB / 0.5823 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.3925, allocations: 0.9193 MB / 0.5831 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3936, allocations: 0.8205 MB / 0.584 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.397, allocations: 2.596 MB / 0.5865 GB, free: 6.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.397, allocations: 0 / 0.5865 GB, free: 6.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.397, allocations: 4 kB / 0.5865 GB, free: 6.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.397, allocations: 0 / 0.5865 GB, free: 6.496 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004694/0.4017, allocations: 2.209 MB / 0.5886 GB, free: 4.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4017, allocations: 11.98 kB / 0.5887 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003049/0.4021, allocations: 236.5 kB / 0.5889 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.4042, allocations: 395.1 kB / 0.5893 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.4075, allocations: 1.236 MB / 0.5905 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.4076, allocations: 102.7 kB / 0.5906 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/0.4083, allocations: 239.8 kB / 0.5908 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.4119, allocations: 2.196 MB / 0.5929 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/0.4119, allocations: 7.938 kB / 0.5929 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.4121, allocations: 55.98 kB / 0.593 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006672/0.4127, allocations: 186.8 kB / 0.5932 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.4161, allocations: 1.823 MB / 0.595 GB, free: 13.61 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.4292, allocations: 7.596 MB / 0.6024 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.4318, allocations: 1.385 MB / 0.6037 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4332, allocations: 0.7532 MB / 0.6045 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-05/0.4333, allocations: 17.3 kB / 0.6045 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.4333, allocations: 55.81 kB / 0.6045 GB, free: 3.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.466e-06/0.4334, allocations: 0 / 0.6045 GB, free: 3.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02488/0.4582, allocations: 8.479 MB / 0.6128 GB, free: 10.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.4583, allocations: 94.42 kB / 0.6129 GB, free: 10.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4601, allocations: 1.106 MB / 0.614 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.4602, allocations: 53.7 kB / 0.614 GB, free: 9.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.4609, allocations: 0.7976 MB / 0.6148 GB, free: 8.852 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/0.4615, allocations: 0.6197 MB / 0.6154 GB, free: 8.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/0.4621, allocations: 359.4 kB / 0.6158 GB, free: 7.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4623, allocations: 301.1 kB / 0.616 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4639, allocations: 0.8472 MB / 0.6169 GB, free: 6.723 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.466, allocations: 1.344 MB / 0.6182 GB, free: 5.172 MB / 462.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/0.4806, allocations: 5.18 MB / 0.6232 GB, free: 15.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.4806, allocations: 4 kB / 0.6233 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01026/0.4909, allocations: 4 MB / 0.6272 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.4909, allocations: 12 kB / 0.6272 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.491, allocations: 16.03 kB / 0.6272 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005169/0.4961, allocations: 1.585 MB / 0.6287 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.4976, allocations: 315.5 kB / 0.629 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/0.5285, allocations: 20.02 MB / 0.6486 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5301, allocations: 91.92 kB / 0.6487 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/0.5305, allocations: 87.97 kB / 0.6488 GB, free: 4.965 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001296/0.5318, allocations: 0.56 MB / 0.6493 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.5322, allocations: 159 kB / 0.6495 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/0.5379, allocations: 2.488 MB / 0.6519 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.538, allocations: 23.94 kB / 0.6519 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.538, allocations: 4 kB / 0.6519 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.538, allocations: 7.969 kB / 0.6519 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009774/0.5478, allocations: 4.289 MB / 0.6561 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5478, allocations: 4 kB / 0.6561 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.5495, allocations: 343.5 kB / 0.6564 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.5511, allocations: 0.4977 MB / 0.6569 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.5513, allocations: 51.97 kB / 0.657 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.5645, allocations: 11.97 MB / 0.6687 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5645, allocations: 4.031 kB / 0.6687 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/0.5713, allocations: 3.401 MB / 0.672 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.5724, allocations: 314.7 kB / 0.6723 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.5728, allocations: 51.98 kB / 0.6723 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.5738, allocations: 75.92 kB / 0.6724 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5741, allocations: 133 kB / 0.6725 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5743, allocations: 47.98 kB / 0.6726 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001097/0.5753, allocations: 0.71 MB / 0.6733 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5753, allocations: 4 kB / 0.6733 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002123/0.5775, allocations: 0.5937 MB / 0.6739 GB, free: 10.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007082/0.5846, allocations: 4.032 MB / 0.6778 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006668/0.5912, allocations: 3.378 MB / 0.6811 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.5912, allocations: 0.6875 kB / 0.6811 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/0.5947, allocations: 1.83 MB / 0.6829 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.5967, allocations: 355.3 kB / 0.6832 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/0.6385, allocations: 19.62 MB / 0.7024 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.6403, allocations: 1.062 MB / 0.7034 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001419/0.6417, allocations: 441.3 kB / 0.7038 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.6429, allocations: 0.7063 MB / 0.7045 GB, free: 9.758 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.6429, allocations: 0 / 0.7045 GB, free: 9.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4142/1.057, allocations: 49.04 MB / 0.7524 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.33, allocations: 7.875 kB / 0.7524 GB, free: 164.2 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.21378814475611] Failed to read output from testmodel.py, exit status != 0: 16.486260848119855 16.50333007 16.102905539 Calling exit ...