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-master/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-master/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: translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") [: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.00341/0.00341, allocations: 177.3 kB / 7.453 MB, free: 2.508 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.402/1.402, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009856/0.0009858, allocations: 95.5 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08585/0.08585, allocations: 12.59 MB / 321.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2968/0.2968, allocations: 78.06 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.172e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1404, allocations: 69.33 MB / 0.5818 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5795, allocations: 105.6 MB / 0.685 GB, free: 2.699 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5798, allocations: 78.56 kB / 0.685 GB, free: 2.656 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: Performance of FrontEnd: time 0.1211/0.7009, allocations: 44.67 MB / 0.7286 GB, free: 14.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003296/0.7013, allocations: 60.11 kB / 0.7287 GB, free: 13.95 MB / 474.7 MB 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.009521/0.7108, allocations: 2.862 MB / 0.7315 GB, free: 11.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.7109, allocations: 11.97 kB / 0.7315 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.7149, allocations: 0.6429 MB / 0.7321 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.7195, allocations: 1.611 MB / 0.7337 GB, free: 9.465 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006763/0.7202, allocations: 356.2 kB / 0.7341 GB, free: 9.074 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007863/0.721, allocations: 119.5 kB / 0.7342 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004878/0.7259, allocations: 1.795 MB / 0.7359 GB, free: 7.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.7313, allocations: 2.011 MB / 0.7379 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.7314, allocations: 7.922 kB / 0.7379 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.7317, allocations: 4 kB / 0.7379 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.7318, allocations: 44 kB / 0.7379 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.751, allocations: 9.468 MB / 0.7472 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.7537, allocations: 1.138 MB / 0.7483 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.7555, allocations: 0.8913 MB / 0.7492 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.7557, allocations: 17.31 kB / 0.7492 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.7558, allocations: 55.86 kB / 0.7492 GB, free: 11.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.257e-06/0.7558, allocations: 3.938 kB / 0.7492 GB, free: 11.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01655/0.7724, allocations: 5.093 MB / 0.7542 GB, free: 6.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.7726, allocations: 248.6 kB / 0.7544 GB, free: 6.023 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/0.7757, allocations: 1.282 MB / 0.7557 GB, free: 4.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.7763, allocations: 33.7 kB / 0.7557 GB, free: 4.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00073/0.7771, allocations: 0.6465 MB / 0.7564 GB, free: 4.047 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.7782, allocations: 0.5236 MB / 0.7569 GB, free: 3.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.7786, allocations: 4 kB / 0.7569 GB, free: 3.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.7789, allocations: 394.4 kB / 0.7573 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.7812, allocations: 0.9613 MB / 0.7582 GB, free: 2.156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.7837, allocations: 1.331 MB / 0.7595 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.7861, allocations: 1.076 MB / 0.7605 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.7861, allocations: 4 kB / 0.7605 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.0179/0.804, allocations: 5.896 MB / 0.7663 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.8057, allocations: 2.964 MB / 0.7692 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/0.8058, allocations: 8 kB / 0.7692 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/0.8113, allocations: 1.612 MB / 0.7708 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.8138, allocations: 455.4 kB / 0.7712 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.826, allocations: 5.094 MB / 0.7762 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.8292, allocations: 406.1 kB / 0.7766 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006331/0.8299, allocations: 76 kB / 0.7767 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8299, allocations: 4 kB / 0.7767 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01706/0.847, allocations: 5.607 MB / 0.7821 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.847, allocations: 4 kB / 0.7821 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005374/0.8524, allocations: 1.619 MB / 0.7837 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.8546, allocations: 403.4 kB / 0.7841 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.8662, allocations: 5.085 MB / 0.7891 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.8689, allocations: 318.5 kB / 0.7894 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/0.8694, allocations: 75.98 kB / 0.7894 GB, free: 1.383 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.0008663/0.8703, allocations: 172.5 kB / 0.7896 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/0.871, allocations: 197.5 kB / 0.7898 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.8865, allocations: 5.213 MB / 0.7949 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.8866, allocations: 16 kB / 0.7949 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/0.8867, allocations: 7.984 kB / 0.7949 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/0.8867, allocations: 3.984 kB / 0.7949 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.9083, allocations: 7.275 MB / 0.802 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.9084, allocations: 0 / 0.802 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.9106, allocations: 283.7 kB / 0.8023 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.9163, allocations: 1.602 MB / 0.8039 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/0.917, allocations: 15.92 kB / 0.8039 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.9291, allocations: 5.071 MB / 0.8088 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.9291, allocations: 4 kB / 0.8088 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/0.9478, allocations: 6.558 MB / 0.8152 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.949, allocations: 290.2 kB / 0.8155 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/0.9501, allocations: 8 kB / 0.8155 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/0.9526, allocations: 247.8 kB / 0.8158 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/0.9534, allocations: 185 kB / 0.8159 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/0.9536, allocations: 35.98 kB / 0.816 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002612/0.9562, allocations: 0.9242 MB / 0.8169 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005034/0.9613, allocations: 0.9852 MB / 0.8178 GB, free: 4.047 MB / 0.5417 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.0009613/0.9622, allocations: 194.1 kB / 0.818 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0152/0.9775, allocations: 6.357 MB / 0.8242 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.9775, allocations: 0 / 0.8242 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00531/0.9828, allocations: 1.986 MB / 0.8262 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.9845, allocations: 202.7 kB / 0.8264 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.9955, allocations: 3.253 MB / 0.8295 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/0.9982, allocations: 1.629 MB / 0.8311 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/0.9982, allocations: 4 kB / 0.8311 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of Templates: time 0.3189/1.317, allocations: 43.73 MB / 0.8738 GB, free: 237.1 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)