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.001322/0.001322, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001461/0.001461, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1908/0.1908, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.00215/0.00215, allocations: 64.19 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 62.47 MB / 0.542 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01379/0.351, allocations: 11.22 MB / 0.5529 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.3638, allocations: 7.19 MB / 0.56 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3652, allocations: 65.66 kB / 0.56 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02728/0.3925, allocations: 14.51 MB / 0.5742 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.3958, allocations: 1.12 MB / 0.5753 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.3979, allocations: 0.6822 MB / 0.576 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007647/0.4055, allocations: 4.082 MB / 0.5799 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.4079, allocations: 0.8475 MB / 0.5808 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/0.4109, allocations: 1.105 MB / 0.5819 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.4145, allocations: 1.522 MB / 0.5833 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005769/0.4151, allocations: 148 kB / 0.5835 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.4167, allocations: 0.5851 MB / 0.5841 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.4179, allocations: 0.9077 MB / 0.5849 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.4196, allocations: 0.9601 MB / 0.5859 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.424, allocations: 2.51 MB / 0.5883 GB, free: 5.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.424, allocations: 8 kB / 0.5883 GB, free: 5.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.424, allocations: 0 / 0.5883 GB, free: 5.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.726e-05/0.4241, allocations: 0 / 0.5883 GB, free: 5.07 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.005355/0.4295, allocations: 2.137 MB / 0.5904 GB, free: 2.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4295, allocations: 15.98 kB / 0.5904 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000296/0.4298, allocations: 228.2 kB / 0.5907 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.4319, allocations: 383.2 kB / 0.591 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.4347, allocations: 1.189 MB / 0.5922 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.4348, allocations: 98.66 kB / 0.5923 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/0.4354, allocations: 231.8 kB / 0.5925 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.439, allocations: 2.153 MB / 0.5946 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.439, allocations: 11.89 kB / 0.5946 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.4392, allocations: 55.98 kB / 0.5947 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006625/0.4398, allocations: 182.7 kB / 0.5948 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.4429, allocations: 1.76 MB / 0.5966 GB, free: 12.44 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.0135/0.4564, allocations: 8.471 MB / 0.6048 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.4589, allocations: 1.298 MB / 0.6061 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4604, allocations: 0.7222 MB / 0.6068 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/0.4605, allocations: 21 kB / 0.6068 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4605, allocations: 47.56 kB / 0.6069 GB, free: 1.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.028e-06/0.4605, allocations: 3.938 kB / 0.6069 GB, free: 1.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02068/0.4812, allocations: 7.152 MB / 0.6139 GB, free: 10.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4813, allocations: 94.45 kB / 0.6139 GB, free: 10.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.4832, allocations: 1.033 MB / 0.615 GB, free: 9.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.4834, allocations: 53.7 kB / 0.615 GB, free: 9.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.4841, allocations: 0.7778 MB / 0.6158 GB, free: 8.223 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005636/0.4847, allocations: 0.5616 MB / 0.6163 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.4852, allocations: 339.4 kB / 0.6166 GB, free: 7.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4853, allocations: 305.1 kB / 0.6169 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.4868, allocations: 0.7847 MB / 0.6177 GB, free: 6.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4886, allocations: 1.24 MB / 0.6189 GB, free: 4.801 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.01729/0.5058, allocations: 5.606 MB / 0.6244 GB, free: 15.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.5059, allocations: 8 kB / 0.6244 GB, free: 15.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01005/0.5159, allocations: 3.784 MB / 0.6281 GB, free: 11.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5159, allocations: 12 kB / 0.6281 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.516, allocations: 12 kB / 0.6281 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006237/0.5222, allocations: 1.737 MB / 0.6298 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.5235, allocations: 271.5 kB / 0.6301 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0296/0.5531, allocations: 18.08 MB / 0.6477 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.5546, allocations: 87.88 kB / 0.6478 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.5548, allocations: 79.92 kB / 0.6479 GB, free: 6.461 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.001169/0.556, allocations: 0.5241 MB / 0.6484 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.5563, allocations: 162.9 kB / 0.6485 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/0.5618, allocations: 2.239 MB / 0.6507 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.5618, allocations: 16 kB / 0.6508 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.5618, allocations: 7.938 kB / 0.6508 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.5618, allocations: 7.969 kB / 0.6508 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.5717, allocations: 4.141 MB / 0.6548 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5717, allocations: 4 kB / 0.6548 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5733, allocations: 303.6 kB / 0.6551 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.5761, allocations: 0.5503 MB / 0.6556 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.5763, allocations: 55.91 kB / 0.6557 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.5881, allocations: 9.634 MB / 0.6651 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5881, allocations: 4.312 kB / 0.6651 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007032/0.5951, allocations: 3.059 MB / 0.6681 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008719/0.596, allocations: 278.9 kB / 0.6684 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.5962, allocations: 55.86 kB / 0.6684 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/0.5971, allocations: 59.94 kB / 0.6685 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.5974, allocations: 121 kB / 0.6686 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5975, allocations: 55.95 kB / 0.6686 GB, free: 428 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001001/0.5985, allocations: 0.6892 MB / 0.6693 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5985, allocations: 0 / 0.6693 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001992/0.6005, allocations: 0.5663 MB / 0.6699 GB, free: 15.16 MB / 0.5137 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.007183/0.6077, allocations: 3.689 MB / 0.6735 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006037/0.6137, allocations: 2.996 MB / 0.6764 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6137, allocations: 0 / 0.6764 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.6165, allocations: 1.528 MB / 0.6779 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6182, allocations: 332.7 kB / 0.6782 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/0.6556, allocations: 18.73 MB / 0.6965 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.6573, allocations: 1.585 MB / 0.698 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00134/0.6586, allocations: 408.5 kB / 0.6984 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.6596, allocations: 0.6555 MB / 0.6991 GB, free: 424 kB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.6596, allocations: 0 / 0.6991 GB, free: 424 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/1.016, allocations: 48.73 MB / 0.7467 GB, free: 170 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/17.41, allocations: 1.25 kB / 0.7467 GB, free: 170 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.2932526959994] Failed to read output from testmodel.py, exit status != 0: 17.56239863999508 17.579743622 17.151775731 Calling exit ...