Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00205/0.00205, allocations: 181.7 kB / 7.461 MB, free: 2.488 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.043/1.043, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008497/0.0008497, allocations: 104.6 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3546/0.3546, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.053e-06, allocations: 4 kB / 484.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 69.34 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3527, allocations: 103.9 MB / 0.6422 GB, free: 1.047 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3529, allocations: 79.95 kB / 0.6423 GB, free: 0.9688 MB / 458.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: Performance of FrontEnd: time 0.287/0.6399, allocations: 45.26 MB / 0.6865 GB, free: 102.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001973/0.6402, allocations: 50.94 kB / 0.6865 GB, free: 102.6 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.00617/0.6463, allocations: 2.853 MB / 0.6893 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.6464, allocations: 11.38 kB / 0.6893 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/0.6492, allocations: 0.6441 MB / 0.6899 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.6516, allocations: 1.57 MB / 0.6915 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.652, allocations: 369.5 kB / 0.6918 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.6522, allocations: 117.9 kB / 0.6919 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002713/0.6549, allocations: 1.798 MB / 0.6937 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.6577, allocations: 2.017 MB / 0.6957 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.6578, allocations: 8.625 kB / 0.6957 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.6579, allocations: 3.938 kB / 0.6957 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.658, allocations: 42.78 kB / 0.6957 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.6682, allocations: 9.449 MB / 0.7049 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.6699, allocations: 1.138 MB / 0.7061 GB, free: 93.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.6713, allocations: 0.8858 MB / 0.7069 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.6715, allocations: 24.33 kB / 0.7069 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.6715, allocations: 58.12 kB / 0.707 GB, free: 92.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 3.686e-06/0.6715, allocations: 0 / 0.707 GB, free: 92.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01348/0.685, allocations: 5.1 MB / 0.712 GB, free: 91.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.6851, allocations: 251.8 kB / 0.7122 GB, free: 90.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.6867, allocations: 1.264 MB / 0.7135 GB, free: 90.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.6869, allocations: 30.67 kB / 0.7135 GB, free: 90.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.6873, allocations: 0.6433 MB / 0.7141 GB, free: 89.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.6878, allocations: 0.5161 MB / 0.7146 GB, free: 89.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.6879, allocations: 4.906 kB / 0.7146 GB, free: 89.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.688, allocations: 390.3 kB / 0.715 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.6895, allocations: 0.9695 MB / 0.7159 GB, free: 88.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.6911, allocations: 1.327 MB / 0.7172 GB, free: 87.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.6927, allocations: 1.073 MB / 0.7183 GB, free: 87.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.6927, allocations: 4 kB / 0.7183 GB, free: 87.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01347/0.7062, allocations: 5.895 MB / 0.724 GB, free: 82.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.7066, allocations: 2.96 MB / 0.7269 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.7066, allocations: 8 kB / 0.7269 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/0.711, allocations: 1.613 MB / 0.7285 GB, free: 77.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.7129, allocations: 455.7 kB / 0.729 GB, free: 77.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009609/0.7225, allocations: 5.093 MB / 0.7339 GB, free: 72.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.7251, allocations: 410 kB / 0.7343 GB, free: 72.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.7253, allocations: 83.19 kB / 0.7344 GB, free: 72.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.7253, allocations: 6.344 kB / 0.7344 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0134/0.7387, allocations: 5.603 MB / 0.7399 GB, free: 66.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7387, allocations: 11.91 kB / 0.7399 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/0.743, allocations: 1.615 MB / 0.7415 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.7447, allocations: 403.4 kB / 0.7418 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009217/0.7539, allocations: 5.091 MB / 0.7468 GB, free: 59.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.7559, allocations: 318.5 kB / 0.7471 GB, free: 59.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.7561, allocations: 76 kB / 0.7472 GB, free: 59.29 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.0003867/0.7565, allocations: 160.5 kB / 0.7473 GB, free: 59.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.7568, allocations: 193.5 kB / 0.7475 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.7692, allocations: 5.202 MB / 0.7526 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7693, allocations: 16 kB / 0.7526 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.7693, allocations: 7.906 kB / 0.7526 GB, free: 53.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7693, allocations: 7.969 kB / 0.7526 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.7838, allocations: 7.278 MB / 0.7597 GB, free: 46.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7838, allocations: 0 / 0.7597 GB, free: 46.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.7852, allocations: 279.7 kB / 0.76 GB, free: 46.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004291/0.7895, allocations: 1.602 MB / 0.7616 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.7897, allocations: 8 kB / 0.7616 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00928/0.799, allocations: 5.081 MB / 0.7666 GB, free: 39.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.799, allocations: 0 / 0.7666 GB, free: 39.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01388/0.8129, allocations: 6.568 MB / 0.773 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.8134, allocations: 286.3 kB / 0.7732 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.8137, allocations: 4 kB / 0.7732 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.8152, allocations: 247.8 kB / 0.7735 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/0.8156, allocations: 185 kB / 0.7737 GB, free: 31.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.8157, allocations: 44 kB / 0.7737 GB, free: 31.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00106/0.8168, allocations: 0.9079 MB / 0.7746 GB, free: 31.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002145/0.8189, allocations: 0.9814 MB / 0.7755 GB, free: 30.06 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.0003938/0.8193, allocations: 196.7 kB / 0.7757 GB, free: 29.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.83, allocations: 6.363 MB / 0.7819 GB, free: 23.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.83, allocations: 0 / 0.7819 GB, free: 23.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004179/0.8342, allocations: 1.978 MB / 0.7839 GB, free: 21.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.8353, allocations: 191.8 kB / 0.7841 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.842, allocations: 3.246 MB / 0.7872 GB, free: 17.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.8432, allocations: 1.621 MB / 0.7888 GB, free: 16.28 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8433, allocations: 0 / 0.7888 GB, free: 16.28 MB / 490.7 MB Notification: Performance of Templates: time 0.05597/0.8992, allocations: 43.67 MB / 0.8315 GB, free: 4.793 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)