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: translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 180.2 kB / 7.453 MB, free: 2.512 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.228/1.228, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009505/0.0009504, allocations: 93.61 kB / 280.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4126/0.4126, allocations: 78.06 MB / 408.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.061e-06, allocations: 0 / 484.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 69.34 MB / 0.5407 GB, free: 20.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3788, allocations: 103.9 MB / 0.6422 GB, free: 15.22 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.3791, allocations: 75.95 kB / 0.6422 GB, free: 15.14 MB / 474.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: Performance of FrontEnd: time 0.3555/0.7346, allocations: 45.26 MB / 0.6864 GB, free: 102.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.7349, allocations: 60.45 kB / 0.6865 GB, free: 102.4 MB / 490.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.01137/0.7463, allocations: 2.847 MB / 0.6893 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7463, allocations: 7.469 kB / 0.6893 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.7521, allocations: 0.6444 MB / 0.6899 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.7568, allocations: 1.583 MB / 0.6914 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005749/0.7574, allocations: 358.3 kB / 0.6918 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/0.758, allocations: 116.1 kB / 0.6919 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005912/0.7639, allocations: 1.792 MB / 0.6937 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/0.7694, allocations: 2.018 MB / 0.6956 GB, free: 99.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.7695, allocations: 5.062 kB / 0.6956 GB, free: 99.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.7699, allocations: 11.36 kB / 0.6956 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.7699, allocations: 42.31 kB / 0.6957 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.7904, allocations: 9.45 MB / 0.7049 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.7938, allocations: 1.144 MB / 0.706 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002515/0.7964, allocations: 0.8909 MB / 0.7069 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.7966, allocations: 20.28 kB / 0.7069 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.7966, allocations: 50.28 kB / 0.707 GB, free: 91.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.621e-06/0.7967, allocations: 0 / 0.707 GB, free: 91.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.0256/0.8223, allocations: 5.096 MB / 0.7119 GB, free: 90.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.8224, allocations: 253 kB / 0.7122 GB, free: 90.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.8253, allocations: 1.278 MB / 0.7134 GB, free: 89.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004486/0.8258, allocations: 32.89 kB / 0.7135 GB, free: 89.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.8263, allocations: 0.6388 MB / 0.7141 GB, free: 89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009174/0.8272, allocations: 0.5139 MB / 0.7146 GB, free: 88.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.8275, allocations: 8 kB / 0.7146 GB, free: 88.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.8277, allocations: 395.8 kB / 0.715 GB, free: 88.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.8303, allocations: 0.964 MB / 0.7159 GB, free: 87.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/0.8333, allocations: 1.328 MB / 0.7172 GB, free: 85.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.8362, allocations: 1.076 MB / 0.7183 GB, free: 84.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.8363, allocations: 4 kB / 0.7183 GB, free: 84.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.02594/0.8622, allocations: 5.891 MB / 0.724 GB, free: 79.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.8627, allocations: 2.965 MB / 0.7269 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.8628, allocations: 11.75 kB / 0.7269 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008603/0.8714, allocations: 1.606 MB / 0.7285 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/0.8748, allocations: 457.2 kB / 0.7289 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/0.8937, allocations: 5.099 MB / 0.7339 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/0.8978, allocations: 402 kB / 0.7343 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/0.8982, allocations: 79.98 kB / 0.7344 GB, free: 69.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.8982, allocations: 4 kB / 0.7344 GB, free: 69.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02559/0.9238, allocations: 5.605 MB / 0.7398 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.9239, allocations: 11.91 kB / 0.7399 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008329/0.9322, allocations: 1.614 MB / 0.7414 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/0.9352, allocations: 403.4 kB / 0.7418 GB, free: 61.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.9535, allocations: 5.082 MB / 0.7468 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.957, allocations: 318.5 kB / 0.7471 GB, free: 56.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/0.9573, allocations: 72 kB / 0.7472 GB, free: 56.15 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.0007434/0.9581, allocations: 167 kB / 0.7473 GB, free: 55.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/0.9588, allocations: 201.5 kB / 0.7475 GB, free: 55.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02394/0.9827, allocations: 5.197 MB / 0.7526 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.9828, allocations: 12 kB / 0.7526 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.9828, allocations: 11.91 kB / 0.7526 GB, free: 50.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.9829, allocations: 7.969 kB / 0.7526 GB, free: 50.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.011, allocations: 7.275 MB / 0.7597 GB, free: 43.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.011, allocations: 0 / 0.7597 GB, free: 43.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.014, allocations: 283.7 kB / 0.76 GB, free: 42.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008444/1.022, allocations: 1.598 MB / 0.7615 GB, free: 41.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003225/1.023, allocations: 8 kB / 0.7616 GB, free: 41.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/1.041, allocations: 5.084 MB / 0.7665 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.041, allocations: 0 / 0.7665 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0283/1.069, allocations: 6.559 MB / 0.7729 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/1.07, allocations: 286.2 kB / 0.7732 GB, free: 29.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/1.071, allocations: 8 kB / 0.7732 GB, free: 29.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.074, allocations: 255.8 kB / 0.7734 GB, free: 29.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007887/1.074, allocations: 185 kB / 0.7736 GB, free: 28.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.075, allocations: 32 kB / 0.7737 GB, free: 28.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002005/1.077, allocations: 0.9157 MB / 0.7745 GB, free: 27.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004151/1.081, allocations: 0.9775 MB / 0.7755 GB, free: 26.93 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.0007749/1.082, allocations: 211.3 kB / 0.7757 GB, free: 26.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02189/1.104, allocations: 6.352 MB / 0.7819 GB, free: 20.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.104, allocations: 0 / 0.7819 GB, free: 20.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007783/1.111, allocations: 1.982 MB / 0.7838 GB, free: 18.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.113, allocations: 184.5 kB / 0.784 GB, free: 18.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.126, allocations: 3.247 MB / 0.7872 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/1.128, allocations: 1.629 MB / 0.7888 GB, free: 13.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.128, allocations: 0 / 0.7888 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Templates: time 0.1125/1.241, allocations: 43.67 MB / 0.8314 GB, free: 1.668 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)