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: translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test") translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.004206/0.004206, allocations: 182.6 kB / 7.455 MB, free: 2.18 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.264/1.264, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.001006/0.001005, allocations: 97.39 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4095/0.4095, allocations: 78.06 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.552e-06, allocations: 0 / 484.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 69.36 MB / 0.5407 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3717, allocations: 96.66 MB / 0.6351 GB, free: 8.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.372, allocations: 79.95 kB / 0.6352 GB, free: 8.129 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.04437/0.4164, allocations: 13.69 MB / 0.6486 GB, free: 10.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.4165, allocations: 12 kB / 0.6486 GB, free: 10.38 MB / 474.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.002436/0.4189, allocations: 1.001 MB / 0.6495 GB, free: 9.336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.419, allocations: 15.97 kB / 0.6496 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/0.4198, allocations: 154.9 kB / 0.6497 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.421, allocations: 0.5978 MB / 0.6503 GB, free: 8.527 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.4211, allocations: 54.34 kB / 0.6503 GB, free: 8.469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.4212, allocations: 23.91 kB / 0.6504 GB, free: 8.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006794/0.4219, allocations: 325.3 kB / 0.6507 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.4225, allocations: 332.8 kB / 0.651 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4226, allocations: 3.984 kB / 0.651 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.4226, allocations: 0 / 0.651 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4226, allocations: 8 kB / 0.651 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.4266, allocations: 1.866 MB / 0.6528 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.4272, allocations: 343.4 kB / 0.6532 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.4275, allocations: 197.5 kB / 0.6533 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.4276, allocations: 4.328 kB / 0.6533 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.4281, allocations: 297.9 kB / 0.6536 GB, free: 4.961 MB / 474.7 MB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/0.4281, allocations: 0 / 0.6536 GB, free: 4.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.003031/0.4311, allocations: 0.9707 MB / 0.6546 GB, free: 3.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.4312, allocations: 55.41 kB / 0.6546 GB, free: 3.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.4319, allocations: 0.5388 MB / 0.6552 GB, free: 3.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.432, allocations: 33.64 kB / 0.6552 GB, free: 3.328 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4321, allocations: 192.7 kB / 0.6554 GB, free: 3.137 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.4322, allocations: 153.8 kB / 0.6555 GB, free: 2.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.4323, allocations: 0 / 0.6555 GB, free: 2.984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.4324, allocations: 322 kB / 0.6558 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.4327, allocations: 192.9 kB / 0.656 GB, free: 2.477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.4331, allocations: 227.3 kB / 0.6562 GB, free: 2.246 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.4335, allocations: 208.8 kB / 0.6564 GB, free: 2.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4335, allocations: 0 / 0.6564 GB, free: 2.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003585/0.4371, allocations: 1.151 MB / 0.6575 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4371, allocations: 8 kB / 0.6576 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4371, allocations: 3.938 kB / 0.6576 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.4399, allocations: 0.6026 MB / 0.6581 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.4405, allocations: 111.9 kB / 0.6583 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4469, allocations: 4.213 MB / 0.6624 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.4476, allocations: 71.95 kB / 0.6624 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4476, allocations: 8 kB / 0.6624 GB, free: 11.62 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.0001862/0.4478, allocations: 124.4 kB / 0.6626 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4479, allocations: 67.16 kB / 0.6626 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.4511, allocations: 1.073 MB / 0.6637 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4511, allocations: 11.91 kB / 0.6637 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4511, allocations: 4.125 kB / 0.6637 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4511, allocations: 4 kB / 0.6637 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.4554, allocations: 1.83 MB / 0.6655 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4554, allocations: 0 / 0.6655 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.4558, allocations: 59.91 kB / 0.6655 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.4577, allocations: 449.4 kB / 0.666 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.4577, allocations: 8 kB / 0.666 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.4615, allocations: 2.28 MB / 0.6682 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4615, allocations: 4 kB / 0.6682 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003608/0.4651, allocations: 1.42 MB / 0.6696 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.4654, allocations: 160.1 kB / 0.6697 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4655, allocations: 4 kB / 0.6697 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.4662, allocations: 55.95 kB / 0.6698 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4664, allocations: 52.34 kB / 0.6699 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.4664, allocations: 19.98 kB / 0.6699 GB, free: 3.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005603/0.467, allocations: 427.2 kB / 0.6703 GB, free: 3.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007006/0.4677, allocations: 179.6 kB / 0.6705 GB, free: 3.18 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.0002123/0.4679, allocations: 138.4 kB / 0.6706 GB, free: 3.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.4705, allocations: 0.9323 MB / 0.6715 GB, free: 2.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4705, allocations: 12 kB / 0.6715 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.472, allocations: 0.6064 MB / 0.6721 GB, free: 1.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.4725, allocations: 47.08 kB / 0.6721 GB, free: 1.379 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.4753, allocations: 1.111 MB / 0.6732 GB, free: 240 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1491/0.6244, allocations: 0.9762 MB / 0.6742 GB, free: 151.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6244, allocations: 0 / 0.6742 GB, free: 151.4 MB / 490.7 MB Notification: Performance of Templates: time 0.01467/0.6391, allocations: 9.613 MB / 0.6836 GB, free: 151.3 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)