Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09829/0.09829, allocations: 12.58 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 111.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 187.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4899/0.4899, allocations: 78.5 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 137.8 kB / 0.5553 GB, free: 28.91 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1567, allocations: 68.14 MB / 0.6219 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.006422/0.1632, allocations: 4.491 MB / 0.6263 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.1666, allocations: 1.283 MB / 0.6275 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007709/0.1675, allocations: 0 / 0.6275 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.1681, allocations: 134.9 kB / 0.6276 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1693, allocations: 278.1 kB / 0.6279 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1708, allocations: 0.5177 MB / 0.6284 GB, free: 9.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1722, allocations: 0.9146 MB / 0.6293 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.1726, allocations: 161.9 kB / 0.6295 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.1734, allocations: 366.4 kB / 0.6298 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.1742, allocations: 446 kB / 0.6302 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.1745, allocations: 84 kB / 0.6303 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.1749, allocations: 132 kB / 0.6304 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.1752, allocations: 199.1 kB / 0.6306 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.1758, allocations: 389.8 kB / 0.631 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.1773, allocations: 1.015 MB / 0.632 GB, free: 5.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1773, allocations: 0 / 0.632 GB, free: 5.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1773, allocations: 0 / 0.632 GB, free: 5.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.1774, allocations: 0 / 0.632 GB, free: 5.629 MB / 446.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.004505/0.1819, allocations: 1.389 MB / 0.6334 GB, free: 4.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1819, allocations: 15.98 kB / 0.6334 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1821, allocations: 70.72 kB / 0.6334 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1831, allocations: 188.3 kB / 0.6336 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.1841, allocations: 0.5788 MB / 0.6342 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/0.1842, allocations: 66.48 kB / 0.6342 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.1843, allocations: 32 kB / 0.6343 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.1852, allocations: 421.9 kB / 0.6347 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1852, allocations: 0 / 0.6347 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.1853, allocations: 19.92 kB / 0.6347 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1853, allocations: 7.938 kB / 0.6347 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.1861, allocations: 386.5 kB / 0.6351 GB, free: 2.363 MB / 446.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.004835/0.1909, allocations: 1.959 MB / 0.637 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/0.1968, allocations: 1.221 MB / 0.6382 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.1975, allocations: 241.4 kB / 0.6384 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.1976, allocations: 8.328 kB / 0.6384 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/0.1986, allocations: 397 kB / 0.6388 GB, free: 14.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 2.645e-06/0.1986, allocations: 0 / 0.6388 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005649/0.2042, allocations: 1.684 MB / 0.6404 GB, free: 12.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2043, allocations: 59.41 kB / 0.6405 GB, free: 12.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.2055, allocations: 0.684 MB / 0.6412 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.2056, allocations: 41.69 kB / 0.6412 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.2059, allocations: 308.9 kB / 0.6415 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.2061, allocations: 154.7 kB / 0.6416 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.2063, allocations: 74.12 kB / 0.6417 GB, free: 11.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2064, allocations: 333.9 kB / 0.642 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.207, allocations: 232.8 kB / 0.6423 GB, free: 10.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.2075, allocations: 283.3 kB / 0.6425 GB, free: 10.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.2085, allocations: 0.4974 MB / 0.643 GB, free: 9.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2085, allocations: 0 / 0.643 GB, free: 9.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003935/0.2125, allocations: 1.191 MB / 0.6442 GB, free: 8.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.2125, allocations: 10.81 kB / 0.6442 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2125, allocations: 0 / 0.6442 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/0.2152, allocations: 0.6072 MB / 0.6448 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.2158, allocations: 95.88 kB / 0.6449 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0094/0.2252, allocations: 5.533 MB / 0.6503 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.226, allocations: 55.73 kB / 0.6503 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.2261, allocations: 16 kB / 0.6503 GB, free: 2.148 MB / 462.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.0003902/0.2265, allocations: 177.8 kB / 0.6505 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.2268, allocations: 79.53 kB / 0.6506 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.23, allocations: 1.098 MB / 0.6517 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.23, allocations: 11.92 kB / 0.6517 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.23, allocations: 0 / 0.6517 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.23, allocations: 0 / 0.6517 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.2345, allocations: 1.936 MB / 0.6536 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2345, allocations: 0 / 0.6536 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.2349, allocations: 59.91 kB / 0.6536 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.2366, allocations: 457.3 kB / 0.6541 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.2367, allocations: 15.98 kB / 0.6541 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/0.2415, allocations: 2.782 MB / 0.6568 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2415, allocations: 3.938 kB / 0.6568 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.2453, allocations: 1.469 MB / 0.6582 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.2457, allocations: 168.5 kB / 0.6584 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.2459, allocations: 12 kB / 0.6584 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.2466, allocations: 40.08 kB / 0.6584 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.2469, allocations: 100.2 kB / 0.6585 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.2469, allocations: 16 kB / 0.6585 GB, free: 9.457 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007825/0.2477, allocations: 0.503 MB / 0.659 GB, free: 8.957 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2477, allocations: 0 / 0.659 GB, free: 8.957 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000788/0.2485, allocations: 179.8 kB / 0.6592 GB, free: 8.781 MB / 478.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.004023/0.2526, allocations: 2.042 MB / 0.6612 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.2552, allocations: 0.9894 MB / 0.6622 GB, free: 5.684 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2553, allocations: 4.125 kB / 0.6622 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.2568, allocations: 0.6551 MB / 0.6628 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.2575, allocations: 70.95 kB / 0.6629 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.273, allocations: 7.486 MB / 0.6702 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.2737, allocations: 0.9059 MB / 0.6711 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.2741, allocations: 76.73 kB / 0.6711 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.2745, allocations: 251.3 kB / 0.6714 GB, free: 12.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2745, allocations: 0 / 0.6714 GB, free: 12.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/0.3253, allocations: 18.61 MB / 0.6896 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/12.99, allocations: 0 / 0.6896 GB, free: 9.496 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)