Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004979/0.004979, allocations: 170.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.2 MB / 239 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007917, allocations: 98.23 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4473/0.4473, allocations: 79.43 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 8 kB / 0.4891 GB, free: 6.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 69.51 MB / 0.5569 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.5191, allocations: 111.4 MB / 0.6658 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5194, allocations: 91.94 kB / 0.6659 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1064/0.6258, allocations: 40.57 MB / 0.7055 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6259, allocations: 0 / 0.7055 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.764e-05/0.626, allocations: 32 kB / 0.7055 GB, free: 13.06 MB / 0.4948 GB 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.006566/0.6325, allocations: 2.5 MB / 0.7079 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6326, allocations: 8.031 kB / 0.708 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.6364, allocations: 0.6823 MB / 0.7086 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.6385, allocations: 1.049 MB / 0.7096 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/0.639, allocations: 444.6 kB / 0.7101 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.6392, allocations: 99.91 kB / 0.7102 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.6422, allocations: 1.494 MB / 0.7116 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6422, allocations: 3.938 kB / 0.7116 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6423, allocations: 40 kB / 0.7117 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.6424, allocations: 24 kB / 0.7117 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.6453, allocations: 1.425 MB / 0.7131 GB, free: 5.102 MB / 0.4948 GB 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.008723/0.654, allocations: 4.964 MB / 0.7179 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008775/0.6628, allocations: 3.442 MB / 0.7213 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.6631, allocations: 24.97 kB / 0.7213 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.6654, allocations: 1.139 MB / 0.7224 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 3.797e-06/0.6655, allocations: 0 / 0.7224 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.04352/0.709, allocations: 11.9 MB / 0.734 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.7091, allocations: 123.9 kB / 0.7342 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.7117, allocations: 1.24 MB / 0.7354 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003521/0.7121, allocations: 55.28 kB / 0.7354 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.7126, allocations: 0.6358 MB / 0.7361 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.7132, allocations: 437.6 kB / 0.7365 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.7133, allocations: 28 kB / 0.7365 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.7135, allocations: 353.9 kB / 0.7368 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.7158, allocations: 0.842 MB / 0.7377 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.7178, allocations: 1.008 MB / 0.7386 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.7196, allocations: 0.8966 MB / 0.7395 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.7197, allocations: 7.953 kB / 0.7395 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006964/0.7266, allocations: 2.903 MB / 0.7424 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.7267, allocations: 4.781 kB / 0.7424 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7267, allocations: 4 kB / 0.7424 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.7371, allocations: 3.325 MB / 0.7456 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.738, allocations: 155.8 kB / 0.7458 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.7453, allocations: 3.295 MB / 0.749 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.7475, allocations: 258.7 kB / 0.7492 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7477, allocations: 55.94 kB / 0.7493 GB, free: 15.46 MB / 0.5417 GB 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.0006673/0.7483, allocations: 270.9 kB / 0.7495 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.7486, allocations: 162 kB / 0.7497 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/0.7651, allocations: 5.838 MB / 0.7554 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.7651, allocations: 15.95 kB / 0.7554 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.7651, allocations: 8 kB / 0.7554 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.7652, allocations: 3.984 kB / 0.7554 GB, free: 9.141 MB / 0.5417 GB 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.01929/0.7845, allocations: 7.897 MB / 0.7631 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.7845, allocations: 0 / 0.7631 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.7855, allocations: 139.8 kB / 0.7633 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007459/0.793, allocations: 2.513 MB / 0.7657 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.7933, allocations: 27.98 kB / 0.7657 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/0.8179, allocations: 10.86 MB / 0.7764 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8179, allocations: 3.953 kB / 0.7764 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/0.8365, allocations: 7.123 MB / 0.7833 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.8372, allocations: 274.8 kB / 0.7836 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.8374, allocations: 24 kB / 0.7836 GB, free: 11.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.839, allocations: 183.8 kB / 0.7838 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007811/0.8398, allocations: 257.3 kB / 0.784 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8399, allocations: 39.98 kB / 0.7841 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001484/0.8414, allocations: 0.9699 MB / 0.785 GB, free: 10.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8414, allocations: 0 / 0.785 GB, free: 10.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001193/0.8426, allocations: 0.4954 MB / 0.7855 GB, free: 9.996 MB / 0.573 GB 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.0003225/0.8429, allocations: 175 kB / 0.7857 GB, free: 9.812 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008042/0.851, allocations: 2.881 MB / 0.7885 GB, free: 6.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.851, allocations: 1.969 kB / 0.7885 GB, free: 6.93 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005835/0.8568, allocations: 2.163 MB / 0.7906 GB, free: 4.762 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.8576, allocations: 122 kB / 0.7907 GB, free: 4.645 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.8625, allocations: 3.594 MB / 0.7942 GB, free: 1.023 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2019/1.064, allocations: 1.251 MB / 0.7954 GB, free: 146.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007771/1.065, allocations: 116.7 kB / 0.7955 GB, free: 146.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/1.066, allocations: 83.98 kB / 0.7956 GB, free: 146.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/1.066, allocations: 0 / 0.7956 GB, free: 146.6 MB / 0.573 GB Notification: Performance of Templates: time 0.04196/1.108, allocations: 25.26 MB / 0.8203 GB, free: 145.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_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_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.o] Error 1