Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001764/0.001764, 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.002209/0.002209, 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.184/0.184, allocations: 38.56 MB / 352.5 MB, free: 12.39 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.002175/0.002175, allocations: 64.19 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3083, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01359/0.3219, allocations: 10.24 MB / 0.5519 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3338, allocations: 6.479 MB / 0.5583 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.3352, allocations: 64.88 kB / 0.5583 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02553/0.3607, allocations: 14.24 MB / 0.5722 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.3647, allocations: 1.12 MB / 0.5733 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.3669, allocations: 0.6744 MB / 0.574 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00666/0.3735, allocations: 4.066 MB / 0.5779 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.3749, allocations: 0.8436 MB / 0.5788 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3768, allocations: 1.109 MB / 0.5799 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.3791, allocations: 1.468 MB / 0.5813 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.3794, allocations: 144 kB / 0.5814 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3808, allocations: 0.5461 MB / 0.582 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009635/0.3818, allocations: 0.8999 MB / 0.5828 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.3828, allocations: 0.7972 MB / 0.5836 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.3862, allocations: 2.534 MB / 0.5861 GB, free: 6.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3862, allocations: 0 / 0.5861 GB, free: 6.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3862, allocations: 0 / 0.5861 GB, free: 6.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.856e-05/0.3862, allocations: 3.938 kB / 0.5861 GB, free: 6.918 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004381/0.3906, allocations: 2.135 MB / 0.5882 GB, free: 4.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3906, allocations: 11.98 kB / 0.5882 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.3909, allocations: 224.2 kB / 0.5884 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.3929, allocations: 391.1 kB / 0.5888 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.3959, allocations: 1.189 MB / 0.5899 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.396, allocations: 102.7 kB / 0.59 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.3966, allocations: 227.8 kB / 0.5903 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.4, allocations: 2.161 MB / 0.5924 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.4001, allocations: 7.953 kB / 0.5924 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.4002, allocations: 55.98 kB / 0.5924 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006398/0.4008, allocations: 182.6 kB / 0.5926 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.4039, allocations: 1.756 MB / 0.5943 GB, free: 14.29 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.01261/0.4165, allocations: 7.642 MB / 0.6018 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.4189, allocations: 1.295 MB / 0.603 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.4203, allocations: 0.7234 MB / 0.6037 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.4204, allocations: 20.94 kB / 0.6038 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.4204, allocations: 43.56 kB / 0.6038 GB, free: 4.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.777e-06/0.4204, allocations: 0 / 0.6038 GB, free: 4.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01918/0.4396, allocations: 7.144 MB / 0.6108 GB, free: 13.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.4397, allocations: 98.36 kB / 0.6109 GB, free: 12.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.4412, allocations: 1.06 MB / 0.6119 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.4414, allocations: 53.7 kB / 0.612 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.4421, allocations: 0.7856 MB / 0.6127 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.4426, allocations: 0.5617 MB / 0.6133 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005271/0.4432, allocations: 327.4 kB / 0.6136 GB, free: 10.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4433, allocations: 309.1 kB / 0.6139 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4447, allocations: 0.773 MB / 0.6146 GB, free: 9.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4464, allocations: 1.244 MB / 0.6159 GB, free: 7.582 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.01603/0.4624, allocations: 5.61 MB / 0.6213 GB, free: 1.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.4624, allocations: 11.94 kB / 0.6213 GB, free: 1.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009501/0.4719, allocations: 3.785 MB / 0.625 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.472, allocations: 16 kB / 0.6251 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.472, allocations: 12 kB / 0.6251 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.4778, allocations: 1.713 MB / 0.6267 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4789, allocations: 267.5 kB / 0.627 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02833/0.5072, allocations: 17.85 MB / 0.6444 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5086, allocations: 83.94 kB / 0.6445 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.5089, allocations: 83.98 kB / 0.6446 GB, free: 9.512 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001047/0.5099, allocations: 0.5316 MB / 0.6451 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5102, allocations: 159 kB / 0.6453 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/0.5155, allocations: 2.246 MB / 0.6475 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5155, allocations: 15.94 kB / 0.6475 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.5155, allocations: 7.938 kB / 0.6475 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.5156, allocations: 11.97 kB / 0.6475 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.5249, allocations: 3.962 MB / 0.6514 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5249, allocations: 0 / 0.6514 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.5264, allocations: 307.6 kB / 0.6517 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.529, allocations: 0.543 MB / 0.6522 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.5291, allocations: 51.97 kB / 0.6522 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5404, allocations: 9.578 MB / 0.6616 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5404, allocations: 4.031 kB / 0.6616 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/0.5468, allocations: 3.062 MB / 0.6646 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/0.5478, allocations: 278.8 kB / 0.6648 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.548, allocations: 51.88 kB / 0.6649 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.5488, allocations: 63.94 kB / 0.665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.5491, allocations: 125 kB / 0.6651 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/0.5492, allocations: 39.98 kB / 0.6651 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009878/0.5502, allocations: 0.697 MB / 0.6658 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5502, allocations: 0 / 0.6658 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002007/0.5522, allocations: 0.5663 MB / 0.6663 GB, free: 2.441 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006728/0.559, allocations: 3.694 MB / 0.67 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005598/0.5646, allocations: 2.988 MB / 0.6729 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5646, allocations: 4 kB / 0.6729 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.5671, allocations: 1.536 MB / 0.6744 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.5687, allocations: 331.5 kB / 0.6747 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03539/0.6041, allocations: 18.7 MB / 0.693 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.6054, allocations: 1.001 MB / 0.6939 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001191/0.6066, allocations: 404.5 kB / 0.6943 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009743/0.6075, allocations: 0.6555 MB / 0.695 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6075, allocations: 4 kB / 0.695 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3682/0.9757, allocations: 47.1 MB / 0.741 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.01, allocations: 6.75 kB / 0.741 GB, free: 170.6 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR_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_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.966102940030396] Failed to read output from testmodel.py, exit status != 0: 16.16981165157631 16.191810677 15.801522192 Calling exit ...