Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_release_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.002401/0.002401, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.085/1.085, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.000837/0.0008369, allocations: 99.02 kB / 280.1 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.389/0.389, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1218/0.5108, allocations: 75.49 MB / 484.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.7611, allocations: 69.34 MB / 0.5408 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.8655, allocations: 96.65 MB / 0.6352 GB, free: 8.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.8657, allocations: 79.95 kB / 0.6353 GB, free: 8.191 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.04157/0.9073, allocations: 14.72 MB / 0.6497 GB, free: 9.367 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9073, allocations: 12 kB / 0.6497 GB, free: 9.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.9081, allocations: 154.9 kB / 0.6498 GB, free: 9.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.9094, allocations: 0.5937 MB / 0.6504 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.9095, allocations: 50.3 kB / 0.6505 GB, free: 8.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.9096, allocations: 27.91 kB / 0.6505 GB, free: 8.484 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006242/0.9102, allocations: 329.3 kB / 0.6508 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.9108, allocations: 336.7 kB / 0.6511 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9108, allocations: 0 / 0.6511 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.9109, allocations: 3.984 kB / 0.6511 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.9109, allocations: 8 kB / 0.6511 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.9147, allocations: 1.859 MB / 0.653 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.9152, allocations: 339.5 kB / 0.6533 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.9155, allocations: 197.5 kB / 0.6535 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.9156, allocations: 8.312 kB / 0.6535 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.9161, allocations: 301.8 kB / 0.6538 GB, free: 4.996 MB / 474.7 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.9161, allocations: 0 / 0.6538 GB, free: 4.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.002687/0.9188, allocations: 0.9746 MB / 0.6547 GB, free: 4.008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.9188, allocations: 55.41 kB / 0.6548 GB, free: 3.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.9195, allocations: 0.531 MB / 0.6553 GB, free: 3.406 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.9195, allocations: 33.69 kB / 0.6553 GB, free: 3.367 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.9197, allocations: 192.7 kB / 0.6555 GB, free: 3.176 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.9198, allocations: 149.8 kB / 0.6556 GB, free: 3.027 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.9199, allocations: 3.938 kB / 0.6556 GB, free: 3.023 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.92, allocations: 326 kB / 0.656 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.9203, allocations: 184.9 kB / 0.6561 GB, free: 2.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.9207, allocations: 231.3 kB / 0.6564 GB, free: 2.285 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.921, allocations: 204.7 kB / 0.6565 GB, free: 2.086 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.921, allocations: 4 kB / 0.6566 GB, free: 2.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003221/0.9242, allocations: 1.148 MB / 0.6577 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9243, allocations: 8 kB / 0.6577 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9243, allocations: 4 kB / 0.6577 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.9267, allocations: 0.6104 MB / 0.6583 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.9273, allocations: 111.9 kB / 0.6584 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.9333, allocations: 4.216 MB / 0.6625 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.9339, allocations: 67.97 kB / 0.6626 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.934, allocations: 15.98 kB / 0.6626 GB, free: 11.65 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.0001847/0.9342, allocations: 120.4 kB / 0.6627 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.9343, allocations: 71.16 kB / 0.6628 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.9373, allocations: 1.066 MB / 0.6638 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.9373, allocations: 11.91 kB / 0.6638 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9373, allocations: 4.125 kB / 0.6638 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9373, allocations: 7.922 kB / 0.6638 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.9411, allocations: 1.826 MB / 0.6656 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9411, allocations: 0 / 0.6656 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.9415, allocations: 55.91 kB / 0.6657 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.9431, allocations: 465.2 kB / 0.6661 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.9432, allocations: 8 kB / 0.6661 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.9467, allocations: 2.272 MB / 0.6683 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9467, allocations: 4 kB / 0.6683 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003223/0.9499, allocations: 1.427 MB / 0.6697 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003705/0.9536, allocations: 2.106 MB / 0.6718 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.9538, allocations: 148.3 kB / 0.6719 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.954, allocations: 8 kB / 0.6719 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000612/0.9546, allocations: 51.94 kB / 0.672 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9547, allocations: 52.34 kB / 0.672 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.9548, allocations: 27.83 kB / 0.6721 GB, free: 1.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005355/0.9553, allocations: 431.2 kB / 0.6725 GB, free: 1.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001199/0.9566, allocations: 175.8 kB / 0.6726 GB, free: 1.062 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.0002047/0.9568, allocations: 134.9 kB / 0.6728 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1397/1.096, allocations: 0.9288 MB / 0.6737 GB, free: 151.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.096, allocations: 0 / 0.6737 GB, free: 151.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.098, allocations: 0.6122 MB / 0.6743 GB, free: 151.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/1.098, allocations: 50.81 kB / 0.6743 GB, free: 151.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.1, allocations: 1.116 MB / 0.6754 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.101, allocations: 0.9838 MB / 0.6764 GB, free: 150.4 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/1.101, allocations: 0 / 0.6764 GB, free: 150.4 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)