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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00522/0.00522, allocations: 100.6 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 196.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5087/0.5087, allocations: 91.98 MB / 431.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 79.44 kB / 0.5723 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1409, allocations: 71.3 MB / 0.6419 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.005401/0.1464, allocations: 4.505 MB / 0.6463 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1487, allocations: 1.232 MB / 0.6475 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.1489, allocations: 4 kB / 0.6475 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1493, allocations: 130.9 kB / 0.6477 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.1499, allocations: 250.1 kB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1509, allocations: 0.5167 MB / 0.6484 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009453/0.1519, allocations: 0.9108 MB / 0.6493 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1522, allocations: 157.9 kB / 0.6494 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.1526, allocations: 366.4 kB / 0.6498 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.1532, allocations: 446 kB / 0.6502 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1533, allocations: 84 kB / 0.6503 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.1536, allocations: 131.9 kB / 0.6504 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.1537, allocations: 191.2 kB / 0.6506 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.1541, allocations: 397.8 kB / 0.651 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1552, allocations: 1.019 MB / 0.652 GB, free: 9.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1552, allocations: 0 / 0.652 GB, free: 9.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1552, allocations: 0 / 0.652 GB, free: 9.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1552, allocations: 0 / 0.652 GB, free: 9.719 MB / 462.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.00371/0.1589, allocations: 1.385 MB / 0.6533 GB, free: 8.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.159, allocations: 12.03 kB / 0.6533 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.619e-05/0.1591, allocations: 66.72 kB / 0.6534 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.16, allocations: 192.3 kB / 0.6536 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.1608, allocations: 0.5866 MB / 0.6542 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.1609, allocations: 62.42 kB / 0.6542 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.161, allocations: 32 kB / 0.6543 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.1618, allocations: 421.9 kB / 0.6547 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1619, allocations: 0 / 0.6547 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.1619, allocations: 16 kB / 0.6547 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1619, allocations: 8 kB / 0.6547 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1627, allocations: 382.5 kB / 0.655 GB, free: 6.469 MB / 462.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.004439/0.1671, allocations: 1.959 MB / 0.657 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/0.173, allocations: 1.225 MB / 0.6582 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.1736, allocations: 241.4 kB / 0.6584 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.591e-05/0.1737, allocations: 16.25 kB / 0.6584 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009023/0.1746, allocations: 393.1 kB / 0.6588 GB, free: 2.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 3.196e-06/0.1746, allocations: 4 kB / 0.6588 GB, free: 2.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.00577/0.1804, allocations: 1.676 MB / 0.6604 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1805, allocations: 55.41 kB / 0.6605 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1815, allocations: 0.6918 MB / 0.6611 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.1816, allocations: 33.64 kB / 0.6612 GB, free: 15.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.1818, allocations: 316.8 kB / 0.6615 GB, free: 15.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.182, allocations: 162.6 kB / 0.6616 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.1822, allocations: 78.12 kB / 0.6617 GB, free: 15.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1823, allocations: 325.9 kB / 0.662 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.1828, allocations: 240.8 kB / 0.6622 GB, free: 14.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.1834, allocations: 275.3 kB / 0.6625 GB, free: 14.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.1843, allocations: 0.4897 MB / 0.663 GB, free: 14.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1843, allocations: 0 / 0.663 GB, free: 14.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003617/0.188, allocations: 1.192 MB / 0.6641 GB, free: 12.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.188, allocations: 4 kB / 0.6642 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.188, allocations: 0 / 0.6642 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.1906, allocations: 0.6181 MB / 0.6648 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.1912, allocations: 87.88 kB / 0.6648 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008931/0.2001, allocations: 5.533 MB / 0.6702 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.2009, allocations: 51.78 kB / 0.6703 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.201, allocations: 19.98 kB / 0.6703 GB, free: 6.246 MB / 478.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.0002978/0.2013, allocations: 177.9 kB / 0.6705 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2014, allocations: 75.47 kB / 0.6706 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.2045, allocations: 1.102 MB / 0.6716 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2045, allocations: 4 kB / 0.6716 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2045, allocations: 4 kB / 0.6716 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2045, allocations: 3.984 kB / 0.6716 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.2087, allocations: 1.944 MB / 0.6735 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2087, allocations: 0 / 0.6735 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.209, allocations: 67.94 kB / 0.6736 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.2108, allocations: 449.2 kB / 0.674 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.2109, allocations: 23.92 kB / 0.6741 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.2155, allocations: 2.786 MB / 0.6768 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2155, allocations: 0 / 0.6768 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.2192, allocations: 1.469 MB / 0.6782 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.2194, allocations: 168.5 kB / 0.6784 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.2195, allocations: 15.98 kB / 0.6784 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.2201, allocations: 31.97 kB / 0.6784 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.2203, allocations: 84.31 kB / 0.6785 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.2204, allocations: 23.98 kB / 0.6785 GB, free: 13.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000634/0.221, allocations: 0.503 MB / 0.679 GB, free: 13.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.221, allocations: 0 / 0.679 GB, free: 13.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006349/0.2217, allocations: 183.8 kB / 0.6792 GB, free: 12.88 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.003962/0.2256, allocations: 2.039 MB / 0.6812 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.2282, allocations: 0.9855 MB / 0.6821 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2282, allocations: 0 / 0.6821 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.2297, allocations: 0.6707 MB / 0.6828 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.2303, allocations: 62.98 kB / 0.6829 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.2447, allocations: 7.488 MB / 0.6902 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.2452, allocations: 0.9097 MB / 0.6911 GB, free: 480 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.2455, allocations: 68.75 kB / 0.6911 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.2459, allocations: 247.4 kB / 0.6914 GB, free: 160 kB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2459, allocations: 0 / 0.6914 GB, free: 160 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05127/0.2972, allocations: 18.58 MB / 0.7095 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.09, allocations: 7.922 kB / 0.7095 GB, free: 13.7 MB / 0.5137 GB (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)