Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.527/1.527, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001667/0.001667, allocations: 211.2 kB / 309.2 MB, free: 3.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6252/0.6252, allocations: 107.2 MB / 472.8 MB, free: 30.23 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_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.002557/0.002557, allocations: 85.61 kB / 0.633 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1619, allocations: 80.14 MB / 0.7113 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.006795/0.1687, allocations: 4.002 MB / 0.7152 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.1722, allocations: 1.205 MB / 0.7164 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.1729, allocations: 4 kB / 0.7164 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1734, allocations: 126.9 kB / 0.7165 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009699/0.1744, allocations: 290 kB / 0.7168 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1758, allocations: 461.5 kB / 0.7172 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1772, allocations: 0.9106 MB / 0.7181 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.1775, allocations: 102.5 kB / 0.7182 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007281/0.1782, allocations: 390.3 kB / 0.7186 GB, free: 240 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.179, allocations: 394 kB / 0.7189 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.1792, allocations: 84 kB / 0.719 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.1796, allocations: 131.9 kB / 0.7191 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1798, allocations: 179.2 kB / 0.7193 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.1802, allocations: 318.3 kB / 0.7196 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1815, allocations: 1.008 MB / 0.7206 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1815, allocations: 0 / 0.7206 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1816, allocations: 0 / 0.7206 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.1816, allocations: 0 / 0.7206 GB, free: 14.14 MB / 0.4981 GB 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.004455/0.186, allocations: 1.479 MB / 0.7221 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1861, allocations: 12.03 kB / 0.7221 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.1862, allocations: 70.72 kB / 0.7221 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.1872, allocations: 200.3 kB / 0.7223 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.1881, allocations: 0.495 MB / 0.7228 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.1882, allocations: 62.48 kB / 0.7229 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.1883, allocations: 35.98 kB / 0.7229 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.1893, allocations: 422 kB / 0.7233 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1893, allocations: 0 / 0.7233 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.1893, allocations: 19.98 kB / 0.7233 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1893, allocations: 8 kB / 0.7233 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.1901, allocations: 378.4 kB / 0.7237 GB, free: 10.88 MB / 0.4981 GB 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.003902/0.194, allocations: 1.285 MB / 0.7249 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/0.1999, allocations: 1.186 MB / 0.7261 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.2004, allocations: 221.4 kB / 0.7263 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.2005, allocations: 4.328 kB / 0.7263 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009166/0.2014, allocations: 397 kB / 0.7267 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 3.256e-06/0.2014, allocations: 0 / 0.7267 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.005554/0.2069, allocations: 1.524 MB / 0.7282 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.207, allocations: 59.41 kB / 0.7282 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2081, allocations: 0.6645 MB / 0.7289 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.2081, allocations: 29.7 kB / 0.7289 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2084, allocations: 312.9 kB / 0.7292 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2086, allocations: 154.6 kB / 0.7294 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.2088, allocations: 86.06 kB / 0.7294 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2089, allocations: 329.9 kB / 0.7298 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.2095, allocations: 232.8 kB / 0.73 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.21, allocations: 283.3 kB / 0.7303 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.211, allocations: 0.4897 MB / 0.7307 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.211, allocations: 0 / 0.7307 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003719/0.2148, allocations: 1.176 MB / 0.7319 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2148, allocations: 8 kB / 0.7319 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2148, allocations: 3.984 kB / 0.7319 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.2175, allocations: 0.5986 MB / 0.7325 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.218, allocations: 91.86 kB / 0.7326 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009605/0.2276, allocations: 5.262 MB / 0.7377 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.2284, allocations: 55.77 kB / 0.7378 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.2284, allocations: 12 kB / 0.7378 GB, free: 12.07 MB / 0.5137 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.0003668/0.2288, allocations: 181.8 kB / 0.7379 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.229, allocations: 75.47 kB / 0.738 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.2322, allocations: 1.09 MB / 0.7391 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2322, allocations: 8 kB / 0.7391 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2322, allocations: 4 kB / 0.7391 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2322, allocations: 0 / 0.7391 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.2367, allocations: 1.748 MB / 0.7408 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.2367, allocations: 8 kB / 0.7408 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.2371, allocations: 59.91 kB / 0.7409 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.2389, allocations: 453.2 kB / 0.7413 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.239, allocations: 12 kB / 0.7413 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.2438, allocations: 2.626 MB / 0.7439 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2438, allocations: 3.938 kB / 0.7439 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.2476, allocations: 1.458 MB / 0.7453 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.2479, allocations: 91.42 kB / 0.7454 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.248, allocations: 12 kB / 0.7454 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.2486, allocations: 35.95 kB / 0.7454 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.2488, allocations: 88.38 kB / 0.7455 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.2489, allocations: 31.91 kB / 0.7455 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000664/0.2495, allocations: 483 kB / 0.746 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2495, allocations: 4 kB / 0.746 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007097/0.2503, allocations: 183.8 kB / 0.7462 GB, free: 3.223 MB / 0.5137 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.004368/0.2546, allocations: 2.019 MB / 0.7482 GB, free: 1.168 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.002751/0.2574, allocations: 0.8868 MB / 0.749 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2574, allocations: 0 / 0.749 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.2589, allocations: 0.5565 MB / 0.7496 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.2597, allocations: 64.86 kB / 0.7496 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.2759, allocations: 7.371 MB / 0.7568 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2763, allocations: 305.2 kB / 0.7571 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.2766, allocations: 72.67 kB / 0.7572 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.2771, allocations: 251.3 kB / 0.7574 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.413e-06/0.2771, allocations: 0 / 0.7574 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.3372, allocations: 19.37 MB / 0.7763 GB, free: 4.293 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.35, allocations: 15.55 kB / 0.7764 GB, free: 4.281 MB / 0.545 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.045241633895785] Failed to read output from testmodel.py, exit status != 0: 14.47983675589785 14.50604322 14.319548307 Calling exit ...