Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.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.001305/0.001305, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.465/1.465, allocations: 230.6 MB / 252.7 MB, free: 8.316 MB / 206.1 MB " [Timeout remaining time 178] 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.001567/0.001567, allocations: 218 kB / 309.2 MB, free: 3.145 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6023/0.6023, allocations: 101.3 MB / 467 MB, free: 10.34 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.002442/0.002442, allocations: 90.06 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4377, allocations: 78.61 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.004897/0.4426, allocations: 4.55 MB / 0.7056 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.4449, allocations: 1.276 MB / 0.7069 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.4453, allocations: 2.062 kB / 0.7069 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.4456, allocations: 132.7 kB / 0.707 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.446, allocations: 286.5 kB / 0.7073 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.4469, allocations: 480.2 kB / 0.7077 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.4477, allocations: 0.9122 MB / 0.7086 GB, free: 4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.4479, allocations: 113.1 kB / 0.7087 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.4483, allocations: 378.3 kB / 0.7091 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.4488, allocations: 443.8 kB / 0.7095 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.4489, allocations: 83.94 kB / 0.7096 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.4492, allocations: 138.7 kB / 0.7097 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.4493, allocations: 196.6 kB / 0.7099 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.4496, allocations: 388.3 kB / 0.7103 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.4508, allocations: 1.015 MB / 0.7113 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4508, allocations: 0.7031 kB / 0.7113 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4508, allocations: 0 / 0.7113 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.4508, allocations: 2.938 kB / 0.7113 GB, free: 2.691 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003889/0.4547, allocations: 1.493 MB / 0.7127 GB, free: 1.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4547, allocations: 11.44 kB / 0.7127 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.526e-05/0.4548, allocations: 70.94 kB / 0.7128 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/0.4557, allocations: 197 kB / 0.713 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.4564, allocations: 0.5201 MB / 0.7135 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.4565, allocations: 63.5 kB / 0.7136 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.4566, allocations: 34.31 kB / 0.7136 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/0.4574, allocations: 426 kB / 0.714 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4574, allocations: 0 / 0.714 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.4575, allocations: 16.5 kB / 0.714 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4575, allocations: 8.125 kB / 0.714 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.4582, allocations: 380.8 kB / 0.7144 GB, free: 0.9844 MB / 494.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.004609/0.4628, allocations: 1.933 MB / 0.7163 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005711/0.4685, allocations: 1.189 MB / 0.7174 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.469, allocations: 219.2 kB / 0.7176 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.4691, allocations: 11.53 kB / 0.7177 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/0.4699, allocations: 390.6 kB / 0.718 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.324e-06/0.4699, allocations: 0 / 0.718 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.005488/0.4754, allocations: 1.523 MB / 0.7195 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4754, allocations: 57.31 kB / 0.7196 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4765, allocations: 0.6949 MB / 0.7203 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/0.4766, allocations: 37.47 kB / 0.7203 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.4769, allocations: 309.6 kB / 0.7206 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.4771, allocations: 157.6 kB / 0.7207 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.4773, allocations: 82.25 kB / 0.7208 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4774, allocations: 323.1 kB / 0.7211 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.4779, allocations: 236.1 kB / 0.7213 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.4785, allocations: 281.5 kB / 0.7216 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4795, allocations: 0.4938 MB / 0.7221 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4795, allocations: 1.375 kB / 0.7221 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003928/0.4835, allocations: 1.18 MB / 0.7232 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4835, allocations: 8.938 kB / 0.7233 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4835, allocations: 0.9688 kB / 0.7233 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.4863, allocations: 0.6091 MB / 0.7239 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.4869, allocations: 93.2 kB / 0.7239 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/0.4967, allocations: 5.323 MB / 0.7291 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.4976, allocations: 61.83 kB / 0.7292 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.4976, allocations: 16.58 kB / 0.7292 GB, free: 8.801 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.498, allocations: 178.1 kB / 0.7294 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4981, allocations: 76.94 kB / 0.7295 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.5014, allocations: 1.089 MB / 0.7305 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5014, allocations: 9.203 kB / 0.7305 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5014, allocations: 1.188 kB / 0.7305 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5015, allocations: 2.625 kB / 0.7305 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.506, allocations: 1.911 MB / 0.7324 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5061, allocations: 0 / 0.7324 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.5064, allocations: 57.47 kB / 0.7325 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.5082, allocations: 460 kB / 0.7329 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.5083, allocations: 17.64 kB / 0.7329 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.5131, allocations: 2.674 MB / 0.7355 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5131, allocations: 8.016 kB / 0.7355 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.5169, allocations: 1.463 MB / 0.737 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.5172, allocations: 86.31 kB / 0.737 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5173, allocations: 16.2 kB / 0.7371 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.5179, allocations: 40.52 kB / 0.7371 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.5182, allocations: 91.94 kB / 0.7372 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.5182, allocations: 20.08 kB / 0.7372 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006896/0.5189, allocations: 0.4986 MB / 0.7377 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5189, allocations: 0 / 0.7377 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007658/0.5197, allocations: 194.7 kB / 0.7379 GB, free: 3.199 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (dfig_Turbine.elecDyn.idrI,dfig_Turbine.elecDyn.iqrI,dfig_Turbine.elecDyn.Vref,dfig_Turbine.elecDyn.iqr_off,dfig_Turbine.mechaBlk1.omega_m,dfig_Turbine.pitchControl1.theta_pI) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004015/0.5237, allocations: 2.018 MB / 0.7398 GB, free: 1.812 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Wind/PSAT/PSAT_Type_3/ElecDynBlk.mo:69:3-69:51:writable] Warning: Variable dfig_Turbine.elecDyn.iqrI has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.002571/0.5263, allocations: 0.8728 MB / 0.7407 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5263, allocations: 0 / 0.7407 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.5278, allocations: 0.5589 MB / 0.7412 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.5284, allocations: 68.44 kB / 0.7413 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.5435, allocations: 7.486 MB / 0.7486 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.5441, allocations: 0.9012 MB / 0.7495 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.5444, allocations: 71.25 kB / 0.7496 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/0.5449, allocations: 255.4 kB / 0.7498 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of SimCode: time 1.323e-06/0.5449, allocations: 1.219 kB / 0.7498 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/0.6014, allocations: 19.26 MB / 0.7686 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.8, allocations: 13.91 kB / 0.7686 GB, free: 10.7 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.320203780000156] Failed to read output from testmodel.py, exit status != 0: 14.931682750000618 14.948347667 14.494202796 Calling exit ...