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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008226/0.0008225, allocations: 89.67 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06629/0.06629, allocations: 12.21 MB / 321.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2907/0.2907, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.424e-05, allocations: 0 / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 69.24 MB / 0.5819 GB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5468, allocations: 98.22 MB / 0.6778 GB, free: 9.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5472, allocations: 82.3 kB / 0.6778 GB, free: 9.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03378/0.5809, allocations: 13.39 MB / 0.6909 GB, free: 14.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.581, allocations: 0 / 0.6909 GB, free: 14.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.581, allocations: 8 kB / 0.6909 GB, free: 14.83 MB / 442.7 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.002191/0.5832, allocations: 0.993 MB / 0.6919 GB, free: 13.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5833, allocations: 11.97 kB / 0.6919 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.5839, allocations: 149.1 kB / 0.6921 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5849, allocations: 0.5966 MB / 0.6926 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.585, allocations: 50.47 kB / 0.6927 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.5851, allocations: 19.25 kB / 0.6927 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000537/0.5856, allocations: 329.5 kB / 0.693 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.5862, allocations: 333.6 kB / 0.6933 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5862, allocations: 0 / 0.6933 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.5863, allocations: 0 / 0.6933 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.5863, allocations: 8 kB / 0.6933 GB, free: 12.68 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003722/0.59, allocations: 1.855 MB / 0.6952 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/0.5957, allocations: 1.52 MB / 0.6966 GB, free: 9.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.596, allocations: 204.4 kB / 0.6968 GB, free: 9.617 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/0.5961, allocations: 4.328 kB / 0.6968 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/0.5967, allocations: 335.8 kB / 0.6972 GB, free: 9.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.505e-06/0.5967, allocations: 0 / 0.6972 GB, free: 9.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002633/0.5993, allocations: 0.9499 MB / 0.6981 GB, free: 8.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.5994, allocations: 59.39 kB / 0.6981 GB, free: 8.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.6002, allocations: 0.5355 MB / 0.6987 GB, free: 8.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.6003, allocations: 30.73 kB / 0.6987 GB, free: 8.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.6005, allocations: 301.3 kB / 0.699 GB, free: 7.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.6007, allocations: 153.6 kB / 0.6991 GB, free: 7.801 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.6007, allocations: 0 / 0.6991 GB, free: 7.801 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6008, allocations: 324.8 kB / 0.6994 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.6011, allocations: 190.8 kB / 0.6996 GB, free: 7.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.6015, allocations: 234.2 kB / 0.6998 GB, free: 7.246 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.6018, allocations: 202.7 kB / 0.7 GB, free: 7.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6018, allocations: 0 / 0.7 GB, free: 7.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002927/0.6047, allocations: 1.119 MB / 0.7011 GB, free: 6.227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6048, allocations: 11.98 kB / 0.7011 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6048, allocations: 3.938 kB / 0.7011 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.607, allocations: 0.5829 MB / 0.7017 GB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.6076, allocations: 103.9 kB / 0.7018 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/0.6132, allocations: 4.36 MB / 0.7061 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/0.6139, allocations: 63.73 kB / 0.7061 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.614, allocations: 11.81 kB / 0.7061 GB, free: 1.758 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dfig_Turbine.elecDyn.iqrI:VARIABLE(unit = "1" ) "internal, non saturated iqr" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: dfig_Turbine.elecDyn.idrI:VARIABLE(unit = "1" ) "internal, non saturated idr" type: Real 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 () * 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.0002157/0.6142, allocations: 120.7 kB / 0.7063 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002336/0.6166, allocations: 0.9501 MB / 0.7072 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.6167, allocations: 67.16 kB / 0.7072 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.6193, allocations: 1.04 MB / 0.7083 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6193, allocations: 4 kB / 0.7083 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6193, allocations: 8 kB / 0.7083 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.6193, allocations: 7.984 kB / 0.7083 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.6227, allocations: 1.808 MB / 0.71 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6227, allocations: 0 / 0.71 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.6231, allocations: 59.41 kB / 0.7101 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.6245, allocations: 435.6 kB / 0.7105 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.6246, allocations: 7.25 kB / 0.7105 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.6277, allocations: 2.351 MB / 0.7128 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6277, allocations: 0 / 0.7128 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.6305, allocations: 1.395 MB / 0.7142 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.6307, allocations: 159.2 kB / 0.7143 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.6308, allocations: 3.797 kB / 0.7143 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.6314, allocations: 51.89 kB / 0.7144 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.6316, allocations: 83.22 kB / 0.7145 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.6316, allocations: 15.62 kB / 0.7145 GB, free: 10.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000479/0.6321, allocations: 431.2 kB / 0.7149 GB, free: 10.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6321, allocations: 4 kB / 0.7149 GB, free: 10.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006495/0.6328, allocations: 179.3 kB / 0.7151 GB, free: 10.34 MB / 458.7 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 () * 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.003159/0.6359, allocations: 2.027 MB / 0.7171 GB, free: 8.633 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.6379, allocations: 0.9098 MB / 0.7179 GB, free: 7.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6379, allocations: 0 / 0.7179 GB, free: 7.906 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.6391, allocations: 0.6185 MB / 0.7185 GB, free: 7.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.6395, allocations: 46.25 kB / 0.7186 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.6418, allocations: 1.199 MB / 0.7198 GB, free: 6.227 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.6423, allocations: 0.9254 MB / 0.7207 GB, free: 5.273 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.6426, allocations: 76.59 kB / 0.7207 GB, free: 5.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.6429, allocations: 248.1 kB / 0.721 GB, free: 5.133 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6429, allocations: 0 / 0.721 GB, free: 5.133 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.6801, allocations: 14.98 MB / 0.7356 GB, free: 6.238 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.6803, allocations: 115.6 kB / 0.7357 GB, free: 6.047 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.008, allocations: 0 / 0.7357 GB, free: 6.047 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)