Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.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.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001363, allocations: 175.8 kB / 16.12 MB, free: 5.566 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.619/1.619, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0007805/0.0007805, allocations: 85.5 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2992/0.2992, allocations: 42.29 MB / 361.2 MB, free: 49.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 16 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4959, allocations: 117 MB / 0.5898 GB, free: 6.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.4963, allocations: 93.89 kB / 0.5899 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2205/0.7168, allocations: 58.92 MB / 0.6474 GB, free: 11.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.7169, allocations: 0 / 0.6474 GB, free: 11.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003433/0.7172, allocations: 51.94 kB / 0.6475 GB, free: 11.43 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01068/0.7279, allocations: 3.314 MB / 0.6507 GB, free: 8.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.728, allocations: 12.03 kB / 0.6507 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.7319, allocations: 0.6601 MB / 0.6514 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/0.7367, allocations: 1.763 MB / 0.6531 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006703/0.7374, allocations: 0.5284 MB / 0.6536 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008084/0.7382, allocations: 159.9 kB / 0.6538 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.7439, allocations: 2.224 MB / 0.6559 GB, free: 2.473 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.7439, allocations: 3.938 kB / 0.6559 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.7442, allocations: 68 kB / 0.656 GB, free: 2.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.7442, allocations: 36 kB / 0.656 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.7489, allocations: 2.061 MB / 0.6581 GB, free: 308 kB / 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.01769/0.7667, allocations: 7.964 MB / 0.6658 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.7773, allocations: 4.089 MB / 0.6698 GB, free: 3.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/0.7805, allocations: 1.269 MB / 0.6711 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.7807, allocations: 25.28 kB / 0.6711 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.7808, allocations: 51.88 kB / 0.6711 GB, free: 2.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 4.449e-06/0.7808, allocations: 4 kB / 0.6711 GB, free: 2.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.2811/1.062, allocations: 13.68 MB / 0.6845 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.062, allocations: 284 kB / 0.6848 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/1.066, allocations: 2.095 MB / 0.6868 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000623/1.067, allocations: 56.61 kB / 0.6869 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000949/1.068, allocations: 0.9805 MB / 0.6878 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007896/1.069, allocations: 0.578 MB / 0.6884 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.069, allocations: 42.47 kB / 0.6884 GB, free: 102.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/1.069, allocations: 382.5 kB / 0.6888 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/1.072, allocations: 1.178 MB / 0.69 GB, free: 102.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/1.075, allocations: 1.523 MB / 0.6914 GB, free: 101.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005371/1.08, allocations: 2.615 MB / 0.694 GB, free: 101.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.081, allocations: 3.125 kB / 0.694 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009109/1.09, allocations: 3.906 MB / 0.6978 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/1.09, allocations: 298 kB / 0.6981 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.09, allocations: 10.5 kB / 0.6981 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009003/1.099, allocations: 3.107 MB / 0.7011 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.101, allocations: 392.4 kB / 0.7015 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008032/1.109, allocations: 4.79 MB / 0.7062 GB, free: 98.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.112, allocations: 373.3 kB / 0.7065 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.112, allocations: 72.89 kB / 0.7066 GB, free: 98.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/1.112, allocations: 3.531 kB / 0.7066 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007693/1.12, allocations: 3.405 MB / 0.7099 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/1.12, allocations: 6.406 kB / 0.7099 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009775/1.13, allocations: 3.074 MB / 0.713 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.132, allocations: 352.4 kB / 0.7133 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008355/1.14, allocations: 4.56 MB / 0.7177 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.143, allocations: 316.7 kB / 0.718 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.143, allocations: 76.89 kB / 0.7181 GB, free: 96.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001432/1.145, allocations: 0.5008 MB / 0.7186 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/1.145, allocations: 239.3 kB / 0.7188 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.163, allocations: 6.55 MB / 0.7252 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.163, allocations: 17.98 kB / 0.7252 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.163, allocations: 7.875 kB / 0.7253 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/1.163, allocations: 11.53 kB / 0.7253 GB, free: 94.53 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.02821/1.191, allocations: 9.33 MB / 0.7344 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/1.192, allocations: 4 kB / 0.7344 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.194, allocations: 242.1 kB / 0.7346 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009292/1.203, allocations: 2.602 MB / 0.7372 GB, free: 91.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005122/1.203, allocations: 38 kB / 0.7372 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/1.234, allocations: 12.07 MB / 0.749 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.234, allocations: 3.062 kB / 0.749 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/1.255, allocations: 8.29 MB / 0.7571 GB, free: 83.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.256, allocations: 365.5 kB / 0.7574 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008865/1.257, allocations: 38.41 kB / 0.7575 GB, free: 82.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.259, allocations: 244.5 kB / 0.7577 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.26, allocations: 295.9 kB / 0.758 GB, free: 82.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/1.261, allocations: 45.52 kB / 0.758 GB, free: 82.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003166/1.264, allocations: 1.417 MB / 0.7594 GB, free: 81.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.264, allocations: 0 / 0.7594 GB, free: 81.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00433/1.268, allocations: 1.042 MB / 0.7604 GB, free: 80.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.gGOV1_Power.s1.x,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 (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006488/1.269, allocations: 193.7 kB / 0.7606 GB, free: 80.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01559/1.285, allocations: 6.12 MB / 0.7666 GB, free: 75.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.285, allocations: 0 / 0.7666 GB, free: 75.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006474/1.291, allocations: 2.587 MB / 0.7691 GB, free: 73.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.294, allocations: 259.9 kB / 0.7694 GB, free: 73.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/1.303, allocations: 5.231 MB / 0.7745 GB, free: 68.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009609/1.304, allocations: 1.529 MB / 0.776 GB, free: 67.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001367/1.305, allocations: 251.8 kB / 0.7762 GB, free: 66.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.305, allocations: 119.2 kB / 0.7763 GB, free: 66.74 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/1.305, allocations: 0 / 0.7763 GB, free: 66.74 MB / 490.7 MB Notification: Performance of Templates: time 0.05185/1.357, allocations: 38.16 MB / 0.8136 GB, free: 35.58 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.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_OpenIPSL_Examples_Controls_PSSE_TG_GGOV1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=1 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1_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_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1.o] Error 1