Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.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.006814/0.006814, allocations: 172.2 kB / 15.11 MB, free: 5.973 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.544/1.544, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008796/0.0008797, allocations: 90.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07624/0.07624, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4306/0.4306, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.000498, allocations: 17.5 kB / 0.5285 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 69.34 MB / 0.5962 GB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.6059, allocations: 111 MB / 0.7045 GB, free: 39.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.6062, allocations: 94.09 kB / 0.7046 GB, free: 39.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1031/0.7093, allocations: 41.07 MB / 0.7447 GB, free: 30.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7093, allocations: 0 / 0.7447 GB, free: 30.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.044e-05/0.7094, allocations: 42.78 kB / 0.7448 GB, free: 30.02 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.006427/0.7158, allocations: 2.513 MB / 0.7472 GB, free: 28.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7159, allocations: 11.77 kB / 0.7472 GB, free: 28.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.7187, allocations: 0.5527 MB / 0.7478 GB, free: 28.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.7208, allocations: 1.109 MB / 0.7489 GB, free: 27.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.7211, allocations: 394.8 kB / 0.7492 GB, free: 27.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.7213, allocations: 95.48 kB / 0.7493 GB, free: 27.42 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.7238, allocations: 1.465 MB / 0.7508 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7239, allocations: 11.83 kB / 0.7508 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.724, allocations: 36.12 kB / 0.7508 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.724, allocations: 23.53 kB / 0.7508 GB, free: 27.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.7266, allocations: 1.452 MB / 0.7522 GB, free: 26.78 MB / 474.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.006954/0.7336, allocations: 4.784 MB / 0.7569 GB, free: 24.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007761/0.7413, allocations: 3.489 MB / 0.7603 GB, free: 23.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.7415, allocations: 24.59 kB / 0.7603 GB, free: 23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7415, allocations: 49.84 kB / 0.7604 GB, free: 22.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=123): time 4.849e-06/0.7416, allocations: 0 / 0.7604 GB, free: 22.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.03974/0.7813, allocations: 12.15 MB / 0.7723 GB, free: 18.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.7814, allocations: 131 kB / 0.7724 GB, free: 18.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.7838, allocations: 1.24 MB / 0.7736 GB, free: 18.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.7841, allocations: 52.33 kB / 0.7736 GB, free: 18.22 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.7845, allocations: 0.619 MB / 0.7743 GB, free: 17.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.7849, allocations: 440.7 kB / 0.7747 GB, free: 17.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.785, allocations: 24.25 kB / 0.7747 GB, free: 17.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.7851, allocations: 345.2 kB / 0.775 GB, free: 17.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.7868, allocations: 0.8365 MB / 0.7758 GB, free: 17.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.7884, allocations: 1.006 MB / 0.7768 GB, free: 16.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.79, allocations: 0.9064 MB / 0.7777 GB, free: 15.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.79, allocations: 0 / 0.7777 GB, free: 15.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005231/0.7953, allocations: 2.796 MB / 0.7804 GB, free: 13.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.7956, allocations: 1.356 MB / 0.7818 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7957, allocations: 0 / 0.7818 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008651/0.8043, allocations: 3.01 MB / 0.7847 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.8053, allocations: 179 kB / 0.7849 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.8112, allocations: 2.999 MB / 0.7878 GB, free: 7.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.8137, allocations: 256.6 kB / 0.788 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.814, allocations: 42.98 kB / 0.7881 GB, free: 6.895 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.814, allocations: 7.594 kB / 0.7881 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00536/0.8194, allocations: 2.601 MB / 0.7906 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8194, allocations: 4 kB / 0.7906 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008748/0.8281, allocations: 3.014 MB / 0.7936 GB, free: 2.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.829, allocations: 164.9 kB / 0.7937 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.8353, allocations: 3 MB / 0.7967 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.8377, allocations: 250.9 kB / 0.7969 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.8379, allocations: 39.98 kB / 0.7969 GB, free: 15.55 MB / 490.7 MB 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.001017/0.8389, allocations: 370.4 kB / 0.7973 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.8396, allocations: 161.9 kB / 0.7975 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/0.8574, allocations: 5.956 MB / 0.8033 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.8574, allocations: 12 kB / 0.8033 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.8574, allocations: 3.953 kB / 0.8033 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/0.8575, allocations: 7.984 kB / 0.8033 GB, free: 9.02 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.02258/0.8801, allocations: 7.865 MB / 0.811 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.8801, allocations: 4 kB / 0.811 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.8812, allocations: 135.8 kB / 0.8111 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008047/0.8893, allocations: 2.509 MB / 0.8136 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/0.8896, allocations: 27.98 kB / 0.8136 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/0.9179, allocations: 10.88 MB / 0.8242 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.918, allocations: 0 / 0.8242 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/0.9397, allocations: 7.179 MB / 0.8312 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.941, allocations: 278.7 kB / 0.8315 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008876/0.9419, allocations: 32 kB / 0.8315 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.9445, allocations: 195.8 kB / 0.8317 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/0.9456, allocations: 245.3 kB / 0.8319 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/0.9459, allocations: 28 kB / 0.832 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003147/0.9491, allocations: 1.005 MB / 0.8329 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9491, allocations: 0 / 0.8329 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003735/0.9528, allocations: 0.7333 MB / 0.8337 GB, free: 9.578 MB / 0.5105 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.0005681/0.9534, allocations: 177.4 kB / 0.8338 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01549/0.9689, allocations: 4.732 MB / 0.8385 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.969, allocations: 3.938 kB / 0.8385 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006932/0.9759, allocations: 2.163 MB / 0.8406 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.978, allocations: 138.1 kB / 0.8407 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/0.9858, allocations: 3.626 MB / 0.8442 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.987, allocations: 1.268 MB / 0.8455 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000987/0.988, allocations: 156.3 kB / 0.8456 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.9885, allocations: 79.42 kB / 0.8457 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.9885, allocations: 0 / 0.8457 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.05168/1.04, allocations: 29.64 MB / 0.8746 GB, free: 15.51 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test_model.h:24: ./OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.o] Error 1