Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004426/0.004426, allocations: 170.8 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.149/1.149, allocations: 223.2 MB / 239 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 95.72 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4025/0.4025, allocations: 78.52 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2996, allocations: 69.36 MB / 0.5557 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4146, allocations: 110.8 MB / 0.6639 GB, free: 11.56 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4149, allocations: 91.94 kB / 0.664 GB, free: 11.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1047/0.5195, allocations: 42.11 MB / 0.7051 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5196, allocations: 0 / 0.7051 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.383e-05/0.5197, allocations: 31.94 kB / 0.7052 GB, free: 1.109 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.006028/0.5257, allocations: 2.486 MB / 0.7076 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.5257, allocations: 8.031 kB / 0.7076 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.5284, allocations: 0.5559 MB / 0.7081 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5299, allocations: 1.018 MB / 0.7091 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000392/0.5303, allocations: 444.6 kB / 0.7096 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.5305, allocations: 99.91 kB / 0.7097 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.5331, allocations: 1.494 MB / 0.7111 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5331, allocations: 0 / 0.7111 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.5333, allocations: 44 kB / 0.7112 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.5333, allocations: 24 kB / 0.7112 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.5361, allocations: 1.429 MB / 0.7126 GB, free: 9.316 MB / 0.5105 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.007363/0.5435, allocations: 4.921 MB / 0.7174 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/0.5515, allocations: 3.442 MB / 0.7207 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5516, allocations: 28.91 kB / 0.7208 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.5536, allocations: 1.124 MB / 0.7219 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=125): time 2.274e-06/0.5536, allocations: 4 kB / 0.7219 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125): time 0.03926/0.5928, allocations: 11.91 MB / 0.7335 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.5929, allocations: 115.8 kB / 0.7336 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.5945, allocations: 1.201 MB / 0.7348 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.5946, allocations: 49.69 kB / 0.7348 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.595, allocations: 0.6202 MB / 0.7354 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.5954, allocations: 445.6 kB / 0.7359 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.5955, allocations: 24 kB / 0.7359 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5956, allocations: 353.9 kB / 0.7362 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.5972, allocations: 0.8459 MB / 0.7371 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.599, allocations: 1.008 MB / 0.738 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.6007, allocations: 0.9005 MB / 0.7389 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6007, allocations: 0 / 0.7389 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005429/0.6061, allocations: 2.899 MB / 0.7417 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6062, allocations: 9.719 kB / 0.7418 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6062, allocations: 4 kB / 0.7418 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009412/0.6156, allocations: 3.321 MB / 0.745 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.6162, allocations: 155.7 kB / 0.7452 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.6229, allocations: 3.297 MB / 0.7484 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.6245, allocations: 254.8 kB / 0.7486 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.6246, allocations: 47.98 kB / 0.7487 GB, free: 3.785 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.0004993/0.6251, allocations: 285.7 kB / 0.7489 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.6253, allocations: 158 kB / 0.7491 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.641, allocations: 5.826 MB / 0.7548 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.641, allocations: 12 kB / 0.7548 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.641, allocations: 3.953 kB / 0.7548 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.641, allocations: 11.97 kB / 0.7548 GB, free: 13.47 MB / 0.5573 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.0177/0.6587, allocations: 7.866 MB / 0.7625 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6587, allocations: 3.938 kB / 0.7625 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.6595, allocations: 135.8 kB / 0.7626 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007046/0.6666, allocations: 2.505 MB / 0.7651 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.6667, allocations: 31.98 kB / 0.7651 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2252/0.8919, allocations: 10.86 MB / 0.7757 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.892, allocations: 5.031 kB / 0.7757 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.9085, allocations: 7.11 MB / 0.7826 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.9088, allocations: 278.8 kB / 0.7829 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.909, allocations: 23.59 kB / 0.7829 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.9105, allocations: 177.8 kB / 0.7831 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/0.9111, allocations: 263 kB / 0.7834 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.9112, allocations: 35.86 kB / 0.7834 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001178/0.9124, allocations: 0.9437 MB / 0.7843 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9124, allocations: 0 / 0.7843 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001044/0.9135, allocations: 499.4 kB / 0.7848 GB, free: 137.1 MB / 0.5573 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.0002888/0.9138, allocations: 174.6 kB / 0.785 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006969/0.9207, allocations: 2.88 MB / 0.7878 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9207, allocations: 0 / 0.7878 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.9259, allocations: 2.162 MB / 0.7899 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.9264, allocations: 114.9 kB / 0.79 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.9305, allocations: 3.57 MB / 0.7935 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.931, allocations: 1.258 MB / 0.7947 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004031/0.9314, allocations: 117.5 kB / 0.7948 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.9316, allocations: 81 kB / 0.7949 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.9316, allocations: 2.594 kB / 0.7949 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03306/0.9647, allocations: 24.81 MB / 0.8191 GB, free: 132.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_model.h:24: ./OpenIPSL_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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.o] Error 1