Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003773/0.003773, allocations: 179.2 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.4 MB / 229.3 MB, free: 3.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009682, allocations: 96.48 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5338/0.5338, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1975/0.7313, allocations: 75.49 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/1.221, allocations: 69.35 MB / 0.5408 GB, free: 21.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/1.372, allocations: 96.66 MB / 0.6352 GB, free: 8.027 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/1.373, allocations: 79.94 kB / 0.6353 GB, free: 7.949 MB / 458.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.04819/1.421, allocations: 14.71 MB / 0.6496 GB, free: 9.145 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.421, allocations: 8 kB / 0.6496 GB, free: 9.137 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/1.422, allocations: 158.9 kB / 0.6498 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.424, allocations: 0.5977 MB / 0.6504 GB, free: 8.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/1.424, allocations: 54.28 kB / 0.6504 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.424, allocations: 23.91 kB / 0.6505 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008479/1.425, allocations: 329.3 kB / 0.6508 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/1.426, allocations: 332.8 kB / 0.6511 GB, free: 7.605 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.426, allocations: 0 / 0.6511 GB, free: 7.605 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/1.426, allocations: 8 kB / 0.6511 GB, free: 7.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/1.426, allocations: 11.94 kB / 0.6511 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/1.431, allocations: 1.861 MB / 0.6529 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/1.431, allocations: 346.2 kB / 0.6533 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/1.432, allocations: 193.5 kB / 0.6534 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/1.432, allocations: 4.328 kB / 0.6534 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/1.432, allocations: 301.9 kB / 0.6537 GB, free: 4.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=46): time 2.355e-06/1.433, allocations: 0 / 0.6537 GB, free: 4.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.003154/1.436, allocations: 0.9746 MB / 0.6547 GB, free: 3.777 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.436, allocations: 59.41 kB / 0.6547 GB, free: 3.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.437, allocations: 0.5271 MB / 0.6553 GB, free: 3.176 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/1.437, allocations: 25.7 kB / 0.6553 GB, free: 3.145 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/1.437, allocations: 200.6 kB / 0.6555 GB, free: 2.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/1.437, allocations: 149.8 kB / 0.6556 GB, free: 2.797 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/1.437, allocations: 0 / 0.6556 GB, free: 2.797 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/1.437, allocations: 318 kB / 0.6559 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/1.438, allocations: 196.9 kB / 0.6561 GB, free: 2.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/1.438, allocations: 231.3 kB / 0.6563 GB, free: 2.055 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/1.439, allocations: 200.8 kB / 0.6565 GB, free: 1.859 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.439, allocations: 0 / 0.6565 GB, free: 1.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003603/1.442, allocations: 1.163 MB / 0.6577 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.442, allocations: 4 kB / 0.6577 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.442, allocations: 0 / 0.6577 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/1.445, allocations: 0.6065 MB / 0.6582 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/1.446, allocations: 111.8 kB / 0.6584 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/1.453, allocations: 4.216 MB / 0.6625 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/1.454, allocations: 71.92 kB / 0.6625 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/1.454, allocations: 20.06 kB / 0.6626 GB, free: 11.41 MB / 490.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 w/o 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.0003029/1.455, allocations: 116.9 kB / 0.6627 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/1.455, allocations: 67.16 kB / 0.6627 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/1.458, allocations: 1.073 MB / 0.6638 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.458, allocations: 11.91 kB / 0.6638 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.458, allocations: 0 / 0.6638 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.458, allocations: 0 / 0.6638 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/1.463, allocations: 1.83 MB / 0.6656 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.463, allocations: 8.031 kB / 0.6656 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/1.463, allocations: 63.84 kB / 0.6657 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/1.465, allocations: 445.3 kB / 0.6661 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/1.465, allocations: 7.984 kB / 0.6661 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/1.469, allocations: 2.282 MB / 0.6683 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.469, allocations: 4 kB / 0.6683 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003759/1.473, allocations: 1.416 MB / 0.6697 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004303/1.478, allocations: 2.106 MB / 0.6718 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/1.478, allocations: 156.2 kB / 0.6719 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.478, allocations: 7.984 kB / 0.6719 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/1.479, allocations: 47.97 kB / 0.672 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.479, allocations: 60.33 kB / 0.672 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/1.479, allocations: 23.89 kB / 0.672 GB, free: 1.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008563/1.48, allocations: 423.3 kB / 0.6724 GB, free: 1.004 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001679/1.482, allocations: 183.7 kB / 0.6726 GB, free: 0.8242 MB / 490.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.0004257/1.482, allocations: 130.9 kB / 0.6727 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2825/1.765, allocations: 0.926 MB / 0.6736 GB, free: 151.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.765, allocations: 3.969 kB / 0.6736 GB, free: 151.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.766, allocations: 0.6125 MB / 0.6742 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/1.767, allocations: 47.38 kB / 0.6743 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/1.77, allocations: 1.116 MB / 0.6754 GB, free: 150.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/1.77, allocations: 0.9834 MB / 0.6763 GB, free: 150.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/1.77, allocations: 0 / 0.6763 GB, free: 150.2 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)