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-master/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-master/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: translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test") translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test") [: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 3.2.3+maint.om/package.mo): time 0.003027/0.003027, allocations: 180 kB / 7.455 MB, free: 2.508 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.458/1.458, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.000926/0.0009259, allocations: 95.5 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07727/0.07727, allocations: 12.59 MB / 321.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3148/0.3148, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.576e-06, allocations: 4 kB / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 69.31 MB / 0.5818 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.6796, allocations: 98.21 MB / 0.6777 GB, free: 9.012 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.68, allocations: 75.86 kB / 0.6778 GB, free: 9 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.03849/0.7185, allocations: 13.17 MB / 0.6907 GB, free: 14.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.478e-05/0.7185, allocations: 12 kB / 0.6907 GB, free: 14.76 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.002924/0.7215, allocations: 1.008 MB / 0.6917 GB, free: 13.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.7215, allocations: 15.97 kB / 0.6917 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.7225, allocations: 150 kB / 0.6918 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7241, allocations: 0.608 MB / 0.6924 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.7242, allocations: 50.34 kB / 0.6925 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.7243, allocations: 16 kB / 0.6925 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006952/0.725, allocations: 334 kB / 0.6928 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.7257, allocations: 334.4 kB / 0.6931 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7257, allocations: 0 / 0.6931 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.7258, allocations: 3.984 kB / 0.6931 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7258, allocations: 8 kB / 0.6931 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.7304, allocations: 1.868 MB / 0.6949 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.731, allocations: 346 kB / 0.6953 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.7313, allocations: 194.5 kB / 0.6955 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.7314, allocations: 6.203 kB / 0.6955 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.7319, allocations: 293.3 kB / 0.6957 GB, free: 10.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 4.278e-06/0.732, allocations: 4 kB / 0.6957 GB, free: 10.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002938/0.7349, allocations: 0.9724 MB / 0.6967 GB, free: 9.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.735, allocations: 58.53 kB / 0.6968 GB, free: 9.602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.7357, allocations: 0.5314 MB / 0.6973 GB, free: 9.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.7358, allocations: 33.69 kB / 0.6973 GB, free: 9.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.7359, allocations: 195.4 kB / 0.6975 GB, free: 8.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.7361, allocations: 150.7 kB / 0.6976 GB, free: 8.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.7362, allocations: 4 kB / 0.6976 GB, free: 8.859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7363, allocations: 324.6 kB / 0.6979 GB, free: 8.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.7367, allocations: 186.9 kB / 0.6981 GB, free: 8.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.737, allocations: 230.7 kB / 0.6983 GB, free: 8.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.7374, allocations: 201.2 kB / 0.6985 GB, free: 8.203 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7374, allocations: 0 / 0.6985 GB, free: 8.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003383/0.7408, allocations: 1.156 MB / 0.6997 GB, free: 7.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7408, allocations: 8 kB / 0.6997 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7408, allocations: 0 / 0.6997 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.7434, allocations: 0.5994 MB / 0.7003 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.744, allocations: 107.2 kB / 0.7004 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006631/0.7507, allocations: 4.232 MB / 0.7045 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.7515, allocations: 64.06 kB / 0.7046 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.7515, allocations: 15.48 kB / 0.7046 GB, free: 2.781 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 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.0002423/0.7518, allocations: 124.6 kB / 0.7047 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.752, allocations: 79 kB / 0.7048 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.7551, allocations: 1.069 MB / 0.7058 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7551, allocations: 8 kB / 0.7058 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.7551, allocations: 0 / 0.7058 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7551, allocations: 3.984 kB / 0.7058 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.7594, allocations: 1.833 MB / 0.7076 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7594, allocations: 3.906 kB / 0.7076 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.7599, allocations: 59.28 kB / 0.7077 GB, free: 260 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.7616, allocations: 451 kB / 0.7081 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.7616, allocations: 7.125 kB / 0.7081 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.7653, allocations: 2.271 MB / 0.7103 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7653, allocations: 7.906 kB / 0.7103 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003398/0.7687, allocations: 1.435 MB / 0.7117 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.7691, allocations: 150.4 kB / 0.7119 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.7692, allocations: 7.188 kB / 0.7119 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.7699, allocations: 47.95 kB / 0.7119 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.7701, allocations: 58.31 kB / 0.712 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.7702, allocations: 18.55 kB / 0.712 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0006489/0.7708, allocations: 434.3 kB / 0.7124 GB, free: 12.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008218/0.7717, allocations: 167 kB / 0.7126 GB, free: 12.07 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.0002652/0.7719, allocations: 126.5 kB / 0.7127 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.7744, allocations: 0.9437 MB / 0.7136 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7745, allocations: 0 / 0.7136 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.7758, allocations: 0.6104 MB / 0.7142 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.7763, allocations: 48.72 kB / 0.7143 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.7795, allocations: 1.103 MB / 0.7153 GB, free: 9.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/0.7804, allocations: 0.973 MB / 0.7163 GB, free: 8.602 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7804, allocations: 0 / 0.7163 GB, free: 8.602 MB / 458.7 MB Notification: Performance of Templates: time 0.01902/0.7994, allocations: 9.592 MB / 0.7257 GB, free: 15.07 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)