Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001515/0.001515, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1907/0.1907, allocations: 38.57 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 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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_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.003106/0.003106, allocations: 63.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3276, allocations: 62.48 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01335/0.3409, allocations: 10.28 MB / 0.552 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3531, allocations: 6.471 MB / 0.5583 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.3542, allocations: 70.78 kB / 0.5584 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03443/0.3886, allocations: 14.21 MB / 0.5722 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.3934, allocations: 1.147 MB / 0.5734 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.3963, allocations: 0.7096 MB / 0.5741 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009733/0.406, allocations: 4.172 MB / 0.5781 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.4087, allocations: 0.8475 MB / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.4119, allocations: 1.164 MB / 0.5801 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.4158, allocations: 1.507 MB / 0.5816 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007783/0.4166, allocations: 148 kB / 0.5817 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.4188, allocations: 0.5578 MB / 0.5822 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.4207, allocations: 0.9233 MB / 0.5832 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.423, allocations: 0.8127 MB / 0.5839 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.4286, allocations: 2.604 MB / 0.5865 GB, free: 6.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4286, allocations: 0 / 0.5865 GB, free: 6.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4286, allocations: 0 / 0.5865 GB, free: 6.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.347e-05/0.4287, allocations: 4 kB / 0.5865 GB, free: 6.52 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.006479/0.4352, allocations: 2.205 MB / 0.5886 GB, free: 4.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4352, allocations: 15.97 kB / 0.5887 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004597/0.4357, allocations: 228.5 kB / 0.5889 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.4391, allocations: 399 kB / 0.5893 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/0.4439, allocations: 1.232 MB / 0.5905 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4441, allocations: 110.7 kB / 0.5906 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009248/0.445, allocations: 239.8 kB / 0.5908 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.4506, allocations: 2.188 MB / 0.5929 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.4507, allocations: 7.938 kB / 0.5929 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.4509, allocations: 63.95 kB / 0.593 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.4519, allocations: 190.8 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.4569, allocations: 1.823 MB / 0.595 GB, free: 13.63 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.01917/0.476, allocations: 7.592 MB / 0.6024 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.4799, allocations: 1.385 MB / 0.6037 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.4823, allocations: 0.7589 MB / 0.6045 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4824, allocations: 13.31 kB / 0.6045 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.416e-05/0.4825, allocations: 55.81 kB / 0.6045 GB, free: 3.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 5.381e-06/0.4825, allocations: 0 / 0.6045 GB, free: 3.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0362/0.5187, allocations: 8.476 MB / 0.6128 GB, free: 10.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.5189, allocations: 98.36 kB / 0.6129 GB, free: 10.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.5212, allocations: 1.094 MB / 0.614 GB, free: 9.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.5215, allocations: 57.73 kB / 0.614 GB, free: 9.688 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009596/0.5224, allocations: 0.8054 MB / 0.6148 GB, free: 8.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009006/0.5233, allocations: 0.6197 MB / 0.6154 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008472/0.5242, allocations: 347.5 kB / 0.6158 GB, free: 7.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5244, allocations: 305.1 kB / 0.616 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.5267, allocations: 0.8433 MB / 0.6169 GB, free: 6.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.5296, allocations: 1.344 MB / 0.6182 GB, free: 5.203 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.02135/0.551, allocations: 5.195 MB / 0.6233 GB, free: 15.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.551, allocations: 4 kB / 0.6233 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01449/0.5655, allocations: 3.992 MB / 0.6272 GB, free: 11.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.5655, allocations: 12.69 kB / 0.6272 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/0.5656, allocations: 12 kB / 0.6272 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007171/0.5727, allocations: 1.589 MB / 0.6287 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.5749, allocations: 315.5 kB / 0.629 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04467/0.6195, allocations: 20.01 MB / 0.6486 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.622, allocations: 95.92 kB / 0.6487 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/0.6223, allocations: 87.97 kB / 0.6488 GB, free: 4.988 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.001533/0.6238, allocations: 0.544 MB / 0.6493 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.6244, allocations: 171 kB / 0.6494 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/0.6301, allocations: 2.488 MB / 0.6519 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.6301, allocations: 16 kB / 0.6519 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.6301, allocations: 8 kB / 0.6519 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.6301, allocations: 7.969 kB / 0.6519 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00939/0.6395, allocations: 4.293 MB / 0.6561 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6395, allocations: 7.938 kB / 0.6561 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.6412, allocations: 339.6 kB / 0.6564 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.6428, allocations: 0.4938 MB / 0.6569 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.643, allocations: 55.97 kB / 0.657 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.656, allocations: 11.97 MB / 0.6687 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6561, allocations: 4 kB / 0.6687 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/0.663, allocations: 3.406 MB / 0.672 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.6641, allocations: 306.7 kB / 0.6723 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.6645, allocations: 55.92 kB / 0.6723 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.6655, allocations: 75.92 kB / 0.6724 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.6659, allocations: 133 kB / 0.6725 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.666, allocations: 51.98 kB / 0.6726 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001195/0.6672, allocations: 0.71 MB / 0.6733 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6672, allocations: 0 / 0.6733 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002431/0.6696, allocations: 0.5975 MB / 0.6739 GB, free: 10.22 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.007653/0.6773, allocations: 4.028 MB / 0.6778 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006821/0.6841, allocations: 3.383 MB / 0.6811 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6841, allocations: 0 / 0.6811 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.6874, allocations: 1.827 MB / 0.6829 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.6895, allocations: 358.5 kB / 0.6832 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04197/0.7315, allocations: 19.61 MB / 0.7024 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/0.7333, allocations: 1.058 MB / 0.7034 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001537/0.7349, allocations: 437.3 kB / 0.7038 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.7361, allocations: 0.7101 MB / 0.7045 GB, free: 9.793 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.7361, allocations: 3.938 kB / 0.7045 GB, free: 9.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4361/1.172, allocations: 49.05 MB / 0.7524 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.22, allocations: 11.98 kB / 0.7524 GB, free: 164.3 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.275388502981514] Failed to read output from testmodel.py, exit status != 0: 16.383868646342307 16.392617036 15.961622479 Calling exit ...