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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_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.003558/0.003558, allocations: 181.8 kB / 7.458 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.327/1.327, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.001068/0.001068, allocations: 100.7 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4574/0.4574, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.6289, allocations: 75.5 MB / 484.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.9984, allocations: 69.34 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/1.149, allocations: 108.6 MB / 0.6469 GB, free: 12.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/1.15, allocations: 87.94 kB / 0.6469 GB, free: 12.05 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.3846/1.534, allocations: 43.36 MB / 0.6893 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.534, allocations: 11.75 kB / 0.6893 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/1.538, allocations: 0.5762 MB / 0.6899 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.54, allocations: 1.031 MB / 0.6909 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/1.54, allocations: 374.5 kB / 0.6912 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.54, allocations: 61.69 kB / 0.6913 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/1.542, allocations: 1.092 MB / 0.6924 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.544, allocations: 1.052 MB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.544, allocations: 0 / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.544, allocations: 0 / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/1.544, allocations: 27.81 kB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009275/1.553, allocations: 4.694 MB / 0.698 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.555, allocations: 0.7967 MB / 0.6988 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009308/1.555, allocations: 0.6887 MB / 0.6994 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/1.556, allocations: 27.84 kB / 0.6995 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.556, allocations: 46.59 kB / 0.6995 GB, free: 100.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.667e-06/1.556, allocations: 3.938 kB / 0.6995 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01802/1.574, allocations: 5.15 MB / 0.7045 GB, free: 99.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.574, allocations: 115.8 kB / 0.7047 GB, free: 99.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/1.576, allocations: 1.083 MB / 0.7057 GB, free: 98.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004353/1.577, allocations: 25.7 kB / 0.7057 GB, free: 98.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/1.577, allocations: 371.8 kB / 0.7061 GB, free: 98.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/1.577, allocations: 416 kB / 0.7065 GB, free: 98.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/1.578, allocations: 2.188 kB / 0.7065 GB, free: 98.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/1.578, allocations: 354.2 kB / 0.7068 GB, free: 97.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.579, allocations: 0.551 MB / 0.7074 GB, free: 97.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.58, allocations: 0.708 MB / 0.7081 GB, free: 97.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/1.581, allocations: 0.6221 MB / 0.7087 GB, free: 96.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.581, allocations: 1.156 kB / 0.7087 GB, free: 96.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004204/1.585, allocations: 1.946 MB / 0.7106 GB, free: 95.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003864/1.586, allocations: 1.348 MB / 0.7119 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.586, allocations: 3.531 kB / 0.7119 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008751/1.595, allocations: 2.36 MB / 0.7142 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.596, allocations: 169.7 kB / 0.7144 GB, free: 93.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/1.601, allocations: 2.53 MB / 0.7168 GB, free: 91.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/1.604, allocations: 248.8 kB / 0.7171 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.604, allocations: 40.22 kB / 0.7171 GB, free: 91.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.604, allocations: 6.656 kB / 0.7171 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003474/1.607, allocations: 1.764 MB / 0.7188 GB, free: 89.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.607, allocations: 4 kB / 0.7188 GB, free: 89.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007912/1.615, allocations: 2.369 MB / 0.7211 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.616, allocations: 159.8 kB / 0.7213 GB, free: 87.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.621, allocations: 2.531 MB / 0.7238 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/1.624, allocations: 223.1 kB / 0.724 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.624, allocations: 43.98 kB / 0.724 GB, free: 84.29 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.0004099/1.624, allocations: 140.6 kB / 0.7242 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/1.625, allocations: 158 kB / 0.7243 GB, free: 83.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.639, allocations: 5.258 MB / 0.7294 GB, free: 78.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/1.639, allocations: 12 kB / 0.7295 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.639, allocations: 4 kB / 0.7295 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/1.639, allocations: 7.969 kB / 0.7295 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.657, allocations: 7.065 MB / 0.7364 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.657, allocations: 0 / 0.7364 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.659, allocations: 143.7 kB / 0.7365 GB, free: 71.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/1.665, allocations: 2.064 MB / 0.7385 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/1.665, allocations: 11.98 kB / 0.7385 GB, free: 69.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/1.682, allocations: 7.169 MB / 0.7455 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.682, allocations: 0 / 0.7455 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01696/1.699, allocations: 6.324 MB / 0.7517 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01786/1.717, allocations: 7.655 MB / 0.7592 GB, free: 48.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/1.718, allocations: 278.8 kB / 0.7594 GB, free: 47.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/1.718, allocations: 8 kB / 0.7595 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.72, allocations: 179.8 kB / 0.7596 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/1.72, allocations: 145 kB / 0.7598 GB, free: 47.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.72, allocations: 28 kB / 0.7598 GB, free: 47.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001066/1.721, allocations: 0.8405 MB / 0.7606 GB, free: 46.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003146/1.725, allocations: 0.6863 MB / 0.7613 GB, free: 45.92 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.0006407/1.725, allocations: 165.6 kB / 0.7614 GB, free: 45.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.738, allocations: 4.115 MB / 0.7655 GB, free: 41.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.738, allocations: 4 kB / 0.7655 GB, free: 41.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005718/1.744, allocations: 1.812 MB / 0.7672 GB, free: 39.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.745, allocations: 117 kB / 0.7673 GB, free: 39.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/1.753, allocations: 2.49 MB / 0.7698 GB, free: 37.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.754, allocations: 1.384 MB / 0.7711 GB, free: 35.8 MB / 490.7 MB Notification: Performance of SimCode: time 8.91e-07/1.754, allocations: 0 / 0.7711 GB, free: 35.8 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)