Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004507/0.004507, allocations: 169.5 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.199/1.199, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008861/0.000886, allocations: 100.8 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4245/0.4245, allocations: 79.44 MB / 420.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 0.489 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 69.5 MB / 0.5569 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4456, allocations: 111.4 MB / 0.6657 GB, free: 10.13 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4459, allocations: 91.94 kB / 0.6658 GB, free: 10.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1095/0.5554, allocations: 41.57 MB / 0.7064 GB, free: 268 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5555, allocations: 0 / 0.7064 GB, free: 268 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.255e-05/0.5556, allocations: 31.94 kB / 0.7065 GB, free: 236 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.006896/0.5625, allocations: 2.568 MB / 0.709 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5625, allocations: 12.03 kB / 0.709 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.5664, allocations: 0.6768 MB / 0.7096 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.5688, allocations: 1.116 MB / 0.7107 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.5692, allocations: 440.6 kB / 0.7112 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.5694, allocations: 99.98 kB / 0.7112 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.5725, allocations: 1.514 MB / 0.7127 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5725, allocations: 0 / 0.7127 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.5726, allocations: 36 kB / 0.7128 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.5727, allocations: 27.98 kB / 0.7128 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.5756, allocations: 1.468 MB / 0.7142 GB, free: 8.078 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.008842/0.5845, allocations: 5.003 MB / 0.7191 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008784/0.5933, allocations: 3.532 MB / 0.7226 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.5935, allocations: 24.95 kB / 0.7226 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002274/0.5958, allocations: 1.16 MB / 0.7237 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 2.695e-06/0.5958, allocations: 0 / 0.7237 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.03907/0.6349, allocations: 11.29 MB / 0.7347 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.635, allocations: 141.5 kB / 0.7349 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.6374, allocations: 1.309 MB / 0.7362 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.6377, allocations: 45.7 kB / 0.7362 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.6382, allocations: 0.6557 MB / 0.7368 GB, free: 464 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.6387, allocations: 449.4 kB / 0.7373 GB, free: 8 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.6389, allocations: 28.08 kB / 0.7373 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.639, allocations: 345.9 kB / 0.7376 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.6409, allocations: 0.8615 MB / 0.7385 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.6429, allocations: 1.02 MB / 0.7395 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.6447, allocations: 0.9161 MB / 0.7404 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6447, allocations: 0 / 0.7404 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005876/0.6506, allocations: 2.864 MB / 0.7432 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004723/0.6511, allocations: 1.355 MB / 0.7445 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6511, allocations: 4 kB / 0.7445 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009595/0.6607, allocations: 3.019 MB / 0.7474 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.6618, allocations: 199.8 kB / 0.7476 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.6681, allocations: 3.007 MB / 0.7506 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.6703, allocations: 274.8 kB / 0.7508 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.6705, allocations: 43.98 kB / 0.7509 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6706, allocations: 4.625 kB / 0.7509 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005447/0.676, allocations: 2.661 MB / 0.7535 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.676, allocations: 4 kB / 0.7535 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/0.685, allocations: 3.019 MB / 0.7564 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.6859, allocations: 191.7 kB / 0.7566 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/0.6921, allocations: 3.005 MB / 0.7595 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.6942, allocations: 258.9 kB / 0.7598 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.6944, allocations: 51.92 kB / 0.7598 GB, free: 8.652 MB / 0.5573 GB 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 (103): * Single equations (assignments): 102 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.000744/0.6952, allocations: 357.4 kB / 0.7602 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.6957, allocations: 165.9 kB / 0.7603 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.7124, allocations: 5.894 MB / 0.7661 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.7125, allocations: 12 kB / 0.7661 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7125, allocations: 0 / 0.7661 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/0.7125, allocations: 11.97 kB / 0.7661 GB, free: 2.195 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.2378/0.9504, allocations: 8.028 MB / 0.7739 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.9504, allocations: 3.031 kB / 0.7739 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.9514, allocations: 152.8 kB / 0.7741 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007116/0.9585, allocations: 2.496 MB / 0.7765 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.9588, allocations: 32.12 kB / 0.7766 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/0.9825, allocations: 10.88 MB / 0.7872 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9826, allocations: 0 / 0.7872 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.001, allocations: 7.17 MB / 0.7942 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/1.002, allocations: 286.7 kB / 0.7945 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/1.002, allocations: 30.98 kB / 0.7945 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.004, allocations: 209.9 kB / 0.7947 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007712/1.005, allocations: 254.2 kB / 0.7949 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.005, allocations: 34.81 kB / 0.795 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00213/1.007, allocations: 1.037 MB / 0.796 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.007, allocations: 1.469 kB / 0.796 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003019/1.01, allocations: 0.7666 MB / 0.7967 GB, free: 133.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.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 (83): * Single equations (assignments): 82 * 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.0004652/1.011, allocations: 181.2 kB / 0.7969 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.025, allocations: 4.801 MB / 0.8016 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.025, allocations: 0 / 0.8016 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006344/1.032, allocations: 2.188 MB / 0.8037 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.033, allocations: 134.4 kB / 0.8038 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/1.039, allocations: 3.67 MB / 0.8074 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/1.04, allocations: 1.275 MB / 0.8087 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008275/1.041, allocations: 160 kB / 0.8088 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/1.041, allocations: 83.83 kB / 0.8089 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/1.041, allocations: 0 / 0.8089 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.0387/1.08, allocations: 30.53 MB / 0.8387 GB, free: 127.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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_CGMES_ES_ExcSEXS -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.o OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS_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.CGMES.ES.ExcSEXS.o] Error 1