Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 174.6 kB / 16.11 MB, free: 5.695 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.545/1.545, 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.0007809/0.0007809, allocations: 81.95 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3165/0.3165, allocations: 42.29 MB / 361.2 MB, free: 49.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 12 kB / 429.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 57.56 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4756, allocations: 105.7 MB / 0.5788 GB, free: 2.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4759, allocations: 94.39 kB / 0.5789 GB, free: 1.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1109/0.5869, allocations: 40.57 MB / 0.6185 GB, free: 9.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5869, allocations: 3.938 kB / 0.6185 GB, free: 9.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.056e-05/0.587, allocations: 27.94 kB / 0.6185 GB, free: 9.168 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006989/0.594, allocations: 2.465 MB / 0.6209 GB, free: 6.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5941, allocations: 8.031 kB / 0.621 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.5974, allocations: 0.5612 MB / 0.6215 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.5996, allocations: 1.079 MB / 0.6226 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/0.6001, allocations: 428.7 kB / 0.623 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.6003, allocations: 107.9 kB / 0.6231 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.6033, allocations: 1.502 MB / 0.6245 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.6033, allocations: 0 / 0.6245 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.6034, allocations: 40 kB / 0.6246 GB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.6035, allocations: 24 kB / 0.6246 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.6064, allocations: 1.429 MB / 0.626 GB, free: 1.344 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.009095/0.6155, allocations: 4.937 MB / 0.6308 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008385/0.6239, allocations: 3.435 MB / 0.6342 GB, free: 8.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.626, allocations: 0.9838 MB / 0.6351 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.6262, allocations: 24.97 kB / 0.6351 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/0.6283, allocations: 1.128 MB / 0.6362 GB, free: 6.449 MB / 458.7 MB Notification: Performance of pre-optimization done (n=125): time 4.027e-06/0.6284, allocations: 0 / 0.6362 GB, free: 6.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=125): time 0.04025/0.6686, allocations: 11.97 MB / 0.6479 GB, free: 10.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.6687, allocations: 119.8 kB / 0.6481 GB, free: 10.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.6712, allocations: 1.353 MB / 0.6494 GB, free: 8.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00038/0.6716, allocations: 49.7 kB / 0.6494 GB, free: 8.871 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.6721, allocations: 0.6242 MB / 0.65 GB, free: 8.238 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.6726, allocations: 441.5 kB / 0.6505 GB, free: 7.801 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.6727, allocations: 32.06 kB / 0.6505 GB, free: 7.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6729, allocations: 353.9 kB / 0.6508 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.6747, allocations: 0.8381 MB / 0.6516 GB, free: 6.578 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.6766, allocations: 1.015 MB / 0.6526 GB, free: 5.512 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.6803, allocations: 1.866 MB / 0.6545 GB, free: 3.598 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6803, allocations: 4 kB / 0.6545 GB, free: 3.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006276/0.6866, allocations: 2.895 MB / 0.6573 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.6867, allocations: 4 kB / 0.6573 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6867, allocations: 11.94 kB / 0.6573 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009921/0.6966, allocations: 3.325 MB / 0.6605 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.6974, allocations: 155.8 kB / 0.6607 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/0.7048, allocations: 3.297 MB / 0.6639 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.7069, allocations: 250.8 kB / 0.6642 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.7071, allocations: 43.98 kB / 0.6642 GB, free: 9.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0007469/0.7078, allocations: 290.1 kB / 0.6645 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.7082, allocations: 162 kB / 0.6646 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/0.7244, allocations: 5.83 MB / 0.6703 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.7245, allocations: 12 kB / 0.6703 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7245, allocations: 0 / 0.6703 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/0.7246, allocations: 11.97 kB / 0.6703 GB, free: 3.246 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.2804/1.005, allocations: 7.86 MB / 0.678 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.005, allocations: 0.75 kB / 0.678 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/1.006, allocations: 136.6 kB / 0.6782 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007395/1.013, allocations: 2.509 MB / 0.6806 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/1.014, allocations: 26.47 kB / 0.6806 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/1.037, allocations: 10.31 MB / 0.6907 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.037, allocations: 0 / 0.6907 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/1.055, allocations: 7.081 MB / 0.6976 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1.056, allocations: 274.3 kB / 0.6979 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1.056, allocations: 29.19 kB / 0.6979 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.058, allocations: 179 kB / 0.6981 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008787/1.059, allocations: 267.9 kB / 0.6983 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.059, allocations: 35.92 kB / 0.6984 GB, free: 113.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001457/1.06, allocations: 0.9405 MB / 0.6993 GB, free: 113.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.06, allocations: 0 / 0.6993 GB, free: 113.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001669/1.062, allocations: 0.4884 MB / 0.6998 GB, free: 113.4 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * 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 (82): * Single equations (assignments): 81 * 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.0004053/1.062, allocations: 174.6 kB / 0.6999 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008062/1.071, allocations: 2.878 MB / 0.7027 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.071, allocations: 0 / 0.7027 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/1.077, allocations: 2.162 MB / 0.7048 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.079, allocations: 143.3 kB / 0.705 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/1.085, allocations: 3.522 MB / 0.7084 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/1.085, allocations: 1.227 MB / 0.7096 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006841/1.086, allocations: 115.7 kB / 0.7097 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.086, allocations: 77.84 kB / 0.7098 GB, free: 109.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.086, allocations: 4 kB / 0.7098 GB, free: 109.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04011/1.127, allocations: 24.87 MB / 0.7341 GB, free: 108.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.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_SCRX -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.SCRX.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX_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.SCRX.o] Error 1