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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004218/0.004218, allocations: 170 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000883/0.0008829, allocations: 100.4 kB / 290.2 MB, free: 4.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.438/0.438, allocations: 79.44 MB / 420.8 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 16 kB / 0.4891 GB, free: 6.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 69.51 MB / 0.5569 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4605, allocations: 110.1 MB / 0.6644 GB, free: 7.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4607, allocations: 92.45 kB / 0.6645 GB, free: 7.035 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1062/0.567, allocations: 40.56 MB / 0.7041 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.567, allocations: 0 / 0.7041 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.842e-05/0.5671, allocations: 35.94 kB / 0.7042 GB, free: 14.47 MB / 0.4948 GB 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.006528/0.5736, allocations: 2.52 MB / 0.7066 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5737, allocations: 8.031 kB / 0.7066 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.5772, allocations: 0.6729 MB / 0.7073 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.5795, allocations: 1.139 MB / 0.7084 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.5799, allocations: 402.9 kB / 0.7088 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.58, allocations: 91.91 kB / 0.7089 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.583, allocations: 1.468 MB / 0.7103 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.583, allocations: 7.938 kB / 0.7103 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.5831, allocations: 36 kB / 0.7103 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.5832, allocations: 20 kB / 0.7104 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.5861, allocations: 1.452 MB / 0.7118 GB, free: 6.465 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008558/0.5946, allocations: 4.841 MB / 0.7165 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008545/0.6032, allocations: 3.498 MB / 0.7199 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.6034, allocations: 16.98 kB / 0.7199 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.6035, allocations: 55.55 kB / 0.72 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=123): time 2.545e-06/0.6035, allocations: 0 / 0.72 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.04295/0.6464, allocations: 12.15 MB / 0.7319 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.6465, allocations: 115.8 kB / 0.732 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.6488, allocations: 1.29 MB / 0.7332 GB, free: 84 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/0.6491, allocations: 49.7 kB / 0.7333 GB, free: 28 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.6495, allocations: 0.6166 MB / 0.7339 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.65, allocations: 441.5 kB / 0.7343 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.65, allocations: 24 kB / 0.7343 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6502, allocations: 349.9 kB / 0.7347 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.6519, allocations: 0.8342 MB / 0.7355 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.6537, allocations: 0.9957 MB / 0.7364 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.6555, allocations: 0.8992 MB / 0.7373 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6555, allocations: 0 / 0.7373 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005566/0.661, allocations: 2.801 MB / 0.7401 GB, free: 9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/0.6615, allocations: 1.355 MB / 0.7414 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6615, allocations: 4 kB / 0.7414 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00935/0.6708, allocations: 3.011 MB / 0.7443 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/0.6718, allocations: 167.7 kB / 0.7445 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.6783, allocations: 3.009 MB / 0.7474 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.6807, allocations: 258.8 kB / 0.7477 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.6808, allocations: 43.98 kB / 0.7477 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6809, allocations: 4.781 kB / 0.7477 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005268/0.6861, allocations: 2.609 MB / 0.7503 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6862, allocations: 4 kB / 0.7503 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009242/0.6954, allocations: 3.011 MB / 0.7532 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.6963, allocations: 167.7 kB / 0.7534 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.7027, allocations: 3.001 MB / 0.7563 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.7049, allocations: 254.9 kB / 0.7565 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.7051, allocations: 39.98 kB / 0.7566 GB, free: 7.891 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(fixed = true 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 () * Number of clocked 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.0008574/0.706, allocations: 371 kB / 0.7569 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.7065, allocations: 162 kB / 0.7571 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.7237, allocations: 5.944 MB / 0.7629 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.7237, allocations: 15.94 kB / 0.7629 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7237, allocations: 4 kB / 0.7629 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.7238, allocations: 7.984 kB / 0.7629 GB, free: 1.367 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.7438, allocations: 7.9 MB / 0.7706 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.7439, allocations: 3.984 kB / 0.7706 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.7448, allocations: 140.8 kB / 0.7708 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00752/0.7523, allocations: 2.505 MB / 0.7732 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.7525, allocations: 28 kB / 0.7732 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02556/0.778, allocations: 10.88 MB / 0.7839 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7781, allocations: 0 / 0.7839 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/0.7968, allocations: 7.175 MB / 0.7909 GB, free: 4.406 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006652/0.7975, allocations: 282.7 kB / 0.7911 GB, free: 4.109 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.7979, allocations: 35.98 kB / 0.7912 GB, free: 4.074 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.7999, allocations: 195.8 kB / 0.7914 GB, free: 3.883 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007053/0.8006, allocations: 245.3 kB / 0.7916 GB, free: 3.641 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8008, allocations: 35.98 kB / 0.7916 GB, free: 3.605 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002112/0.8029, allocations: 1.029 MB / 0.7926 GB, free: 2.578 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8029, allocations: 0 / 0.7926 GB, free: 2.578 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002362/0.8053, allocations: 0.7333 MB / 0.7934 GB, free: 1.844 MB / 0.573 GB 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 () * Number of clocked 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.0003937/0.8057, allocations: 180 kB / 0.7935 GB, free: 1.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2166/1.022, allocations: 4.725 MB / 0.7981 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.022, allocations: 2.562 kB / 0.7981 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005732/1.028, allocations: 2.169 MB / 0.8003 GB, free: 148.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.029, allocations: 143.5 kB / 0.8004 GB, free: 148.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/1.034, allocations: 3.609 MB / 0.8039 GB, free: 147 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/1.035, allocations: 1.267 MB / 0.8052 GB, free: 146.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006789/1.036, allocations: 154.7 kB / 0.8053 GB, free: 146.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/1.036, allocations: 82.31 kB / 0.8054 GB, free: 146.3 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/1.036, allocations: 0 / 0.8054 GB, free: 146.3 MB / 0.573 GB Notification: Performance of Templates: time 0.04197/1.078, allocations: 30.04 MB / 0.8347 GB, free: 144.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o] Error 1