Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Wind.GE.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_GE_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.GE.WT_Test,fileNamePrefix="OpenIPSL_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.004693/0.004693, allocations: 176.7 kB / 7.455 MB, free: 2.34 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.409/1.409, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.001056/0.001056, allocations: 94.98 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5456/0.5456, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2148/0.7604, allocations: 75.49 MB / 484.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/1.221, allocations: 69.34 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/1.378, allocations: 103.9 MB / 0.6423 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.378, allocations: 71.97 kB / 0.6423 GB, free: 0.8125 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0.1/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.5012/1.879, allocations: 48.18 MB / 0.6894 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.88, allocations: 7.812 kB / 0.6894 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/1.884, allocations: 0.6455 MB / 0.69 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/1.888, allocations: 1.577 MB / 0.6916 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005923/1.889, allocations: 360.9 kB / 0.6919 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006789/1.89, allocations: 111.7 kB / 0.692 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005437/1.895, allocations: 1.794 MB / 0.6938 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/1.9, allocations: 2.028 MB / 0.6957 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/1.9, allocations: 6 kB / 0.6957 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/1.901, allocations: 3.844 kB / 0.6957 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/1.901, allocations: 43.25 kB / 0.6958 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01985/1.921, allocations: 9.444 MB / 0.705 GB, free: 93.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/1.923, allocations: 1.145 MB / 0.7061 GB, free: 93.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.925, allocations: 0.8897 MB / 0.707 GB, free: 92.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/1.925, allocations: 20.88 kB / 0.707 GB, free: 92.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/1.925, allocations: 50.5 kB / 0.7071 GB, free: 92.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.047e-06/1.925, allocations: 3.828 kB / 0.7071 GB, free: 92.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01574/1.941, allocations: 5.095 MB / 0.712 GB, free: 91.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/1.941, allocations: 254.4 kB / 0.7123 GB, free: 91.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.944, allocations: 1.272 MB / 0.7135 GB, free: 90.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005152/1.944, allocations: 30.23 kB / 0.7136 GB, free: 90.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/1.945, allocations: 0.638 MB / 0.7142 GB, free: 90.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006115/1.945, allocations: 0.5234 MB / 0.7147 GB, free: 89.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.946, allocations: 5.75 kB / 0.7147 GB, free: 89.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/1.946, allocations: 388.5 kB / 0.7151 GB, free: 89.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.947, allocations: 0.9652 MB / 0.716 GB, free: 88.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.949, allocations: 1.325 MB / 0.7173 GB, free: 87.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/1.951, allocations: 1.08 MB / 0.7184 GB, free: 87.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.951, allocations: 0 / 0.7184 GB, free: 87.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01557/1.967, allocations: 5.903 MB / 0.7241 GB, free: 82.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.969, allocations: 2.963 MB / 0.727 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/1.969, allocations: 8 kB / 0.727 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/1.974, allocations: 1.613 MB / 0.7286 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.977, allocations: 446 kB / 0.729 GB, free: 77.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.989, allocations: 5.098 MB / 0.734 GB, free: 72.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/1.993, allocations: 405.6 kB / 0.7344 GB, free: 72.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/1.994, allocations: 77.27 kB / 0.7345 GB, free: 71.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.994, allocations: 4.609 kB / 0.7345 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01703/2.011, allocations: 5.608 MB / 0.7399 GB, free: 66.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/2.011, allocations: 15.84 kB / 0.74 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005213/2.016, allocations: 1.611 MB / 0.7415 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/2.018, allocations: 403.4 kB / 0.7419 GB, free: 64.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/2.031, allocations: 5.093 MB / 0.7469 GB, free: 59.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/2.034, allocations: 318.5 kB / 0.7472 GB, free: 59.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006788/2.034, allocations: 72 kB / 0.7473 GB, free: 59.02 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.001336/2.036, allocations: 158.9 kB / 0.7474 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/2.037, allocations: 193.5 kB / 0.7476 GB, free: 58.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/2.052, allocations: 5.21 MB / 0.7527 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/2.052, allocations: 12 kB / 0.7527 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/2.052, allocations: 11.91 kB / 0.7527 GB, free: 53.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-05/2.052, allocations: 7.969 kB / 0.7527 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/2.074, allocations: 7.276 MB / 0.7598 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/2.075, allocations: 0 / 0.7598 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/2.077, allocations: 279.7 kB / 0.7601 GB, free: 45.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005481/2.082, allocations: 1.598 MB / 0.7616 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006351/2.083, allocations: 15.44 kB / 0.7617 GB, free: 44.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/2.094, allocations: 5.081 MB / 0.7666 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.094, allocations: 0 / 0.7666 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01934/2.114, allocations: 6.559 MB / 0.773 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02022/2.134, allocations: 8.254 MB / 0.7811 GB, free: 24.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/2.135, allocations: 286.3 kB / 0.7814 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/2.136, allocations: 4 kB / 0.7814 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/2.139, allocations: 259.7 kB / 0.7816 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008532/2.139, allocations: 185 kB / 0.7818 GB, free: 23.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/2.14, allocations: 35.94 kB / 0.7818 GB, free: 23.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002024/2.142, allocations: 0.9157 MB / 0.7827 GB, free: 22.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006188/2.148, allocations: 0.9892 MB / 0.7837 GB, free: 21.51 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.0009561/2.149, allocations: 211.2 kB / 0.7839 GB, free: 21.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01501/2.164, allocations: 6.352 MB / 0.7901 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.164, allocations: 4 kB / 0.7901 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00549/2.17, allocations: 1.989 MB / 0.792 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/2.172, allocations: 188.5 kB / 0.7922 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/2.184, allocations: 3.247 MB / 0.7954 GB, free: 9.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/2.187, allocations: 1.66 MB / 0.797 GB, free: 7.664 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/2.187, allocations: 0 / 0.797 GB, free: 7.664 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Wind_GE_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Wind_GE_WT_Test.fmu > OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)