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.001349/0.001349, allocations: 114.5 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.446/1.446, allocations: 230.6 MB / 252.6 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.001757/0.001757, allocations: 220.2 kB / 309.2 MB, free: 3.152 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.448/0.448, allocations: 79.74 MB / 445.4 MB, free: 14.86 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="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.002498/0.002498, allocations: 91.86 kB / 0.5929 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1528, allocations: 73.29 MB / 0.6645 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.006783/0.1596, allocations: 4.533 MB / 0.6689 GB, free: 88 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1628, allocations: 1.259 MB / 0.6701 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.1634, allocations: 4 kB / 0.6701 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.1641, allocations: 123 kB / 0.6703 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.165, allocations: 294 kB / 0.6705 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1663, allocations: 474.6 kB / 0.671 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.1676, allocations: 0.9144 MB / 0.6719 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.168, allocations: 114.4 kB / 0.672 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.1687, allocations: 386.3 kB / 0.6724 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.1695, allocations: 446 kB / 0.6728 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.1697, allocations: 84 kB / 0.6729 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.1701, allocations: 132 kB / 0.673 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1703, allocations: 187.2 kB / 0.6732 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.1708, allocations: 397.8 kB / 0.6736 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.1722, allocations: 1.015 MB / 0.6745 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1722, allocations: 8 kB / 0.6746 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1722, allocations: 0 / 0.6746 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.1722, allocations: 3.938 kB / 0.6746 GB, free: 10.27 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.004885/0.1771, allocations: 1.498 MB / 0.676 GB, free: 8.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1772, allocations: 15.98 kB / 0.676 GB, free: 8.699 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.1773, allocations: 70.7 kB / 0.6761 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1783, allocations: 196.3 kB / 0.6763 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1795, allocations: 0.5224 MB / 0.6768 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.1796, allocations: 62.47 kB / 0.6769 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.1797, allocations: 39.95 kB / 0.6769 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.1806, allocations: 417.9 kB / 0.6773 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1806, allocations: 3.938 kB / 0.6773 GB, free: 7.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.1806, allocations: 16 kB / 0.6773 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1806, allocations: 8 kB / 0.6773 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.1815, allocations: 382.4 kB / 0.6777 GB, free: 6.957 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.005479/0.187, allocations: 1.917 MB / 0.6796 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005981/0.1929, allocations: 1.194 MB / 0.6807 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.1935, allocations: 217.4 kB / 0.6809 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.1936, allocations: 8.312 kB / 0.6809 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009888/0.1946, allocations: 401.3 kB / 0.6813 GB, free: 3.078 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 3.817e-06/0.1946, allocations: 0 / 0.6813 GB, free: 3.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=46): time 0.007359/0.202, allocations: 1.512 MB / 0.6828 GB, free: 1.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.202, allocations: 55.41 kB / 0.6829 GB, free: 1.484 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.204, allocations: 0.7034 MB / 0.6835 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.2041, allocations: 37.7 kB / 0.6836 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.2045, allocations: 304.9 kB / 0.6839 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.2048, allocations: 166.6 kB / 0.684 GB, free: 268 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.2051, allocations: 74.12 kB / 0.6841 GB, free: 188 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.2054, allocations: 329.9 kB / 0.6844 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/0.2061, allocations: 232.8 kB / 0.6846 GB, free: 15.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/0.207, allocations: 287.3 kB / 0.6849 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2087, allocations: 0.4896 MB / 0.6854 GB, free: 14.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2087, allocations: 4 kB / 0.6854 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.005865/0.2146, allocations: 1.168 MB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.2146, allocations: 4 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2146, allocations: 0 / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.2186, allocations: 0.6174 MB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.2194, allocations: 95.86 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.2345, allocations: 5.324 MB / 0.6924 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2356, allocations: 63.72 kB / 0.6925 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.2358, allocations: 20.11 kB / 0.6925 GB, free: 7.305 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.0004838/0.2362, allocations: 185.4 kB / 0.6927 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.2365, allocations: 75.47 kB / 0.6928 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/0.2409, allocations: 1.09 MB / 0.6938 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2409, allocations: 8 kB / 0.6938 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2409, allocations: 0 / 0.6938 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.2409, allocations: 7.984 kB / 0.6938 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.2458, allocations: 1.9 MB / 0.6957 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.2458, allocations: 4 kB / 0.6957 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.2462, allocations: 59.91 kB / 0.6957 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.2481, allocations: 461.2 kB / 0.6962 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.2481, allocations: 15.98 kB / 0.6962 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.2532, allocations: 2.67 MB / 0.6988 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2532, allocations: 0 / 0.6988 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2776/0.5308, allocations: 1.46 MB / 0.7002 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.5311, allocations: 87.89 kB / 0.7003 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5312, allocations: 11.69 kB / 0.7003 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.5318, allocations: 44.34 kB / 0.7004 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.5321, allocations: 90.59 kB / 0.7005 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.5321, allocations: 16.7 kB / 0.7005 GB, free: 35.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006127/0.5327, allocations: 0.496 MB / 0.701 GB, free: 35.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5327, allocations: 0 / 0.701 GB, free: 35.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000719/0.5334, allocations: 186.8 kB / 0.7011 GB, free: 35.07 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.003757/0.5372, allocations: 2.027 MB / 0.7031 GB, free: 34.39 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.002543/0.5397, allocations: 0.8809 MB / 0.704 GB, free: 34.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5397, allocations: 0 / 0.704 GB, free: 34.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.5411, allocations: 0.5565 MB / 0.7045 GB, free: 34.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.5418, allocations: 63.19 kB / 0.7046 GB, free: 34.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.5575, allocations: 7.492 MB / 0.7119 GB, free: 31.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.558, allocations: 0.9048 MB / 0.7128 GB, free: 31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.5584, allocations: 78.66 kB / 0.7129 GB, free: 30.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.5588, allocations: 251.4 kB / 0.7131 GB, free: 30.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5588, allocations: 0 / 0.7131 GB, free: 30.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06167/0.6205, allocations: 19.25 MB / 0.7319 GB, free: 24.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.95, allocations: 5 kB / 0.7319 GB, free: 24.2 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.14609510009177] Failed to read output from testmodel.py, exit status != 0: 15.080419260077178 15.090511872 14.916065863 Calling exit ...