Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Wind_GE_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.GE.WT_Test,fileNamePrefix="OpenIPSL_dev_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.004645/0.004644, allocations: 185.6 kB / 7.459 MB, free: 2.516 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.41/1.41, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.001003/0.001003, allocations: 99.7 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5056/0.5056, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.6966, allocations: 75.64 MB / 485.4 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/1.163, allocations: 69.51 MB / 0.5419 GB, free: 21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/1.323, allocations: 104.5 MB / 0.644 GB, free: 15.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.323, allocations: 79.95 kB / 0.644 GB, free: 15.43 MB / 474.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.4995/1.822, allocations: 48.46 MB / 0.6914 GB, free: 101.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.823, allocations: 9.719 kB / 0.6914 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/1.826, allocations: 0.64 MB / 0.692 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/1.831, allocations: 1.576 MB / 0.6935 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007454/1.832, allocations: 360.5 kB / 0.6939 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/1.833, allocations: 117.2 kB / 0.694 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006417/1.84, allocations: 1.799 MB / 0.6957 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006585/1.846, allocations: 2.014 MB / 0.6977 GB, free: 99.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.672e-05/1.847, allocations: 7.812 kB / 0.6977 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006376/1.847, allocations: 3.844 kB / 0.6977 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.847, allocations: 44.45 kB / 0.6978 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/1.869, allocations: 9.442 MB / 0.707 GB, free: 93.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/1.872, allocations: 1.142 MB / 0.7081 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/1.875, allocations: 0.8901 MB / 0.709 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/1.875, allocations: 31.66 kB / 0.709 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.875, allocations: 46.59 kB / 0.709 GB, free: 92.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.518e-06/1.875, allocations: 0 / 0.709 GB, free: 92.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01765/1.893, allocations: 5.095 MB / 0.714 GB, free: 90.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/1.893, allocations: 251.5 kB / 0.7143 GB, free: 90.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/1.897, allocations: 1.276 MB / 0.7155 GB, free: 89.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005904/1.898, allocations: 32.2 kB / 0.7155 GB, free: 89.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/1.898, allocations: 0.6319 MB / 0.7162 GB, free: 89.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.899, allocations: 0.5199 MB / 0.7167 GB, free: 89.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/1.9, allocations: 9.625 kB / 0.7167 GB, free: 89.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/1.9, allocations: 391.2 kB / 0.717 GB, free: 88.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.902, allocations: 0.9649 MB / 0.718 GB, free: 87.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/1.904, allocations: 1.333 MB / 0.7193 GB, free: 86.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.907, allocations: 1.074 MB / 0.7203 GB, free: 85.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.907, allocations: 7.875 kB / 0.7203 GB, free: 85.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01642/1.923, allocations: 5.896 MB / 0.7261 GB, free: 80.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007396/1.924, allocations: 2.957 MB / 0.729 GB, free: 77.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/1.924, allocations: 12.61 kB / 0.729 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/1.93, allocations: 1.616 MB / 0.7306 GB, free: 75.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/1.932, allocations: 449.5 kB / 0.731 GB, free: 75.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.943, allocations: 5.095 MB / 0.736 GB, free: 70.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.947, allocations: 406 kB / 0.7364 GB, free: 70.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007036/1.947, allocations: 79.55 kB / 0.7364 GB, free: 70.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.947, allocations: 8 kB / 0.7365 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01597/1.963, allocations: 5.607 MB / 0.7419 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.963, allocations: 11.91 kB / 0.7419 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004671/1.968, allocations: 1.607 MB / 0.7435 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.97, allocations: 407.4 kB / 0.7439 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.981, allocations: 5.082 MB / 0.7489 GB, free: 57.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/1.984, allocations: 326.4 kB / 0.7492 GB, free: 56.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006163/1.985, allocations: 72 kB / 0.7492 GB, free: 56.79 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.0009691/1.986, allocations: 166.8 kB / 0.7494 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008005/1.986, allocations: 193.5 kB / 0.7496 GB, free: 56.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/2.001, allocations: 5.198 MB / 0.7547 GB, free: 51.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/2.001, allocations: 16 kB / 0.7547 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/2.001, allocations: 15.59 kB / 0.7547 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/2.001, allocations: 7.969 kB / 0.7547 GB, free: 51.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/2.02, allocations: 7.269 MB / 0.7618 GB, free: 43.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/2.02, allocations: 3.984 kB / 0.7618 GB, free: 43.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/2.022, allocations: 275.7 kB / 0.7621 GB, free: 43.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004783/2.026, allocations: 1.598 MB / 0.7636 GB, free: 42.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004473/2.027, allocations: 16 kB / 0.7636 GB, free: 42.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/2.037, allocations: 5.071 MB / 0.7686 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.038, allocations: 0 / 0.7686 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01775/2.055, allocations: 6.568 MB / 0.775 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02048/2.076, allocations: 8.254 MB / 0.7831 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/2.077, allocations: 290.2 kB / 0.7833 GB, free: 21.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000963/2.078, allocations: 0 / 0.7833 GB, free: 21.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/2.08, allocations: 259.7 kB / 0.7836 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/2.081, allocations: 188.9 kB / 0.7838 GB, free: 21.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/2.081, allocations: 35.98 kB / 0.7838 GB, free: 21.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001743/2.083, allocations: 0.918 MB / 0.7847 GB, free: 20.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00623/2.089, allocations: 0.9892 MB / 0.7857 GB, free: 19.27 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.0007025/2.09, allocations: 201.5 kB / 0.7859 GB, free: 19.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01459/2.104, allocations: 6.359 MB / 0.7921 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/2.104, allocations: 0 / 0.7921 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005534/2.11, allocations: 1.982 MB / 0.794 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/2.112, allocations: 190.1 kB / 0.7942 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/2.122, allocations: 3.247 MB / 0.7974 GB, free: 7.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/2.124, allocations: 1.66 MB / 0.799 GB, free: 5.438 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/2.124, allocations: 0 / 0.799 GB, free: 5.438 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Wind.GE.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Wind_GE_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Wind_GE_WT_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)