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.07631/0.07631, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001148/0.001148, allocations: 111.4 kB / 31.84 MB, free: 3.875 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.287/1.287, 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.001412/0.001412, allocations: 187.8 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4218/0.4218, allocations: 78.51 MB / 419.3 MB, free: 11.26 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.003684/0.003684, allocations: 143.2 kB / 0.5554 GB, free: 28.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1048, allocations: 68.13 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.005434/0.1103, allocations: 4.503 MB / 0.6263 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1125, allocations: 1.283 MB / 0.6275 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1127, allocations: 4 kB / 0.6275 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1131, allocations: 122.9 kB / 0.6277 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.1136, allocations: 262 kB / 0.6279 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.1145, allocations: 0.4984 MB / 0.6284 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008486/0.1154, allocations: 0.9068 MB / 0.6293 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1157, allocations: 165.9 kB / 0.6294 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.1161, allocations: 366.3 kB / 0.6298 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.1166, allocations: 442 kB / 0.6302 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.1167, allocations: 84 kB / 0.6303 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.117, allocations: 139.9 kB / 0.6304 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1171, allocations: 195.2 kB / 0.6306 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.1175, allocations: 389.8 kB / 0.631 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1185, allocations: 1.023 MB / 0.632 GB, free: 5.559 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1185, allocations: 0 / 0.632 GB, free: 5.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1186, allocations: 0 / 0.632 GB, free: 5.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1186, allocations: 0 / 0.632 GB, free: 5.559 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.003622/0.1222, allocations: 1.381 MB / 0.6333 GB, free: 4.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1222, allocations: 11.98 kB / 0.6333 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.1223, allocations: 74.72 kB / 0.6334 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.1232, allocations: 188.3 kB / 0.6336 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.124, allocations: 0.575 MB / 0.6341 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1241, allocations: 70.47 kB / 0.6342 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.1242, allocations: 35.98 kB / 0.6342 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.125, allocations: 425.9 kB / 0.6347 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.125, allocations: 3.938 kB / 0.6347 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.1251, allocations: 12 kB / 0.6347 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1251, allocations: 4 kB / 0.6347 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.1258, allocations: 382.5 kB / 0.635 GB, free: 2.305 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.004168/0.13, allocations: 1.959 MB / 0.637 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/0.1357, allocations: 1.233 MB / 0.6382 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.1362, allocations: 241.4 kB / 0.6384 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.1363, allocations: 8.328 kB / 0.6384 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.1371, allocations: 388.1 kB / 0.6388 GB, free: 14.33 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 4.258e-06/0.1371, allocations: 0 / 0.6388 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005251/0.1424, allocations: 1.688 MB / 0.6404 GB, free: 12.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1424, allocations: 63.41 kB / 0.6405 GB, free: 12.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.1433, allocations: 0.684 MB / 0.6411 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.1434, allocations: 37.7 kB / 0.6412 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1436, allocations: 304.9 kB / 0.6415 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1438, allocations: 162.7 kB / 0.6416 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.144, allocations: 78.11 kB / 0.6417 GB, free: 11.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1441, allocations: 325.9 kB / 0.642 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.1446, allocations: 236.8 kB / 0.6422 GB, free: 10.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.1451, allocations: 283.3 kB / 0.6425 GB, free: 10.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009402/0.1461, allocations: 0.4935 MB / 0.643 GB, free: 9.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1461, allocations: 4 kB / 0.643 GB, free: 9.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003552/0.1496, allocations: 1.195 MB / 0.6442 GB, free: 8.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1497, allocations: 8 kB / 0.6442 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1497, allocations: 3.938 kB / 0.6442 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.1522, allocations: 0.6026 MB / 0.6448 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.1527, allocations: 95.86 kB / 0.6448 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.1616, allocations: 5.526 MB / 0.6502 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.1623, allocations: 55.73 kB / 0.6503 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.1623, allocations: 19.94 kB / 0.6503 GB, free: 2.082 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.0002738/0.1626, allocations: 181.8 kB / 0.6505 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1627, allocations: 79.53 kB / 0.6506 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.1657, allocations: 1.098 MB / 0.6516 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1657, allocations: 4 kB / 0.6516 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1657, allocations: 0 / 0.6516 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1658, allocations: 3.984 kB / 0.6516 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.1698, allocations: 1.932 MB / 0.6535 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1698, allocations: 0 / 0.6535 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.1701, allocations: 63.89 kB / 0.6536 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.1718, allocations: 465.2 kB / 0.654 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.1719, allocations: 12 kB / 0.654 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.1764, allocations: 2.778 MB / 0.6568 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1764, allocations: 0 / 0.6568 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.18, allocations: 1.473 MB / 0.6582 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.1802, allocations: 172.5 kB / 0.6584 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.1803, allocations: 12 kB / 0.6584 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.1808, allocations: 39.95 kB / 0.6584 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.1811, allocations: 84.31 kB / 0.6585 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.1811, allocations: 19.98 kB / 0.6585 GB, free: 9.395 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000614/0.1817, allocations: 0.4991 MB / 0.659 GB, free: 8.898 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1817, allocations: 4 kB / 0.659 GB, free: 8.895 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.1824, allocations: 183.8 kB / 0.6592 GB, free: 8.715 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.003896/0.1863, allocations: 2.049 MB / 0.6612 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.1887, allocations: 0.9816 MB / 0.6621 GB, free: 5.621 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1887, allocations: 8.125 kB / 0.6621 GB, free: 5.613 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.1902, allocations: 0.659 MB / 0.6628 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1906, allocations: 63 kB / 0.6629 GB, free: 4.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.2043, allocations: 7.482 MB / 0.6702 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.2049, allocations: 0.9059 MB / 0.671 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.2051, allocations: 72.75 kB / 0.6711 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.2055, allocations: 251.3 kB / 0.6714 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2055, allocations: 0 / 0.6714 GB, free: 12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.2545, allocations: 18.62 MB / 0.6895 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.44, allocations: 7.312 kB / 0.6895 GB, free: 9.43 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)