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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) [: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.003281/0.003281, allocations: 182.9 kB / 7.461 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.269/1.269, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.001008/0.001008, allocations: 93.58 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.4743/0.4743, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.6481, allocations: 75.65 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/1.014, allocations: 69.5 MB / 0.542 GB, free: 20.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/1.169, allocations: 109.3 MB / 0.6487 GB, free: 10.64 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.17, allocations: 87.94 kB / 0.6487 GB, free: 10.55 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.399/1.569, allocations: 41.82 MB / 0.6896 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.569, allocations: 7.875 kB / 0.6896 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/1.572, allocations: 0.5793 MB / 0.6902 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.574, allocations: 1.026 MB / 0.6912 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/1.575, allocations: 373.8 kB / 0.6915 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/1.575, allocations: 56.28 kB / 0.6916 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002327/1.577, allocations: 1.092 MB / 0.6926 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.58, allocations: 1.053 MB / 0.6937 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.58, allocations: 1.219 kB / 0.6937 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.58, allocations: 0 / 0.6937 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/1.58, allocations: 27.12 kB / 0.6937 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/1.59, allocations: 4.7 MB / 0.6983 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.591, allocations: 0.8047 MB / 0.6991 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/1.592, allocations: 0.6896 MB / 0.6997 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.592, allocations: 20.39 kB / 0.6998 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.592, allocations: 55.3 kB / 0.6998 GB, free: 100 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.327e-06/1.592, allocations: 0 / 0.6998 GB, free: 100 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.0182/1.611, allocations: 5.145 MB / 0.7048 GB, free: 98.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.611, allocations: 116 kB / 0.7049 GB, free: 98.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/1.613, allocations: 1.082 MB / 0.706 GB, free: 98.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.614, allocations: 29.59 kB / 0.706 GB, free: 98.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/1.614, allocations: 359 kB / 0.7064 GB, free: 97.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/1.614, allocations: 428.5 kB / 0.7068 GB, free: 97.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/1.615, allocations: 0 / 0.7068 GB, free: 97.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/1.615, allocations: 353 kB / 0.7071 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/1.616, allocations: 0.5512 MB / 0.7077 GB, free: 97.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.617, allocations: 0.7051 MB / 0.7083 GB, free: 96.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.618, allocations: 0.6224 MB / 0.709 GB, free: 96.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.618, allocations: 1.156 kB / 0.709 GB, free: 96.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004204/1.622, allocations: 1.945 MB / 0.7109 GB, free: 95.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/1.623, allocations: 1.358 MB / 0.7122 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.623, allocations: 4.375 kB / 0.7122 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008846/1.631, allocations: 2.364 MB / 0.7145 GB, free: 93.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.633, allocations: 173.9 kB / 0.7147 GB, free: 93.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/1.638, allocations: 2.531 MB / 0.7171 GB, free: 90.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.64, allocations: 244.9 kB / 0.7174 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.64, allocations: 48.78 kB / 0.7174 GB, free: 90.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.64, allocations: 4 kB / 0.7174 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/1.643, allocations: 1.757 MB / 0.7191 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/1.643, allocations: 4.609 kB / 0.7191 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007836/1.651, allocations: 2.354 MB / 0.7214 GB, free: 86.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/1.652, allocations: 167.7 kB / 0.7216 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/1.657, allocations: 2.528 MB / 0.7241 GB, free: 83.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.659, allocations: 227.1 kB / 0.7243 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.66, allocations: 43.98 kB / 0.7243 GB, free: 83.71 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.0003899/1.66, allocations: 140 kB / 0.7245 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.66, allocations: 162 kB / 0.7246 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.675, allocations: 5.259 MB / 0.7297 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.675, allocations: 12 kB / 0.7298 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.675, allocations: 3.984 kB / 0.7298 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-05/1.675, allocations: 3.984 kB / 0.7298 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/1.693, allocations: 7.078 MB / 0.7367 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.693, allocations: 0 / 0.7367 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.694, allocations: 151.7 kB / 0.7368 GB, free: 70.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00635/1.701, allocations: 2.056 MB / 0.7388 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/1.701, allocations: 12 kB / 0.7388 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.718, allocations: 7.163 MB / 0.7458 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.718, allocations: 7.984 kB / 0.7458 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01638/1.734, allocations: 6.331 MB / 0.752 GB, free: 55.17 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01777/1.752, allocations: 7.661 MB / 0.7595 GB, free: 47.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/1.753, allocations: 274.8 kB / 0.7598 GB, free: 47.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.753, allocations: 0 / 0.7598 GB, free: 47.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.755, allocations: 191.8 kB / 0.76 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.756, allocations: 141.1 kB / 0.7601 GB, free: 46.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.756, allocations: 31.98 kB / 0.7601 GB, free: 46.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001069/1.757, allocations: 0.8288 MB / 0.7609 GB, free: 46.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003052/1.76, allocations: 0.6863 MB / 0.7616 GB, free: 45.33 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.0003609/1.76, allocations: 167 kB / 0.7618 GB, free: 45.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/1.772, allocations: 4.108 MB / 0.7658 GB, free: 41.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.772, allocations: 0 / 0.7658 GB, free: 41.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005663/1.778, allocations: 1.816 MB / 0.7675 GB, free: 39.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.78, allocations: 114.4 kB / 0.7677 GB, free: 39.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/1.786, allocations: 2.499 MB / 0.7701 GB, free: 36.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/1.787, allocations: 1.376 MB / 0.7714 GB, free: 35.21 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/1.787, allocations: 3.938 kB / 0.7714 GB, free: 35.21 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)