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.00123/0.00123, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.361/1.361, allocations: 223.2 MB / 238.9 MB, free: 5.625 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.001119/0.001119, allocations: 184 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.507/0.507, allocations: 79.45 MB / 420.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 11.98 kB / 0.4891 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3865, allocations: 69.51 MB / 0.557 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.003418/0.39, allocations: 3.731 MB / 0.5606 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.392, allocations: 1.192 MB / 0.5618 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.3922, allocations: 4.219 kB / 0.5618 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.3925, allocations: 95.72 kB / 0.5619 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.393, allocations: 244 kB / 0.5621 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.3938, allocations: 391.3 kB / 0.5625 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.3945, allocations: 0.5559 MB / 0.563 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3947, allocations: 132.5 kB / 0.5631 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.395, allocations: 286.3 kB / 0.5634 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.3955, allocations: 378.7 kB / 0.5638 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.3955, allocations: 35.03 kB / 0.5638 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3957, allocations: 81.92 kB / 0.5639 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3958, allocations: 130.1 kB / 0.564 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3959, allocations: 137.3 kB / 0.5641 GB, free: 37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.3966, allocations: 0.7654 MB / 0.5649 GB, free: 36.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.3966, allocations: 0 / 0.5649 GB, free: 36.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3966, allocations: 0 / 0.5649 GB, free: 36.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3966, allocations: 0.625 kB / 0.5649 GB, free: 36.94 MB / 430.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.003227/0.3998, allocations: 1.277 MB / 0.5661 GB, free: 36.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3999, allocations: 12.09 kB / 0.5661 GB, free: 36.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.204e-05/0.4, allocations: 69.11 kB / 0.5662 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.4009, allocations: 193.8 kB / 0.5664 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.4016, allocations: 0.5472 MB / 0.5669 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.4016, allocations: 61.2 kB / 0.567 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.4017, allocations: 41.22 kB / 0.567 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.4024, allocations: 426.6 kB / 0.5674 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4024, allocations: 0 / 0.5674 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.4025, allocations: 18.12 kB / 0.5674 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.4025, allocations: 8.094 kB / 0.5675 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.4032, allocations: 394.1 kB / 0.5678 GB, free: 35.86 MB / 430.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.004017/0.4072, allocations: 1.981 MB / 0.5698 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/0.413, allocations: 1.603 MB / 0.5713 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.413, allocations: 6.078 kB / 0.5713 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.4137, allocations: 393.7 kB / 0.5717 GB, free: 34.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.4137, allocations: 0 / 0.5717 GB, free: 34.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.005214/0.419, allocations: 1.876 MB / 0.5735 GB, free: 34.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.419, allocations: 60.8 kB / 0.5736 GB, free: 34.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.4199, allocations: 0.6866 MB / 0.5743 GB, free: 34.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.42, allocations: 39.56 kB / 0.5743 GB, free: 34.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.4201, allocations: 299.5 kB / 0.5746 GB, free: 34.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.4203, allocations: 159.1 kB / 0.5747 GB, free: 33.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.4203, allocations: 12.69 kB / 0.5748 GB, free: 33.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.4204, allocations: 323.2 kB / 0.5751 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.4208, allocations: 246.2 kB / 0.5753 GB, free: 33.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.4213, allocations: 291 kB / 0.5756 GB, free: 33.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.4217, allocations: 256.6 kB / 0.5758 GB, free: 33.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4217, allocations: 0 / 0.5758 GB, free: 33.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003298/0.425, allocations: 1.315 MB / 0.5771 GB, free: 32.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.425, allocations: 6.812 kB / 0.5771 GB, free: 32.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.425, allocations: 3.5 kB / 0.5771 GB, free: 32.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.4276, allocations: 0.6824 MB / 0.5778 GB, free: 32.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.4282, allocations: 108 kB / 0.5779 GB, free: 32.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/0.4355, allocations: 5.372 MB / 0.5831 GB, free: 28.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.4363, allocations: 68.61 kB / 0.5832 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.4364, allocations: 11.31 kB / 0.5832 GB, free: 28.83 MB / 430.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 ($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 initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.4367, allocations: 183.9 kB / 0.5834 GB, free: 28.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.4368, allocations: 72.84 kB / 0.5835 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.4398, allocations: 1.221 MB / 0.5847 GB, free: 28.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4398, allocations: 9.656 kB / 0.5847 GB, free: 28.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4399, allocations: 4.828 kB / 0.5847 GB, free: 28.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4399, allocations: 5.531 kB / 0.5847 GB, free: 28.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.4439, allocations: 2.048 MB / 0.5867 GB, free: 27.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4439, allocations: 1.281 kB / 0.5867 GB, free: 27.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.4443, allocations: 63.66 kB / 0.5867 GB, free: 27.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.4461, allocations: 0.5083 MB / 0.5872 GB, free: 27.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.4462, allocations: 12.59 kB / 0.5872 GB, free: 27.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.4503, allocations: 2.728 MB / 0.5899 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4503, allocations: 4.266 kB / 0.5899 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.4541, allocations: 1.596 MB / 0.5915 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.4544, allocations: 159.9 kB / 0.5916 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.4546, allocations: 16.23 kB / 0.5916 GB, free: 24.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.4554, allocations: 56.44 kB / 0.5917 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.4556, allocations: 87.91 kB / 0.5918 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4557, allocations: 18.28 kB / 0.5918 GB, free: 24.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007354/0.4564, allocations: 0.4947 MB / 0.5923 GB, free: 24.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4564, allocations: 0 / 0.5923 GB, free: 24.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008763/0.4573, allocations: 194.1 kB / 0.5925 GB, free: 24.18 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003961/0.4613, allocations: 2.233 MB / 0.5946 GB, free: 22.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4638, allocations: 1.047 MB / 0.5957 GB, free: 22.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4639, allocations: 0.9688 kB / 0.5957 GB, free: 22.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.4653, allocations: 0.6897 MB / 0.5963 GB, free: 22.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.4659, allocations: 52.56 kB / 0.5964 GB, free: 22.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.4774, allocations: 5.632 MB / 0.6019 GB, free: 19.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4779, allocations: 0.9195 MB / 0.6028 GB, free: 18.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.4783, allocations: 74.23 kB / 0.6029 GB, free: 18.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.4787, allocations: 249 kB / 0.6031 GB, free: 18.29 MB / 430.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4787, allocations: 1.219 kB / 0.6031 GB, free: 18.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.5205, allocations: 16.66 MB / 0.6194 GB, free: 12.42 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.5207, allocations: 193.6 kB / 0.6195 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.629, allocations: 0 / 0.6195 GB, free: 12.18 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1) Environment - environmentSimulation: