Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_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.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test") translateModel(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_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.002224/0.002224, allocations: 179.6 kB / 7.455 MB, free: 2.508 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.187/1.187, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.000986/0.0009861, allocations: 83.98 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4052/0.4052, allocations: 78.05 MB / 408.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.891e-06, allocations: 0 / 484.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2533, allocations: 69.35 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.3819, allocations: 108.6 MB / 0.6468 GB, free: 12.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3822, allocations: 87.95 kB / 0.6469 GB, free: 12.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3496/0.7318, allocations: 41.23 MB / 0.6871 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.732, allocations: 43.98 kB / 0.6872 GB, free: 105.3 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0101/0.7421, allocations: 2.078 MB / 0.6892 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7422, allocations: 9.312 kB / 0.6892 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007333/0.7495, allocations: 0.576 MB / 0.6898 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.7528, allocations: 1.036 MB / 0.6908 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006351/0.7535, allocations: 366.2 kB / 0.6911 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.7538, allocations: 58.72 kB / 0.6912 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003751/0.7576, allocations: 1.09 MB / 0.6923 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.7609, allocations: 1.06 MB / 0.6933 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.7609, allocations: 3.188 kB / 0.6933 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.7612, allocations: 0 / 0.6933 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.7612, allocations: 20.03 kB / 0.6933 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.7767, allocations: 4.691 MB / 0.6979 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.7791, allocations: 0.8009 MB / 0.6987 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.7809, allocations: 0.6888 MB / 0.6993 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.7811, allocations: 30.84 kB / 0.6994 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7812, allocations: 49.39 kB / 0.6994 GB, free: 100.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 5.15e-06/0.7812, allocations: 0 / 0.6994 GB, free: 100.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.03134/0.8125, allocations: 5.148 MB / 0.7044 GB, free: 99.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.8126, allocations: 116.2 kB / 0.7046 GB, free: 99.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.8155, allocations: 1.09 MB / 0.7056 GB, free: 98.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.8158, allocations: 25.7 kB / 0.7056 GB, free: 98.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.8161, allocations: 361.1 kB / 0.706 GB, free: 98.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/0.8168, allocations: 420.4 kB / 0.7064 GB, free: 97.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.817, allocations: 0 / 0.7064 GB, free: 97.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.8171, allocations: 360.3 kB / 0.7067 GB, free: 97.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.8186, allocations: 0.5495 MB / 0.7073 GB, free: 97.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.8198, allocations: 0.6992 MB / 0.708 GB, free: 96.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.8211, allocations: 0.6262 MB / 0.7086 GB, free: 96.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.8211, allocations: 1.219 kB / 0.7086 GB, free: 96.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004291/0.8254, allocations: 1.945 MB / 0.7105 GB, free: 95.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.8257, allocations: 1.349 MB / 0.7118 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8257, allocations: 3.438 kB / 0.7118 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/0.8346, allocations: 2.36 MB / 0.7141 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.8356, allocations: 170 kB / 0.7143 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005218/0.8409, allocations: 2.536 MB / 0.7167 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.8437, allocations: 245.5 kB / 0.717 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.844, allocations: 40.27 kB / 0.717 GB, free: 91.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.844, allocations: 8 kB / 0.717 GB, free: 91.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003605/0.8477, allocations: 1.756 MB / 0.7187 GB, free: 89.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.8477, allocations: 4 kB / 0.7187 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008655/0.8563, allocations: 2.368 MB / 0.721 GB, free: 87.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.8573, allocations: 167.7 kB / 0.7212 GB, free: 87.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.8624, allocations: 2.524 MB / 0.7237 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.8649, allocations: 231 kB / 0.7239 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.8651, allocations: 43.98 kB / 0.7239 GB, free: 84.36 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004065/0.8655, allocations: 123.6 kB / 0.724 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.8661, allocations: 158 kB / 0.7242 GB, free: 84.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.8818, allocations: 5.261 MB / 0.7293 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.8819, allocations: 16 kB / 0.7294 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8819, allocations: 11.92 kB / 0.7294 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/0.8819, allocations: 3.984 kB / 0.7294 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.901, allocations: 7.067 MB / 0.7363 GB, free: 71.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.9011, allocations: 3.906 kB / 0.7363 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.9022, allocations: 143.8 kB / 0.7364 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006887/0.9091, allocations: 2.072 MB / 0.7384 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003165/0.9095, allocations: 11.94 kB / 0.7384 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.9276, allocations: 7.153 MB / 0.7454 GB, free: 62.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9276, allocations: 0 / 0.7454 GB, free: 62.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01771/0.9453, allocations: 6.326 MB / 0.7516 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.946, allocations: 282.7 kB / 0.7519 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/0.9465, allocations: 0 / 0.7519 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.9487, allocations: 187.8 kB / 0.7521 GB, free: 55.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.9492, allocations: 145.1 kB / 0.7522 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.9493, allocations: 35.98 kB / 0.7522 GB, free: 55.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001218/0.9506, allocations: 0.8249 MB / 0.753 GB, free: 54.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002041/0.9526, allocations: 0.6706 MB / 0.7537 GB, free: 53.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epd,generator.Epq,generator.PSIkd,generator.PSIkq,govHydroIEEE0_1.GovernorA.TF.x_scaled[1],govHydroIEEE0_1.GovernorB.x_scaled[1],govHydroIEEE0_1.waterway.x_scaled[1],gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/0.953, allocations: 166.6 kB / 0.7538 GB, free: 53.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/0.9661, allocations: 4.108 MB / 0.7579 GB, free: 49.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.9662, allocations: 4.062 kB / 0.7579 GB, free: 49.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005909/0.9721, allocations: 1.82 MB / 0.7596 GB, free: 47.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.9733, allocations: 113.5 kB / 0.7597 GB, free: 47.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.98, allocations: 2.474 MB / 0.7622 GB, free: 45.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.9811, allocations: 1.352 MB / 0.7635 GB, free: 43.63 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9811, allocations: 0 / 0.7635 GB, free: 43.63 MB / 490.7 MB Notification: Performance of Templates: time 0.04948/1.031, allocations: 34.78 MB / 0.7975 GB, free: 9.031 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)