Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.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.GE.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_GE_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.GE.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002763/0.002763, allocations: 185 kB / 7.462 MB, free: 2.512 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.296/1.296, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.00097/0.0009702, allocations: 99.66 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07473/0.07473, allocations: 12.19 MB / 321.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2755/0.2755, allocations: 78.05 MB / 449.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2641/0.5397, allocations: 76.08 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.672, allocations: 69.24 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/1.092, allocations: 105.5 MB / 0.6843 GB, free: 3.648 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/1.092, allocations: 72.72 kB / 0.6844 GB, free: 3.613 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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.1324/1.225, allocations: 47.59 MB / 0.7309 GB, free: 12.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.225, allocations: 15.94 kB / 0.7309 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/1.229, allocations: 0.6418 MB / 0.7315 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/1.234, allocations: 1.61 MB / 0.7331 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/1.235, allocations: 356.7 kB / 0.7334 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008379/1.236, allocations: 119.2 kB / 0.7336 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004855/1.241, allocations: 1.793 MB / 0.7353 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/1.246, allocations: 2.019 MB / 0.7373 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.246, allocations: 11.94 kB / 0.7373 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/1.246, allocations: 4 kB / 0.7373 GB, free: 7.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/1.246, allocations: 44 kB / 0.7373 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/1.265, allocations: 9.463 MB / 0.7466 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/1.267, allocations: 1.138 MB / 0.7477 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/1.269, allocations: 0.8913 MB / 0.7486 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/1.269, allocations: 25.3 kB / 0.7486 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.269, allocations: 43.88 kB / 0.7486 GB, free: 12.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.859e-06/1.269, allocations: 0 / 0.7486 GB, free: 12.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01571/1.285, allocations: 5.101 MB / 0.7536 GB, free: 7.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.285, allocations: 248.6 kB / 0.7538 GB, free: 6.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/1.288, allocations: 1.282 MB / 0.7551 GB, free: 5.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000519/1.288, allocations: 29.7 kB / 0.7551 GB, free: 5.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/1.289, allocations: 0.6504 MB / 0.7558 GB, free: 5.008 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007521/1.289, allocations: 0.5119 MB / 0.7563 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.289, allocations: 8 kB / 0.7563 GB, free: 4.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/1.29, allocations: 394.4 kB / 0.7566 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/1.292, allocations: 0.969 MB / 0.7576 GB, free: 3.117 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/1.294, allocations: 1.331 MB / 0.7589 GB, free: 1.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/1.296, allocations: 1.08 MB / 0.7599 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.296, allocations: 4 kB / 0.76 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01706/1.313, allocations: 5.885 MB / 0.7657 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001318/1.314, allocations: 2.972 MB / 0.7686 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.314, allocations: 4 kB / 0.7686 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005472/1.32, allocations: 1.612 MB / 0.7702 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.322, allocations: 459.3 kB / 0.7706 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.335, allocations: 5.082 MB / 0.7756 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.338, allocations: 406 kB / 0.776 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/1.338, allocations: 79.98 kB / 0.776 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.338, allocations: 7.938 kB / 0.7761 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01674/1.355, allocations: 5.6 MB / 0.7815 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.355, allocations: 11.91 kB / 0.7815 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005409/1.361, allocations: 1.619 MB / 0.7831 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/1.363, allocations: 403.4 kB / 0.7835 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.375, allocations: 5.09 MB / 0.7885 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/1.378, allocations: 318.5 kB / 0.7888 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/1.378, allocations: 79.94 kB / 0.7888 GB, free: 2.34 MB / 0.5105 GB 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.0004948/1.379, allocations: 164.5 kB / 0.789 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/1.379, allocations: 201.5 kB / 0.7892 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.395, allocations: 5.209 MB / 0.7943 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/1.395, allocations: 12 kB / 0.7943 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.395, allocations: 8 kB / 0.7943 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/1.395, allocations: 7.969 kB / 0.7943 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.415, allocations: 7.275 MB / 0.8014 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/1.415, allocations: 0 / 0.8014 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.417, allocations: 275.7 kB / 0.8017 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/1.422, allocations: 1.602 MB / 0.8032 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000413/1.423, allocations: 15.89 kB / 0.8033 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.434, allocations: 5.075 MB / 0.8082 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.434, allocations: 4 kB / 0.8082 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01749/1.452, allocations: 6.565 MB / 0.8146 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0203/1.472, allocations: 8.262 MB / 0.8227 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/1.473, allocations: 282.2 kB / 0.823 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/1.473, allocations: 19.83 kB / 0.823 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.475, allocations: 243.8 kB / 0.8232 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/1.475, allocations: 185 kB / 0.8234 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.475, allocations: 40 kB / 0.8234 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001591/1.477, allocations: 0.9203 MB / 0.8243 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003957/1.481, allocations: 0.9853 MB / 0.8253 GB, free: 12.71 MB / 0.5573 GB 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.0006006/1.482, allocations: 202 kB / 0.8255 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.497, allocations: 6.357 MB / 0.8317 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.497, allocations: 4.125 kB / 0.8317 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005595/1.502, allocations: 1.986 MB / 0.8336 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.504, allocations: 185.7 kB / 0.8338 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.514, allocations: 3.268 MB / 0.837 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.516, allocations: 1.664 MB / 0.8386 GB, free: 14.83 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/1.516, allocations: 0 / 0.8386 GB, free: 14.83 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_GE_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_GE_WT_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)