Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002944/0.002944, allocations: 186.4 kB / 7.464 MB, free: 2.5 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.274/1.274, 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.0009358/0.0009358, allocations: 97.02 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4789/0.4789, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.215e-06, allocations: 4 kB / 485.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 69.51 MB / 0.5419 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4515, allocations: 109.3 MB / 0.6486 GB, free: 10.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4518, allocations: 83.94 kB / 0.6487 GB, free: 10.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3969/0.8487, allocations: 39.7 MB / 0.6874 GB, free: 105.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.455e-05/0.8488, allocations: 33.09 kB / 0.6875 GB, free: 105.2 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.004922/0.8538, allocations: 2.078 MB / 0.6895 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8538, allocations: 13.52 kB / 0.6895 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.8569, allocations: 0.5762 MB / 0.6901 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.8585, allocations: 1.031 MB / 0.6911 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.8588, allocations: 370.8 kB / 0.6914 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.859, allocations: 64.59 kB / 0.6915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001758/0.8607, allocations: 1.088 MB / 0.6926 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.8625, allocations: 1.054 MB / 0.6936 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8625, allocations: 0 / 0.6936 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.8626, allocations: 0.9375 kB / 0.6936 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.8626, allocations: 21.66 kB / 0.6936 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007266/0.8699, allocations: 4.695 MB / 0.6982 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.8711, allocations: 0.7949 MB / 0.699 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.872, allocations: 0.6903 MB / 0.6996 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.8721, allocations: 31.78 kB / 0.6997 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8722, allocations: 47.5 kB / 0.6997 GB, free: 100.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.126e-06/0.8722, allocations: 0 / 0.6997 GB, free: 100.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01712/0.8893, allocations: 5.148 MB / 0.7047 GB, free: 98.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.8894, allocations: 119.7 kB / 0.7049 GB, free: 98.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.8916, allocations: 1.079 MB / 0.7059 GB, free: 98.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.8919, allocations: 27.77 kB / 0.7059 GB, free: 98.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.892, allocations: 356.8 kB / 0.7063 GB, free: 98.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.8925, allocations: 430.2 kB / 0.7067 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.8926, allocations: 0 / 0.7067 GB, free: 97.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.8927, allocations: 353.3 kB / 0.707 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008767/0.8936, allocations: 0.5568 MB / 0.7076 GB, free: 97.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000989/0.8946, allocations: 0.7007 MB / 0.7083 GB, free: 96.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.8957, allocations: 0.6219 MB / 0.7089 GB, free: 96.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.8958, allocations: 5.062 kB / 0.7089 GB, free: 96.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003516/0.8993, allocations: 1.944 MB / 0.7108 GB, free: 95.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.8995, allocations: 1.352 MB / 0.7121 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.8995, allocations: 8.031 kB / 0.7121 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008104/0.9076, allocations: 2.367 MB / 0.7144 GB, free: 93.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/0.9086, allocations: 177.6 kB / 0.7146 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.9133, allocations: 2.527 MB / 0.717 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.9156, allocations: 245.5 kB / 0.7173 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.9157, allocations: 44.31 kB / 0.7173 GB, free: 90.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.9157, allocations: 4 kB / 0.7173 GB, free: 90.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/0.9188, allocations: 1.758 MB / 0.719 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9188, allocations: 11.88 kB / 0.719 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007794/0.9266, allocations: 2.358 MB / 0.7213 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.9275, allocations: 167.8 kB / 0.7215 GB, free: 86.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.9321, allocations: 2.528 MB / 0.724 GB, free: 83.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9343, allocations: 227.1 kB / 0.7242 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.9345, allocations: 39.98 kB / 0.7242 GB, free: 83.55 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.0003387/0.9348, allocations: 137.8 kB / 0.7244 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.9351, allocations: 162 kB / 0.7245 GB, free: 83.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.9494, allocations: 5.258 MB / 0.7297 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.9495, allocations: 12 kB / 0.7297 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9495, allocations: 7.359 kB / 0.7297 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.9495, allocations: 3.984 kB / 0.7297 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.9667, allocations: 7.073 MB / 0.7366 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.9667, allocations: 0 / 0.7366 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.9678, allocations: 147.7 kB / 0.7367 GB, free: 70.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006531/0.9743, allocations: 2.064 MB / 0.7387 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003326/0.9747, allocations: 8 kB / 0.7387 GB, free: 68.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.9914, allocations: 7.164 MB / 0.7457 GB, free: 61.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9914, allocations: 3.984 kB / 0.7457 GB, free: 61.37 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01655/1.008, allocations: 6.322 MB / 0.7519 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/1.009, allocations: 282.7 kB / 0.7522 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/1.009, allocations: 4 kB / 0.7522 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.011, allocations: 183.8 kB / 0.7524 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/1.011, allocations: 141.1 kB / 0.7525 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.011, allocations: 35.98 kB / 0.7525 GB, free: 54.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00133/1.013, allocations: 0.8327 MB / 0.7534 GB, free: 53.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002024/1.015, allocations: 0.6667 MB / 0.754 GB, free: 52.88 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.0003641/1.015, allocations: 161.9 kB / 0.7542 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01297/1.028, allocations: 4.111 MB / 0.7582 GB, free: 48.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.028, allocations: 0 / 0.7582 GB, free: 48.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006496/1.035, allocations: 1.812 MB / 0.7599 GB, free: 46.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.036, allocations: 117.6 kB / 0.7601 GB, free: 46.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/1.043, allocations: 2.481 MB / 0.7625 GB, free: 44.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/1.044, allocations: 1.352 MB / 0.7638 GB, free: 42.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/1.044, allocations: 4 kB / 0.7638 GB, free: 42.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04631/1.09, allocations: 34.79 MB / 0.7978 GB, free: 8.152 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)