Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.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.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009146/0.0009146, 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.485/1.485, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0009487/0.0009486, allocations: 91.55 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3237/0.3237, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005545/0.0005545, allocations: 20 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4925, allocations: 104.7 MB / 0.5778 GB, free: 3.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4928, allocations: 96.86 kB / 0.5779 GB, free: 2.949 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.6001, allocations: 39.93 MB / 0.6169 GB, free: 10.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6001, allocations: 0 / 0.6169 GB, free: 10.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.058e-05/0.6002, allocations: 27.94 kB / 0.6169 GB, free: 10.77 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.006886/0.6071, allocations: 2.436 MB / 0.6193 GB, free: 8.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6071, allocations: 8.031 kB / 0.6193 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.6103, allocations: 0.552 MB / 0.6199 GB, free: 7.719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.6125, allocations: 1.053 MB / 0.6209 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.6129, allocations: 428.7 kB / 0.6213 GB, free: 6.125 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.6131, allocations: 95.91 kB / 0.6214 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.6161, allocations: 1.463 MB / 0.6228 GB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6162, allocations: 4 kB / 0.6228 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.6163, allocations: 38.72 kB / 0.6229 GB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.6163, allocations: 24 kB / 0.6229 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.6192, allocations: 1.394 MB / 0.6243 GB, free: 3.094 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.009047/0.6283, allocations: 4.794 MB / 0.6289 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008659/0.637, allocations: 3.412 MB / 0.6323 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.6392, allocations: 0.9815 MB / 0.6332 GB, free: 9.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.6394, allocations: 16.98 kB / 0.6332 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/0.6417, allocations: 1.124 MB / 0.6343 GB, free: 8.383 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 2.776e-06/0.6417, allocations: 0 / 0.6343 GB, free: 8.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.04611/0.6878, allocations: 12.53 MB / 0.6466 GB, free: 11.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.6879, allocations: 119.9 kB / 0.6467 GB, free: 11.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.6903, allocations: 1.332 MB / 0.648 GB, free: 10.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003714/0.6907, allocations: 49.7 kB / 0.648 GB, free: 10.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.6912, allocations: 0.6124 MB / 0.6486 GB, free: 9.652 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.6918, allocations: 429.7 kB / 0.649 GB, free: 9.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.6919, allocations: 28 kB / 0.6491 GB, free: 9.199 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.692, allocations: 353.9 kB / 0.6494 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.6939, allocations: 0.8303 MB / 0.6502 GB, free: 8.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6959, allocations: 0.9988 MB / 0.6512 GB, free: 6.969 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/0.6996, allocations: 1.845 MB / 0.653 GB, free: 5.078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.6997, allocations: 0 / 0.653 GB, free: 5.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006502/0.7062, allocations: 2.833 MB / 0.6558 GB, free: 2.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.7062, allocations: 8 kB / 0.6558 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.7063, allocations: 11.92 kB / 0.6558 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009705/0.716, allocations: 3.235 MB / 0.6589 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.7169, allocations: 155.8 kB / 0.6591 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.7241, allocations: 3.181 MB / 0.6622 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.7265, allocations: 254.8 kB / 0.6624 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.7266, allocations: 43.98 kB / 0.6625 GB, free: 11.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007538/0.7274, allocations: 277.4 kB / 0.6628 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.7278, allocations: 162 kB / 0.6629 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.7448, allocations: 5.866 MB / 0.6686 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.7448, allocations: 23.94 kB / 0.6687 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7448, allocations: 0 / 0.6687 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/0.7449, allocations: 7.969 kB / 0.6687 GB, free: 4.949 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.2757/1.021, allocations: 7.823 MB / 0.6763 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.021, allocations: 0 / 0.6763 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.022, allocations: 134.8 kB / 0.6764 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008066/1.03, allocations: 2.505 MB / 0.6789 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003923/1.03, allocations: 29.67 kB / 0.6789 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02344/1.054, allocations: 10.3 MB / 0.689 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.054, allocations: 3.281 kB / 0.689 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.073, allocations: 7.009 MB / 0.6958 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/1.074, allocations: 272.4 kB / 0.6961 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/1.074, allocations: 27.92 kB / 0.6961 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.076, allocations: 182.7 kB / 0.6963 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007837/1.076, allocations: 249.3 kB / 0.6965 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/1.076, allocations: 37.73 kB / 0.6966 GB, free: 114.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00137/1.078, allocations: 0.9258 MB / 0.6975 GB, free: 114 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.078, allocations: 0 / 0.6975 GB, free: 114 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001446/1.079, allocations: 487.2 kB / 0.6979 GB, free: 114 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0003857/1.08, allocations: 182.6 kB / 0.6981 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007948/1.088, allocations: 2.839 MB / 0.7009 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.088, allocations: 0 / 0.7009 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.094, allocations: 2.149 MB / 0.703 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.096, allocations: 144 kB / 0.7031 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/1.101, allocations: 3.426 MB / 0.7064 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/1.102, allocations: 1.214 MB / 0.7076 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007126/1.103, allocations: 115.8 kB / 0.7077 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/1.103, allocations: 77.14 kB / 0.7078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/1.103, allocations: 0 / 0.7078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of Templates: time 0.04061/1.144, allocations: 24.44 MB / 0.7317 GB, free: 109.6 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.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_ES_SEXS -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SEXS_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.ES.SEXS.o] Error 1