Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001821/0.001821, allocations: 113.2 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.002277/0.002277, allocations: 214.4 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.193/0.193, allocations: 38.52 MB / 352.4 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_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.00207/0.00207, allocations: 63.89 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 62.46 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01457/0.3405, allocations: 11.23 MB / 0.553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3547, allocations: 7.175 MB / 0.56 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.357, allocations: 68.88 kB / 0.56 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02907/0.386, allocations: 14.51 MB / 0.5742 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.3894, allocations: 1.124 MB / 0.5753 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.3913, allocations: 0.6745 MB / 0.576 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.3978, allocations: 4.082 MB / 0.5799 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.3991, allocations: 0.8514 MB / 0.5808 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.4009, allocations: 1.101 MB / 0.5819 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.4032, allocations: 1.53 MB / 0.5833 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.4035, allocations: 144 kB / 0.5835 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4048, allocations: 0.589 MB / 0.5841 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009634/0.4057, allocations: 0.9038 MB / 0.5849 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.407, allocations: 0.9601 MB / 0.5859 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.4106, allocations: 2.518 MB / 0.5883 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4106, allocations: 0 / 0.5883 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4106, allocations: 3.938 kB / 0.5883 GB, free: 4.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.94e-05/0.4107, allocations: 0 / 0.5883 GB, free: 4.891 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.005729/0.4164, allocations: 2.145 MB / 0.5904 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4165, allocations: 11.98 kB / 0.5904 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003545/0.4168, allocations: 224.2 kB / 0.5907 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.419, allocations: 379.2 kB / 0.591 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.4224, allocations: 1.193 MB / 0.5922 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4225, allocations: 102.6 kB / 0.5923 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.4231, allocations: 227.9 kB / 0.5925 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.4271, allocations: 2.153 MB / 0.5946 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.4271, allocations: 11.89 kB / 0.5946 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.4273, allocations: 55.98 kB / 0.5947 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006373/0.4279, allocations: 182.7 kB / 0.5948 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.4316, allocations: 1.756 MB / 0.5966 GB, free: 12.26 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.01546/0.4471, allocations: 8.467 MB / 0.6048 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.4497, allocations: 1.294 MB / 0.6061 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.4511, allocations: 0.7264 MB / 0.6068 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-05/0.4512, allocations: 17.06 kB / 0.6068 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.4513, allocations: 51.48 kB / 0.6069 GB, free: 1.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.138e-06/0.4513, allocations: 0 / 0.6069 GB, free: 1.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02037/0.4717, allocations: 7.156 MB / 0.6139 GB, free: 10.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.4717, allocations: 94.42 kB / 0.6139 GB, free: 9.949 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.4732, allocations: 1.037 MB / 0.615 GB, free: 8.898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.4733, allocations: 49.7 kB / 0.615 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/0.474, allocations: 0.7856 MB / 0.6158 GB, free: 8.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.4745, allocations: 0.5578 MB / 0.6163 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005239/0.4751, allocations: 339.4 kB / 0.6166 GB, free: 7.148 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4752, allocations: 301.1 kB / 0.6169 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.4766, allocations: 0.7769 MB / 0.6177 GB, free: 6.074 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.4783, allocations: 1.251 MB / 0.6189 GB, free: 4.629 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.01694/0.4953, allocations: 5.61 MB / 0.6244 GB, free: 14.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.4953, allocations: 4 kB / 0.6244 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009815/0.5051, allocations: 3.776 MB / 0.6281 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5051, allocations: 11.98 kB / 0.6281 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.5052, allocations: 16.78 kB / 0.6281 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006243/0.5114, allocations: 1.744 MB / 0.6298 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5126, allocations: 267.5 kB / 0.6301 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03037/0.543, allocations: 18.09 MB / 0.6477 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5444, allocations: 83.88 kB / 0.6478 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.5446, allocations: 79.92 kB / 0.6479 GB, free: 6.293 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.001039/0.5456, allocations: 0.5319 MB / 0.6484 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.5459, allocations: 151 kB / 0.6485 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/0.5514, allocations: 2.243 MB / 0.6507 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.5514, allocations: 19.98 kB / 0.6508 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.5514, allocations: 7.938 kB / 0.6508 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.5515, allocations: 3.984 kB / 0.6508 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009708/0.5612, allocations: 4.137 MB / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/0.5612, allocations: 4 kB / 0.6548 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.5629, allocations: 307.6 kB / 0.6551 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.5656, allocations: 0.5466 MB / 0.6556 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.5659, allocations: 51.97 kB / 0.6557 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.5775, allocations: 9.653 MB / 0.6651 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5776, allocations: 4 kB / 0.6651 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006755/0.5843, allocations: 3.055 MB / 0.6681 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/0.5852, allocations: 274.9 kB / 0.6684 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5854, allocations: 51.92 kB / 0.6684 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/0.5863, allocations: 59.94 kB / 0.6685 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.5866, allocations: 129 kB / 0.6686 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5867, allocations: 43.98 kB / 0.6686 GB, free: 260 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001051/0.5877, allocations: 0.6931 MB / 0.6693 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5877, allocations: 0 / 0.6693 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002157/0.5899, allocations: 0.5702 MB / 0.6699 GB, free: 14.98 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.007247/0.5971, allocations: 3.682 MB / 0.6735 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006075/0.6032, allocations: 2.996 MB / 0.6764 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.6032, allocations: 4 kB / 0.6764 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.606, allocations: 1.528 MB / 0.6779 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.6079, allocations: 327.5 kB / 0.6782 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/0.646, allocations: 18.73 MB / 0.6965 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.6479, allocations: 1.585 MB / 0.698 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001266/0.6492, allocations: 412.5 kB / 0.6984 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009695/0.6501, allocations: 0.6555 MB / 0.6991 GB, free: 248 kB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.6501, allocations: 0 / 0.6991 GB, free: 248 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3358/0.9859, allocations: 48.74 MB / 0.7467 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.87, allocations: 10.16 kB / 0.7467 GB, free: 169.6 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.98637719800172] Failed to read output from testmodel.py, exit status != 0: 18.016416921003838 18.025941922 17.612879331 Calling exit ...