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.001672/0.001672, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002084/0.002084, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1823/0.1823, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.00202/0.00202, allocations: 67.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01246/0.3173, allocations: 10.23 MB / 0.5519 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3281, allocations: 6.486 MB / 0.5583 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.3289, allocations: 67.22 kB / 0.5583 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02519/0.3541, allocations: 14.39 MB / 0.5724 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.3578, allocations: 1.124 MB / 0.5735 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.3599, allocations: 0.6706 MB / 0.5741 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006283/0.3662, allocations: 4.086 MB / 0.5781 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3677, allocations: 0.8397 MB / 0.5789 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.3695, allocations: 1.125 MB / 0.58 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.3719, allocations: 1.519 MB / 0.5815 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.3723, allocations: 148 kB / 0.5817 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3735, allocations: 0.5539 MB / 0.5822 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009766/0.3745, allocations: 0.8999 MB / 0.5831 GB, free: 10 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3755, allocations: 0.7971 MB / 0.5839 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.3786, allocations: 2.538 MB / 0.5863 GB, free: 6.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3786, allocations: 3.938 kB / 0.5863 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3786, allocations: 3.938 kB / 0.5863 GB, free: 6.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.3787, allocations: 0 / 0.5863 GB, free: 6.648 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.004333/0.383, allocations: 2.135 MB / 0.5884 GB, free: 4.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.383, allocations: 11.98 kB / 0.5884 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002867/0.3833, allocations: 224.2 kB / 0.5887 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.3852, allocations: 383.2 kB / 0.589 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.3881, allocations: 1.193 MB / 0.5902 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.3881, allocations: 98.66 kB / 0.5903 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005526/0.3887, allocations: 231.9 kB / 0.5905 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.3921, allocations: 2.153 MB / 0.5926 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.3921, allocations: 11.89 kB / 0.5926 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.3923, allocations: 59.97 kB / 0.5927 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000701/0.393, allocations: 182.7 kB / 0.5928 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.3961, allocations: 1.748 MB / 0.5946 GB, free: 14.03 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.01235/0.4084, allocations: 7.657 MB / 0.602 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.4109, allocations: 1.284 MB / 0.6033 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.4123, allocations: 0.7236 MB / 0.604 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.4124, allocations: 16.94 kB / 0.604 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.4124, allocations: 51.5 kB / 0.6041 GB, free: 3.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.727e-06/0.4124, allocations: 0 / 0.6041 GB, free: 3.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01897/0.4314, allocations: 7.144 MB / 0.611 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.4315, allocations: 94.42 kB / 0.6111 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.4329, allocations: 1.06 MB / 0.6122 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.4331, allocations: 53.73 kB / 0.6122 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.4338, allocations: 0.7856 MB / 0.613 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.4344, allocations: 0.5578 MB / 0.6135 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.4349, allocations: 331.4 kB / 0.6138 GB, free: 9.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4351, allocations: 305.1 kB / 0.6141 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.4364, allocations: 0.773 MB / 0.6149 GB, free: 8.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.4382, allocations: 1.244 MB / 0.6161 GB, free: 7.324 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.01618/0.4543, allocations: 5.61 MB / 0.6216 GB, free: 1.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.4544, allocations: 4 kB / 0.6216 GB, free: 1.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009519/0.4639, allocations: 3.785 MB / 0.6253 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.4639, allocations: 18.94 kB / 0.6253 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.4639, allocations: 16 kB / 0.6253 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005809/0.4697, allocations: 1.72 MB / 0.627 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4709, allocations: 263.6 kB / 0.6272 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.5001, allocations: 17.85 MB / 0.6447 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.5015, allocations: 87.88 kB / 0.6448 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.5017, allocations: 79.98 kB / 0.6448 GB, free: 9.246 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.001341/0.5031, allocations: 0.5322 MB / 0.6454 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.5035, allocations: 151 kB / 0.6455 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007739/0.5112, allocations: 2.239 MB / 0.6477 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/0.5113, allocations: 19.94 kB / 0.6477 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.5113, allocations: 4 kB / 0.6477 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.5113, allocations: 7.969 kB / 0.6477 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5252, allocations: 3.97 MB / 0.6516 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.5253, allocations: 4 kB / 0.6516 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/0.5283, allocations: 303.6 kB / 0.6519 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/0.533, allocations: 0.5467 MB / 0.6524 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/0.5333, allocations: 51.97 kB / 0.6525 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.5526, allocations: 9.575 MB / 0.6618 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.5526, allocations: 7.938 kB / 0.6618 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.5643, allocations: 3.065 MB / 0.6648 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.566, allocations: 270.9 kB / 0.6651 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.5664, allocations: 59.86 kB / 0.6651 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.568, allocations: 59.89 kB / 0.6652 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.5685, allocations: 125 kB / 0.6653 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.5686, allocations: 51.97 kB / 0.6654 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001827/0.5705, allocations: 0.6892 MB / 0.666 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5705, allocations: 0 / 0.666 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003496/0.574, allocations: 0.5702 MB / 0.6666 GB, free: 2.176 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.01227/0.5862, allocations: 3.678 MB / 0.6702 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009374/0.5956, allocations: 2.996 MB / 0.6731 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5956, allocations: 0 / 0.6731 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003938/0.5995, allocations: 1.536 MB / 0.6746 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.6021, allocations: 335.2 kB / 0.6749 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04617/0.6483, allocations: 18.72 MB / 0.6932 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.6497, allocations: 1.001 MB / 0.6942 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00116/0.6509, allocations: 400.5 kB / 0.6946 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/0.6518, allocations: 0.6594 MB / 0.6952 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.6518, allocations: 0 / 0.6952 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3303/0.9821, allocations: 47.78 MB / 0.7419 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.9, allocations: 0.7812 kB / 0.7419 GB, free: 171.4 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.72841870097909] Failed to read output from testmodel.py, exit status != 0: 16.048691075993702 16.058354004 15.677458634 Calling exit ...