Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test") translateModel(OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 176.1 kB / 16.12 MB, free: 5.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008814, allocations: 81.05 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2918/0.2918, allocations: 42.29 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 12 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 57.57 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.455, allocations: 104.3 MB / 0.5774 GB, free: 3.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4553, allocations: 97.53 kB / 0.5775 GB, free: 3.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.575, allocations: 40.59 MB / 0.6172 GB, free: 10.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5751, allocations: 0 / 0.6172 GB, free: 10.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.5752, allocations: 31.94 kB / 0.6172 GB, free: 10.54 MB / 442.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.008405/0.5837, allocations: 2.492 MB / 0.6196 GB, free: 7.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5837, allocations: 8.031 kB / 0.6196 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.5877, allocations: 0.5574 MB / 0.6202 GB, free: 7.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.5913, allocations: 1.157 MB / 0.6213 GB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.5919, allocations: 399 kB / 0.6217 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/0.5924, allocations: 95.91 kB / 0.6218 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.5964, allocations: 1.468 MB / 0.6232 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-05/0.5965, allocations: 11.94 kB / 0.6232 GB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.5967, allocations: 36 kB / 0.6233 GB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.5967, allocations: 23.94 kB / 0.6233 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.6, allocations: 1.452 MB / 0.6247 GB, free: 2.656 MB / 442.7 MB 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.01066/0.6107, allocations: 4.788 MB / 0.6294 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.6197, allocations: 3.494 MB / 0.6328 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.6222, allocations: 1 MB / 0.6338 GB, free: 9.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.6225, allocations: 20.98 kB / 0.6338 GB, free: 9.004 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.6226, allocations: 43.56 kB / 0.6338 GB, free: 8.949 MB / 458.7 MB Notification: Performance of pre-optimization done (n=123): time 4.178e-06/0.6226, allocations: 4.562 kB / 0.6338 GB, free: 8.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=123): time 0.04344/0.666, allocations: 12.21 MB / 0.6458 GB, free: 12.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.6662, allocations: 123.8 kB / 0.6459 GB, free: 12.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.6695, allocations: 1.403 MB / 0.6472 GB, free: 11.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000468/0.67, allocations: 45.7 kB / 0.6473 GB, free: 11.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000539/0.6705, allocations: 0.6282 MB / 0.6479 GB, free: 10.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.6712, allocations: 437.5 kB / 0.6483 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.6714, allocations: 28 kB / 0.6483 GB, free: 9.988 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6716, allocations: 341.9 kB / 0.6487 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.6736, allocations: 0.8381 MB / 0.6495 GB, free: 8.812 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.6758, allocations: 1.003 MB / 0.6505 GB, free: 7.758 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01922/0.6951, allocations: 5.63 MB / 0.656 GB, free: 2.078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.6951, allocations: 4 kB / 0.656 GB, free: 2.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007249/0.7024, allocations: 2.828 MB / 0.6587 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.7026, allocations: 197.1 kB / 0.6589 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.7026, allocations: 4 kB / 0.6589 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009588/0.7122, allocations: 3.019 MB / 0.6619 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7133, allocations: 167.7 kB / 0.662 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.7206, allocations: 3.006 MB / 0.665 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.723, allocations: 262.8 kB / 0.6652 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.7233, allocations: 43.98 kB / 0.6653 GB, free: 8.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7233, allocations: 7.938 kB / 0.6653 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006409/0.7297, allocations: 2.634 MB / 0.6678 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.7298, allocations: 8 kB / 0.6678 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009389/0.7392, allocations: 3.011 MB / 0.6708 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.7401, allocations: 167.7 kB / 0.6709 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2371/0.9773, allocations: 2.995 MB / 0.6739 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/0.9803, allocations: 249.5 kB / 0.6741 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.9806, allocations: 43.09 kB / 0.6742 GB, free: 116.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.waterway.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.001063/0.9817, allocations: 364 kB / 0.6745 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.9823, allocations: 161 kB / 0.6747 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1, allocations: 5.949 MB / 0.6805 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1, allocations: 13.47 kB / 0.6805 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1, allocations: 0 / 0.6805 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/1, allocations: 9 kB / 0.6805 GB, free: 116.4 MB / 490.7 MB 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.01878/1.019, allocations: 7.881 MB / 0.6882 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.019, allocations: 0 / 0.6882 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/1.02, allocations: 141.5 kB / 0.6883 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0069/1.027, allocations: 2.51 MB / 0.6908 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.027, allocations: 26.91 kB / 0.6908 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/1.049, allocations: 10.31 MB / 0.7009 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.049, allocations: 2.25 kB / 0.7009 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/1.069, allocations: 7.167 MB / 0.7079 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/1.069, allocations: 274.9 kB / 0.7081 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/1.07, allocations: 26.53 kB / 0.7081 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.072, allocations: 199 kB / 0.7083 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009761/1.073, allocations: 244 kB / 0.7086 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.073, allocations: 33.16 kB / 0.7086 GB, free: 112.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001987/1.075, allocations: 0.9958 MB / 0.7096 GB, free: 112.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.075, allocations: 0 / 0.7096 GB, free: 112.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002412/1.077, allocations: 0.739 MB / 0.7103 GB, free: 112.1 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 () * 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.0003971/1.078, allocations: 189.4 kB / 0.7105 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01528/1.093, allocations: 4.726 MB / 0.7151 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.093, allocations: 0 / 0.7151 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006585/1.1, allocations: 2.168 MB / 0.7172 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.101, allocations: 158.7 kB / 0.7174 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/1.108, allocations: 3.576 MB / 0.7209 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/1.108, allocations: 1.235 MB / 0.7221 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001008/1.11, allocations: 164.7 kB / 0.7222 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/1.11, allocations: 76.88 kB / 0.7223 GB, free: 107.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/1.11, allocations: 0 / 0.7223 GB, free: 107.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04177/1.152, allocations: 29.71 MB / 0.7513 GB, free: 102.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_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_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.o OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test_functions.h:147: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_release_OpenIPSL.Examples.Controls.CGMES.TG.GovHydroIEEE0_Test.o] Error 1