Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Wind.GE.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.GE.WT_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Wind_GE_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.GE.WT_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Wind_GE_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.001747/0.001747, 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.072/1.072, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.000845/0.000845, allocations: 101.3 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.365/0.365, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1171/0.4821, allocations: 75.48 MB / 484.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.7118, allocations: 69.35 MB / 0.5408 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.8175, allocations: 103.9 MB / 0.6423 GB, free: 1.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.8177, allocations: 75.95 kB / 0.6424 GB, free: 0.9258 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Wind/GE/Type_3/GE_WT.mo:176:11-177:22:writable] Warning: lambda_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Wind/GE/Type_3/GE_WT.mo:224:11-225:22:writable] Warning: theta_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.2794/1.097, allocations: 48.18 MB / 0.6894 GB, free: 101.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/1.097, allocations: 10.12 kB / 0.6894 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/1.1, allocations: 0.6395 MB / 0.69 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/1.103, allocations: 1.572 MB / 0.6916 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/1.103, allocations: 367.2 kB / 0.6919 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/1.103, allocations: 114.3 kB / 0.692 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002854/1.106, allocations: 1.794 MB / 0.6938 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/1.109, allocations: 2.023 MB / 0.6958 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/1.109, allocations: 2.25 kB / 0.6958 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.109, allocations: 3.938 kB / 0.6958 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.109, allocations: 43 kB / 0.6958 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/1.12, allocations: 9.452 MB / 0.705 GB, free: 93.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.122, allocations: 1.147 MB / 0.7062 GB, free: 93.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.123, allocations: 0.8864 MB / 0.707 GB, free: 92.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.123, allocations: 16.91 kB / 0.707 GB, free: 92.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.123, allocations: 54.44 kB / 0.7071 GB, free: 92.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 3.427e-06/1.123, allocations: 0 / 0.7071 GB, free: 92.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01379/1.137, allocations: 5.097 MB / 0.7121 GB, free: 91.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.137, allocations: 256.5 kB / 0.7123 GB, free: 90.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.139, allocations: 1.262 MB / 0.7135 GB, free: 90.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000345/1.139, allocations: 30.98 kB / 0.7136 GB, free: 90.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.139, allocations: 0.6374 MB / 0.7142 GB, free: 89.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/1.14, allocations: 0.5266 MB / 0.7147 GB, free: 89.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.14, allocations: 4.594 kB / 0.7147 GB, free: 89.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/1.14, allocations: 392.1 kB / 0.7151 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.142, allocations: 0.9625 MB / 0.716 GB, free: 88.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.143, allocations: 1.334 MB / 0.7173 GB, free: 87.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/1.145, allocations: 1.073 MB / 0.7184 GB, free: 87.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.145, allocations: 4 kB / 0.7184 GB, free: 87.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01343/1.158, allocations: 5.898 MB / 0.7241 GB, free: 82.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000369/1.159, allocations: 2.956 MB / 0.727 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.159, allocations: 12 kB / 0.727 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/1.163, allocations: 1.614 MB / 0.7286 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.165, allocations: 453.1 kB / 0.7291 GB, free: 77.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/1.175, allocations: 5.097 MB / 0.734 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.177, allocations: 401.3 kB / 0.7344 GB, free: 72.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.177, allocations: 81.45 kB / 0.7345 GB, free: 71.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/1.177, allocations: 8 kB / 0.7345 GB, free: 71.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01337/1.191, allocations: 5.596 MB / 0.74 GB, free: 66.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.191, allocations: 11.91 kB / 0.74 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/1.195, allocations: 1.615 MB / 0.7416 GB, free: 65.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.197, allocations: 407.4 kB / 0.7419 GB, free: 64.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009412/1.206, allocations: 5.096 MB / 0.7469 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.208, allocations: 314.5 kB / 0.7472 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.208, allocations: 79.98 kB / 0.7473 GB, free: 59.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 17 (GE_WT_init.turbine_Model1.thlim1,GE_WT_init.turbine_Model1.pwlim2,GE_WT_init.generator1.integrator3.local_reset,GE_WT_init.generator1.integrator2.local_reset,GE_WT_init.generator1.integrator1.local_reset,GE_WT_init.electrical_Control1.integrator1.local_reset,GE_WT_init.electrical_Control1.limIntegrator1.local_reset,GE_WT_init.turbine_Model1.limIntegrator2.local_reset,GE_WT_init.turbine_Model1.integrator4.local_reset,GE_WT_init.turbine_Model1.limIntegrator1.local_reset,GE_WT_init.turbine_Model1.integrator3.local_reset,GE_WT_init.turbine_Model1.integrator2.local_reset,GE_WT_init.turbine_Model1.integrator1.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator4.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator3.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator2.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(20,23.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003935/1.209, allocations: 161.9 kB / 0.7474 GB, free: 58.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/1.209, allocations: 197.5 kB / 0.7476 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.221, allocations: 5.202 MB / 0.7527 GB, free: 53.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.221, allocations: 16 kB / 0.7527 GB, free: 53.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.221, allocations: 15.89 kB / 0.7527 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.221, allocations: 3.984 kB / 0.7528 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.235, allocations: 7.268 MB / 0.7598 GB, free: 46.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.235, allocations: 0 / 0.7598 GB, free: 46.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.237, allocations: 279.7 kB / 0.7601 GB, free: 45.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004307/1.241, allocations: 1.598 MB / 0.7617 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/1.241, allocations: 15.62 kB / 0.7617 GB, free: 44.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009516/1.251, allocations: 5.082 MB / 0.7667 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.251, allocations: 0 / 0.7667 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01415/1.265, allocations: 6.565 MB / 0.7731 GB, free: 32.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01549/1.28, allocations: 8.254 MB / 0.7811 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/1.281, allocations: 282.3 kB / 0.7814 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/1.281, allocations: 8 kB / 0.7814 GB, free: 23.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.283, allocations: 255.7 kB / 0.7816 GB, free: 23.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004139/1.283, allocations: 189 kB / 0.7818 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.283, allocations: 32 kB / 0.7819 GB, free: 23.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001131/1.284, allocations: 0.9157 MB / 0.7828 GB, free: 22.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003468/1.288, allocations: 0.9853 MB / 0.7837 GB, free: 21.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 15 (GE_WT_init.turbine_Model1.rotor_Model1.integrator1.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator2.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator3.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator4.y,GE_WT_init.turbine_Model1.integrator1.y,GE_WT_init.turbine_Model1.integrator2.y,GE_WT_init.turbine_Model1.integrator3.y,GE_WT_init.turbine_Model1.limIntegrator1.y,GE_WT_init.turbine_Model1.integrator4.y,GE_WT_init.turbine_Model1.limIntegrator2.y,GE_WT_init.electrical_Control1.limIntegrator1.y,GE_WT_init.electrical_Control1.integrator1.y,GE_WT_init.generator1.integrator1.y,GE_WT_init.generator1.integrator2.y,GE_WT_init.generator1.integrator3.y) * Number of discrete variables: 2 (GE_WT_init.turbine_Model1.thlim1,GE_WT_init.turbine_Model1.pwlim2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 123 * 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: 1 {(20,23.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004629/1.288, allocations: 204.9 kB / 0.7839 GB, free: 21.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.299, allocations: 6.355 MB / 0.7901 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.299, allocations: 0 / 0.7901 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.303, allocations: 1.997 MB / 0.7921 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/1.304, allocations: 187.9 kB / 0.7922 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/1.311, allocations: 3.242 MB / 0.7954 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.312, allocations: 1.66 MB / 0.797 GB, free: 7.781 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/1.312, allocations: 0 / 0.797 GB, free: 7.781 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Wind_GE_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Wind_GE_WT_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)