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"}) [: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.00369/0.003691, allocations: 178.8 kB / 7.457 MB, free: 2.5 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.401/1.401, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008936/0.0008936, allocations: 97.39 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07378/0.07378, allocations: 12.2 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2853/0.5738, allocations: 76.08 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.6941, allocations: 69.23 MB / 0.5813 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/1.053, allocations: 98.13 MB / 0.6771 GB, free: 9.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.054, allocations: 77.98 kB / 0.6772 GB, free: 9.148 MB / 426.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.04109/1.095, allocations: 14.19 MB / 0.691 GB, free: 14.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.095, allocations: 20.58 kB / 0.6911 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/1.096, allocations: 150 kB / 0.6912 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/1.097, allocations: 0.6056 MB / 0.6918 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/1.097, allocations: 42.36 kB / 0.6918 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/1.097, allocations: 20 kB / 0.6919 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006369/1.098, allocations: 331.6 kB / 0.6922 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/1.099, allocations: 335 kB / 0.6925 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.099, allocations: 1.031 kB / 0.6925 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/1.099, allocations: 11.48 kB / 0.6925 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.099, allocations: 8 kB / 0.6925 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/1.103, allocations: 1.864 MB / 0.6943 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/1.103, allocations: 342 kB / 0.6947 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/1.104, allocations: 200.1 kB / 0.6948 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/1.104, allocations: 9.562 kB / 0.6949 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/1.104, allocations: 290.2 kB / 0.6951 GB, free: 11.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.126e-06/1.104, allocations: 0 / 0.6951 GB, free: 11.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.003023/1.107, allocations: 0.9778 MB / 0.6961 GB, free: 10.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.107, allocations: 63.33 kB / 0.6962 GB, free: 10.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/1.108, allocations: 0.5304 MB / 0.6967 GB, free: 9.883 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/1.108, allocations: 29.7 kB / 0.6967 GB, free: 9.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.108, allocations: 189.5 kB / 0.6969 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/1.109, allocations: 143.1 kB / 0.697 GB, free: 9.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/1.109, allocations: 0 / 0.697 GB, free: 9.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/1.109, allocations: 333 kB / 0.6973 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/1.109, allocations: 194.1 kB / 0.6975 GB, free: 9.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/1.11, allocations: 232.1 kB / 0.6977 GB, free: 8.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/1.11, allocations: 196.3 kB / 0.6979 GB, free: 8.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.11, allocations: 0 / 0.6979 GB, free: 8.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003508/1.114, allocations: 1.153 MB / 0.6991 GB, free: 7.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.114, allocations: 8 kB / 0.6991 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.114, allocations: 7.922 kB / 0.6991 GB, free: 7.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.116, allocations: 0.6018 MB / 0.6997 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/1.117, allocations: 111.1 kB / 0.6998 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/1.124, allocations: 4.23 MB / 0.7039 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/1.124, allocations: 64.16 kB / 0.704 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.125, allocations: 19.55 kB / 0.704 GB, free: 3.461 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.0002787/1.125, allocations: 112.5 kB / 0.7041 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/1.125, allocations: 71.06 kB / 0.7041 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/1.128, allocations: 1.074 MB / 0.7052 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.128, allocations: 8 kB / 0.7052 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.128, allocations: 0 / 0.7052 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.128, allocations: 3.984 kB / 0.7052 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/1.133, allocations: 1.836 MB / 0.707 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.133, allocations: 0 / 0.707 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/1.134, allocations: 55.91 kB / 0.7071 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.135, allocations: 462.5 kB / 0.7075 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/1.136, allocations: 4 kB / 0.7075 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/1.139, allocations: 2.267 MB / 0.7097 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.139, allocations: 4 kB / 0.7097 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003343/1.143, allocations: 1.435 MB / 0.7111 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003968/1.147, allocations: 2.1 MB / 0.7132 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/1.147, allocations: 157.8 kB / 0.7133 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.147, allocations: 11.34 kB / 0.7133 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/1.148, allocations: 48.06 kB / 0.7134 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.148, allocations: 58.78 kB / 0.7134 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/1.148, allocations: 19.61 kB / 0.7134 GB, free: 11.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007256/1.149, allocations: 431.2 kB / 0.7139 GB, free: 11.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001334/1.15, allocations: 174.4 kB / 0.714 GB, free: 11.13 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.0003066/1.151, allocations: 131 kB / 0.7142 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/1.153, allocations: 0.9384 MB / 0.7151 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.153, allocations: 3.438 kB / 0.7151 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.154, allocations: 0.6021 MB / 0.7157 GB, free: 9.699 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/1.155, allocations: 49.67 kB / 0.7157 GB, free: 9.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/1.158, allocations: 1.127 MB / 0.7168 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000986/1.159, allocations: 0.9788 MB / 0.7178 GB, free: 7.641 MB / 458.7 MB Notification: Performance of SimCode: time 8.61e-07/1.159, allocations: 0 / 0.7178 GB, free: 7.641 MB / 458.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)