Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001434/0.001434, allocations: 173.8 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.578/1.578, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008379/0.0008378, allocations: 97.47 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3192/0.3192, allocations: 42.29 MB / 361.2 MB, free: 49.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 20 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5374, allocations: 105.7 MB / 0.5788 GB, free: 2.062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5378, allocations: 91.94 kB / 0.5789 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1119/0.6497, allocations: 40.57 MB / 0.6185 GB, free: 9.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6497, allocations: 4 kB / 0.6185 GB, free: 9.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.797e-05/0.6498, allocations: 28 kB / 0.6185 GB, free: 9.152 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.007808/0.6576, allocations: 2.463 MB / 0.6209 GB, free: 6.633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.6577, allocations: 15.97 kB / 0.621 GB, free: 6.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.6612, allocations: 0.5534 MB / 0.6215 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.6637, allocations: 1.083 MB / 0.6226 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.6642, allocations: 428.7 kB / 0.623 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.6645, allocations: 104 kB / 0.6231 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.6676, allocations: 1.494 MB / 0.6245 GB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.6677, allocations: 7.938 kB / 0.6245 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6678, allocations: 36 kB / 0.6246 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.6678, allocations: 24 kB / 0.6246 GB, free: 2.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.6709, allocations: 1.429 MB / 0.626 GB, free: 1.332 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.009398/0.6803, allocations: 4.941 MB / 0.6308 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009275/0.6896, allocations: 3.435 MB / 0.6342 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.692, allocations: 0.9816 MB / 0.6351 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.6921, allocations: 20.98 kB / 0.6351 GB, free: 7.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002358/0.6945, allocations: 1.136 MB / 0.6362 GB, free: 6.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=125): time 3.837e-06/0.6945, allocations: 0 / 0.6362 GB, free: 6.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=125): time 0.04245/0.737, allocations: 11.96 MB / 0.6479 GB, free: 10.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.7371, allocations: 123.8 kB / 0.648 GB, free: 10.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.7399, allocations: 1.36 MB / 0.6494 GB, free: 8.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004661/0.7404, allocations: 45.7 kB / 0.6494 GB, free: 8.852 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.741, allocations: 0.6164 MB / 0.65 GB, free: 8.227 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006146/0.7416, allocations: 449.5 kB / 0.6505 GB, free: 7.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.7417, allocations: 24 kB / 0.6505 GB, free: 7.758 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.7419, allocations: 357.9 kB / 0.6508 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.7439, allocations: 0.842 MB / 0.6516 GB, free: 6.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.746, allocations: 1.011 MB / 0.6526 GB, free: 5.496 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.7501, allocations: 1.873 MB / 0.6545 GB, free: 3.574 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.7501, allocations: 4 kB / 0.6545 GB, free: 3.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007001/0.7571, allocations: 2.892 MB / 0.6573 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.7572, allocations: 15.92 kB / 0.6573 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.7572, allocations: 4 kB / 0.6573 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.7676, allocations: 3.317 MB / 0.6605 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.7685, allocations: 155.7 kB / 0.6607 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007785/0.7763, allocations: 3.305 MB / 0.6639 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.7787, allocations: 250.8 kB / 0.6642 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.7789, allocations: 47.98 kB / 0.6642 GB, free: 9.543 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.0008561/0.7798, allocations: 285.4 kB / 0.6645 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.7802, allocations: 170 kB / 0.6646 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/0.7972, allocations: 5.822 MB / 0.6703 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.7973, allocations: 16 kB / 0.6703 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.7973, allocations: 0 / 0.6703 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.7974, allocations: 3.984 kB / 0.6703 GB, free: 3.227 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.2893/1.087, allocations: 7.866 MB / 0.678 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.087, allocations: 2 kB / 0.678 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.088, allocations: 136.5 kB / 0.6782 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007384/1.095, allocations: 2.508 MB / 0.6806 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003323/1.096, allocations: 28.73 kB / 0.6806 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/1.119, allocations: 10.3 MB / 0.6907 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.119, allocations: 3.281 kB / 0.6907 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/1.138, allocations: 7.071 MB / 0.6976 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/1.138, allocations: 279.7 kB / 0.6979 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.139, allocations: 35.81 kB / 0.6979 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.14, allocations: 184.5 kB / 0.6981 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008164/1.141, allocations: 256.3 kB / 0.6983 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/1.141, allocations: 33.7 kB / 0.6984 GB, free: 113.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001378/1.142, allocations: 0.9376 MB / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.142, allocations: 2.812 kB / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001316/1.144, allocations: 0.4899 MB / 0.6998 GB, free: 113.3 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.0003615/1.144, allocations: 176.6 kB / 0.6999 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007786/1.152, allocations: 2.873 MB / 0.7027 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.152, allocations: 0 / 0.7027 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.159, allocations: 2.164 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.002685/1.161, allocations: 142.1 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.006589/1.168, allocations: 3.521 MB / 0.7084 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.169, allocations: 1.225 MB / 0.7096 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007675/1.17, allocations: 114.5 kB / 0.7097 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.17, allocations: 85.17 kB / 0.7098 GB, free: 109.8 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.17, allocations: 0 / 0.7098 GB, free: 109.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04482/1.215, allocations: 24.88 MB / 0.7341 GB, free: 108.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.o] Error 1