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.001796/0.001796, allocations: 112.6 kB / 19.73 MB, free: 2.094 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.406/1.406, allocations: 230.6 MB / 253.4 MB, free: 8.301 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.001569/0.001569, allocations: 218.7 kB / 310 MB, free: 3.145 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4488/0.4488, allocations: 79.73 MB / 446.2 MB, free: 14.82 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="cs",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.002367/0.002367, allocations: 87.86 kB / 0.5937 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1418, allocations: 73.29 MB / 0.6653 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.006049/0.1479, allocations: 4.531 MB / 0.6697 GB, free: 40 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1508, allocations: 1.271 MB / 0.6709 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.1511, allocations: 0 / 0.6709 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1515, allocations: 126.9 kB / 0.671 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.1521, allocations: 286 kB / 0.6713 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1531, allocations: 478.6 kB / 0.6718 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1542, allocations: 0.9144 MB / 0.6727 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.1545, allocations: 110.4 kB / 0.6728 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.155, allocations: 390.3 kB / 0.6731 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.1556, allocations: 442 kB / 0.6736 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1557, allocations: 84 kB / 0.6736 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.156, allocations: 132 kB / 0.6738 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1562, allocations: 195.2 kB / 0.674 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.1567, allocations: 393.8 kB / 0.6743 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1581, allocations: 1.015 MB / 0.6753 GB, free: 10.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.557e-06/0.1581, allocations: 0 / 0.6753 GB, free: 10.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1581, allocations: 3.938 kB / 0.6753 GB, free: 10.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1581, allocations: 0 / 0.6753 GB, free: 10.22 MB / 478.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.004112/0.1622, allocations: 1.506 MB / 0.6768 GB, free: 8.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1623, allocations: 11.98 kB / 0.6768 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.1623, allocations: 8.844 kB / 0.6768 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1624, allocations: 70.72 kB / 0.6769 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009471/0.1633, allocations: 196.3 kB / 0.6771 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.1642, allocations: 0.5223 MB / 0.6776 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/0.1643, allocations: 62.3 kB / 0.6776 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.1643, allocations: 35.95 kB / 0.6777 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.1652, allocations: 417.9 kB / 0.6781 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1652, allocations: 0 / 0.6781 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.1653, allocations: 19.98 kB / 0.6781 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1653, allocations: 8 kB / 0.6781 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.1661, allocations: 390.4 kB / 0.6785 GB, free: 6.895 MB / 478.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.004592/0.1707, allocations: 1.917 MB / 0.6803 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.1767, allocations: 1.19 MB / 0.6815 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.1772, allocations: 221.4 kB / 0.6817 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.1773, allocations: 12.31 kB / 0.6817 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.1783, allocations: 396.3 kB / 0.6821 GB, free: 3.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 3.517e-06/0.1783, allocations: 0 / 0.6821 GB, free: 3.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=46): time 0.006149/0.1845, allocations: 1.52 MB / 0.6836 GB, free: 1.484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1845, allocations: 63.34 kB / 0.6836 GB, free: 1.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.1858, allocations: 0.6879 MB / 0.6843 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.1859, allocations: 33.7 kB / 0.6844 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.1863, allocations: 308.9 kB / 0.6846 GB, free: 376 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1864, allocations: 162.6 kB / 0.6848 GB, free: 212 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.1866, allocations: 82.12 kB / 0.6849 GB, free: 124 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1868, allocations: 321.9 kB / 0.6852 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.1873, allocations: 240.8 kB / 0.6854 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.188, allocations: 275.3 kB / 0.6857 GB, free: 15.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.189, allocations: 0.4974 MB / 0.6862 GB, free: 14.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.189, allocations: 0 / 0.6862 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00412/0.1932, allocations: 1.176 MB / 0.6873 GB, free: 13.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1932, allocations: 4 kB / 0.6873 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1932, allocations: 4 kB / 0.6873 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/0.1959, allocations: 0.6103 MB / 0.6879 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.1965, allocations: 91.86 kB / 0.688 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009956/0.2064, allocations: 5.335 MB / 0.6932 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.2072, allocations: 63.69 kB / 0.6933 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.2073, allocations: 12 kB / 0.6933 GB, free: 7.242 MB / 494.1 MB 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.000392/0.2077, allocations: 189.8 kB / 0.6935 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.2079, allocations: 75.47 kB / 0.6935 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.2112, allocations: 1.086 MB / 0.6946 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2112, allocations: 4 kB / 0.6946 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2112, allocations: 0 / 0.6946 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2112, allocations: 3.984 kB / 0.6946 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.2159, allocations: 1.9 MB / 0.6965 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2159, allocations: 32 / 0.6965 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.2163, allocations: 67.91 kB / 0.6965 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.2181, allocations: 453.2 kB / 0.697 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.2182, allocations: 12 kB / 0.697 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.223, allocations: 2.686 MB / 0.6996 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.223, allocations: 0 / 0.6996 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2577/0.4806, allocations: 1.459 MB / 0.701 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.4809, allocations: 87.91 kB / 0.7011 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.481, allocations: 12.81 kB / 0.7011 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.4816, allocations: 37.81 kB / 0.7012 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.4818, allocations: 94.14 kB / 0.7012 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.4819, allocations: 24.28 kB / 0.7013 GB, free: 35.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005714/0.4824, allocations: 0.4942 MB / 0.7017 GB, free: 34.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4824, allocations: 2.469 kB / 0.7017 GB, free: 34.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006657/0.4831, allocations: 182.1 kB / 0.7019 GB, free: 34.93 MB / 494.1 MB 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.003617/0.4867, allocations: 2.02 MB / 0.7039 GB, free: 34.25 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.002413/0.4891, allocations: 0.8836 MB / 0.7048 GB, free: 34.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4891, allocations: 0 / 0.7048 GB, free: 34.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.4906, allocations: 0.5623 MB / 0.7053 GB, free: 33.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.4911, allocations: 66.05 kB / 0.7054 GB, free: 33.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.5056, allocations: 7.483 MB / 0.7127 GB, free: 31.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.506, allocations: 0.9056 MB / 0.7136 GB, free: 30.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003552/0.5064, allocations: 75.56 kB / 0.7136 GB, free: 30.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.5068, allocations: 252.5 kB / 0.7139 GB, free: 30.64 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5068, allocations: 0 / 0.7139 GB, free: 30.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.5548, allocations: 19.28 MB / 0.7327 GB, free: 23.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.79, allocations: 1 kB / 0.7327 GB, free: 23.97 MB / 494.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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.026925140060484] Failed to read output from testmodel.py, exit status != 0: 14.977433550986461 14.994663141 14.833107849 Calling exit ...