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.0007424/0.0007424, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8347/0.8347, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.0009784/0.0009784, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2622/0.2622, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.501e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.00363/0.003655, allocations: 4.006 MB / 0.5588 GB, free: 8.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005543, allocations: 1.2 MB / 0.56 GB, free: 7.398 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.005862, allocations: 4 kB / 0.56 GB, free: 7.395 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.006172, allocations: 126.9 kB / 0.5601 GB, free: 7.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.006638, allocations: 301.9 kB / 0.5604 GB, free: 6.973 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.007653, allocations: 454.5 kB / 0.5608 GB, free: 6.527 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.008395, allocations: 0.9453 MB / 0.5618 GB, free: 5.578 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.008621, allocations: 98.19 kB / 0.5619 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.009259, allocations: 0.5219 MB / 0.5624 GB, free: 4.945 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.00959, allocations: 346.8 kB / 0.5627 GB, free: 4.605 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.009659, allocations: 76 kB / 0.5628 GB, free: 4.531 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.009839, allocations: 131.9 kB / 0.5629 GB, free: 4.402 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.009929, allocations: 191.2 kB / 0.5631 GB, free: 4.215 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.0101, allocations: 259.1 kB / 0.5633 GB, free: 3.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.01086, allocations: 1.028 MB / 0.5643 GB, free: 2.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01086, allocations: 0 / 0.5643 GB, free: 2.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01086, allocations: 0 / 0.5643 GB, free: 2.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.01087, allocations: 0 / 0.5643 GB, free: 2.93 MB / 490.7 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.002205/0.01308, allocations: 1.459 MB / 0.5658 GB, free: 1.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.01313, allocations: 16.02 kB / 0.5658 GB, free: 1.402 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.01321, allocations: 70.72 kB / 0.5658 GB, free: 1.324 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.01373, allocations: 200.2 kB / 0.566 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.01426, allocations: 0.4981 MB / 0.5665 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.01433, allocations: 58.92 kB / 0.5666 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.01438, allocations: 32.33 kB / 0.5666 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.01491, allocations: 429.8 kB / 0.567 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01492, allocations: 0 / 0.567 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.466e-05/0.01495, allocations: 16 kB / 0.567 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01496, allocations: 8 kB / 0.567 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.01546, allocations: 378.5 kB / 0.5674 GB, free: 15.69 MB / 0.4948 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.002355/0.01781, allocations: 1.285 MB / 0.5687 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.02058, allocations: 1.205 MB / 0.5698 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.02086, allocations: 217.4 kB / 0.57 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.0209, allocations: 4.328 kB / 0.57 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005299/0.02143, allocations: 393.4 kB / 0.5704 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 1.983e-06/0.02143, allocations: 4 kB / 0.5704 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.002873/0.02431, allocations: 1.517 MB / 0.5719 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.02434, allocations: 59.41 kB / 0.572 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.02493, allocations: 0.6605 MB / 0.5726 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.02497, allocations: 37.69 kB / 0.5726 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.02513, allocations: 305 kB / 0.5729 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.02523, allocations: 166.6 kB / 0.5731 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02534, allocations: 78.19 kB / 0.5732 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.02542, allocations: 325.9 kB / 0.5735 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.02571, allocations: 240.9 kB / 0.5737 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.02603, allocations: 276 kB / 0.574 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.02661, allocations: 0.4945 MB / 0.5745 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.02661, allocations: 8 kB / 0.5745 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002158/0.02877, allocations: 1.173 MB / 0.5756 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.02879, allocations: 4 kB / 0.5756 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.0288, allocations: 0 / 0.5756 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.03016, allocations: 0.6092 MB / 0.5762 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.03043, allocations: 91.86 kB / 0.5763 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.03563, allocations: 5.249 MB / 0.5814 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.03606, allocations: 59.89 kB / 0.5815 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.03609, allocations: 16 kB / 0.5815 GB, free: 0.8633 MB / 0.4948 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.0004689/0.03656, allocations: 193.7 kB / 0.5817 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.03663, allocations: 67.58 kB / 0.5817 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.03827, allocations: 1.091 MB / 0.5828 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03828, allocations: 4 kB / 0.5828 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.03828, allocations: 3.938 kB / 0.5828 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.03829, allocations: 11.98 kB / 0.5828 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.04065, allocations: 1.734 MB / 0.5845 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.04065, allocations: 4.031 kB / 0.5845 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.04085, allocations: 63.91 kB / 0.5846 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000904/0.04175, allocations: 457.1 kB / 0.585 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.04179, allocations: 15.98 kB / 0.585 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.04433, allocations: 2.62 MB / 0.5876 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.04433, allocations: 4 kB / 0.5876 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.04665, allocations: 1.46 MB / 0.589 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.04678, allocations: 83.44 kB / 0.5891 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.04683, allocations: 16.03 kB / 0.5891 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.04711, allocations: 39.95 kB / 0.5892 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.04728, allocations: 100.2 kB / 0.5893 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.04731, allocations: 16 kB / 0.5893 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004177/0.04773, allocations: 483 kB / 0.5897 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.04773, allocations: 0 / 0.5897 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000519/0.04824, allocations: 183.9 kB / 0.5899 GB, free: 8.016 MB / 0.5105 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.002185/0.05043, allocations: 2.02 MB / 0.5919 GB, free: 5.961 MB / 0.5105 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.00145/0.05188, allocations: 0.8879 MB / 0.5927 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.05188, allocations: 0 / 0.5927 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.05261, allocations: 0.5646 MB / 0.5933 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.05296, allocations: 62.98 kB / 0.5934 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1711/0.2241, allocations: 7.288 MB / 0.6005 GB, free: 92.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2242, allocations: 308 kB / 0.6008 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.2245, allocations: 70.39 kB / 0.6008 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.2247, allocations: 250.8 kB / 0.6011 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/0.2247, allocations: 0 / 0.6011 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.2561, allocations: 19.56 MB / 0.6202 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.072, allocations: 10.42 kB / 0.6202 GB, free: 88.73 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.259604525752366] Failed to read output from testmodel.py, exit status != 0: 8.170056669972837 8.182534033 8.169082705 Calling exit ...