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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004203/0.004203, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.167/1.167, allocations: 223.2 MB / 239 MB, free: 1.816 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.0007807/0.0007807, allocations: 99.48 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3936/0.3936, allocations: 78.51 MB / 419.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 15.98 kB / 499.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2942, allocations: 69.35 MB / 0.5557 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4077, allocations: 109.4 MB / 0.6626 GB, free: 12.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4079, allocations: 92.84 kB / 0.6627 GB, free: 12.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.5108, allocations: 42.11 MB / 0.7038 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5108, allocations: 0 / 0.7038 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.208e-05/0.5109, allocations: 39.94 kB / 0.7038 GB, free: 2.531 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.006145/0.5171, allocations: 2.514 MB / 0.7063 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.5171, allocations: 8.031 kB / 0.7063 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.5198, allocations: 0.552 MB / 0.7068 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.5216, allocations: 1.1 MB / 0.7079 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/0.522, allocations: 398.9 kB / 0.7083 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.5222, allocations: 99.89 kB / 0.7084 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.5248, allocations: 1.468 MB / 0.7098 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5248, allocations: 0 / 0.7098 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.5249, allocations: 36 kB / 0.7098 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.5249, allocations: 24 kB / 0.7099 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.5276, allocations: 1.456 MB / 0.7113 GB, free: 10.69 MB / 0.5105 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.006979/0.5346, allocations: 4.778 MB / 0.716 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008197/0.5428, allocations: 3.494 MB / 0.7194 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.543, allocations: 20.97 kB / 0.7194 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.543, allocations: 47.5 kB / 0.7194 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=123): time 2.164e-06/0.543, allocations: 0 / 0.7194 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.04026/0.5833, allocations: 12.16 MB / 0.7313 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5833, allocations: 115.8 kB / 0.7314 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.5853, allocations: 1.251 MB / 0.7326 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5854, allocations: 49.7 kB / 0.7327 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.5859, allocations: 0.6166 MB / 0.7333 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.5863, allocations: 441.5 kB / 0.7337 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.5864, allocations: 20 kB / 0.7337 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5865, allocations: 353.9 kB / 0.7341 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.5883, allocations: 0.8381 MB / 0.7349 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.5901, allocations: 0.9919 MB / 0.7358 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.5918, allocations: 0.8992 MB / 0.7367 GB, free: 140 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5918, allocations: 0 / 0.7367 GB, free: 140 kB / 0.5261 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005227/0.597, allocations: 2.797 MB / 0.7395 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003897/0.5974, allocations: 1.356 MB / 0.7408 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5974, allocations: 4 kB / 0.7408 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008579/0.606, allocations: 3.011 MB / 0.7437 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.6067, allocations: 171.8 kB / 0.7439 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.6125, allocations: 3.007 MB / 0.7468 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.6142, allocations: 254.8 kB / 0.7471 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6143, allocations: 43.98 kB / 0.7471 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.6143, allocations: 7.938 kB / 0.7471 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005035/0.6194, allocations: 2.606 MB / 0.7497 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6194, allocations: 8 kB / 0.7497 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008744/0.6282, allocations: 3.015 MB / 0.7526 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.6289, allocations: 163.8 kB / 0.7528 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.6352, allocations: 2.996 MB / 0.7557 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.6372, allocations: 254.8 kB / 0.7559 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.6374, allocations: 43.98 kB / 0.756 GB, free: 12.21 MB / 0.5573 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.0008186/0.6382, allocations: 366.2 kB / 0.7563 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/0.6387, allocations: 162 kB / 0.7565 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/0.6547, allocations: 5.948 MB / 0.7623 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.6547, allocations: 12 kB / 0.7623 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6548, allocations: 0 / 0.7623 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.6548, allocations: 3.984 kB / 0.7623 GB, free: 5.703 MB / 0.5573 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.2474/0.9022, allocations: 7.873 MB / 0.77 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.9022, allocations: 1.219 kB / 0.77 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/0.9032, allocations: 139.1 kB / 0.7701 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007588/0.9108, allocations: 2.51 MB / 0.7726 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.9111, allocations: 23.94 kB / 0.7726 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/0.9332, allocations: 10.89 MB / 0.7832 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9333, allocations: 3.953 kB / 0.7832 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.95, allocations: 7.172 MB / 0.7903 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.9506, allocations: 282.9 kB / 0.7905 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.9508, allocations: 21.75 kB / 0.7905 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.9524, allocations: 195.8 kB / 0.7907 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/0.9531, allocations: 244.7 kB / 0.791 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/0.9532, allocations: 37.16 kB / 0.791 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001427/0.9546, allocations: 0.9917 MB / 0.792 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9546, allocations: 0 / 0.792 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001528/0.9562, allocations: 0.7388 MB / 0.7927 GB, free: 133.5 MB / 0.5573 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.0002883/0.9565, allocations: 183.1 kB / 0.7929 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01298/0.9695, allocations: 4.73 MB / 0.7975 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9695, allocations: 4.062 kB / 0.7975 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005638/0.9751, allocations: 2.156 MB / 0.7996 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.9762, allocations: 136.1 kB / 0.7997 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.9813, allocations: 3.62 MB / 0.8033 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.982, allocations: 1.265 MB / 0.8045 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007033/0.9827, allocations: 163.5 kB / 0.8046 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.983, allocations: 82.17 kB / 0.8047 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.983, allocations: 0 / 0.8047 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03674/1.02, allocations: 29.64 MB / 0.8337 GB, free: 128.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile make -j1 -f OpenIPSL_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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_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_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test_model.h:24: ./OpenIPSL_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_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o] Error 1