Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.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.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009822/0.0009821, allocations: 172.6 kB / 16.11 MB, free: 5.551 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.407/1.407, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0008186/0.0008187, allocations: 90.61 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3272/0.3272, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.000476, allocations: 12 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.498, allocations: 105.7 MB / 0.5788 GB, free: 2.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4983, allocations: 95.94 kB / 0.5788 GB, free: 1.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.6154, allocations: 41.57 MB / 0.6194 GB, free: 8.203 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6154, allocations: 0 / 0.6194 GB, free: 8.203 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.259e-05/0.6156, allocations: 32 kB / 0.6195 GB, free: 8.172 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.007395/0.623, allocations: 2.543 MB / 0.622 GB, free: 5.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.623, allocations: 8.031 kB / 0.622 GB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.6262, allocations: 0.5634 MB / 0.6225 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.6289, allocations: 1.142 MB / 0.6236 GB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/0.6295, allocations: 436.7 kB / 0.624 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.6297, allocations: 99.91 kB / 0.6241 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.6328, allocations: 1.522 MB / 0.6256 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.6329, allocations: 0 / 0.6256 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.633, allocations: 44 kB / 0.6257 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.6331, allocations: 20 kB / 0.6257 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.6364, allocations: 1.464 MB / 0.6271 GB, free: 152 kB / 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.009615/0.646, allocations: 4.964 MB / 0.632 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008902/0.6549, allocations: 3.531 MB / 0.6354 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.6572, allocations: 1.012 MB / 0.6364 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.6574, allocations: 24.98 kB / 0.6364 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.6597, allocations: 1.159 MB / 0.6376 GB, free: 5.078 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 3.687e-06/0.6598, allocations: 0 / 0.6376 GB, free: 5.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.03954/0.6993, allocations: 11.35 MB / 0.6486 GB, free: 9.691 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6995, allocations: 145.5 kB / 0.6488 GB, free: 9.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.7027, allocations: 1.426 MB / 0.6502 GB, free: 8.082 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.7032, allocations: 49.77 kB / 0.6502 GB, free: 8.027 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/0.7039, allocations: 0.6441 MB / 0.6508 GB, free: 7.375 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/0.7045, allocations: 445.4 kB / 0.6513 GB, free: 6.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.7046, allocations: 24 kB / 0.6513 GB, free: 6.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7048, allocations: 357.9 kB / 0.6516 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.7068, allocations: 0.8576 MB / 0.6525 GB, free: 5.695 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.7088, allocations: 1.028 MB / 0.6535 GB, free: 4.617 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/0.7128, allocations: 1.9 MB / 0.6553 GB, free: 2.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.7128, allocations: 7.938 kB / 0.6553 GB, free: 2.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006791/0.7196, allocations: 2.864 MB / 0.6581 GB, free: 15.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.7198, allocations: 189 kB / 0.6583 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.7199, allocations: 4 kB / 0.6583 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009118/0.729, allocations: 3.022 MB / 0.6613 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7301, allocations: 199.7 kB / 0.6615 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.737, allocations: 3.015 MB / 0.6644 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.7395, allocations: 274.8 kB / 0.6647 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.7397, allocations: 39.98 kB / 0.6647 GB, free: 8.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7397, allocations: 4 kB / 0.6647 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005965/0.7457, allocations: 2.657 MB / 0.6673 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7457, allocations: 4 kB / 0.6673 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009014/0.7548, allocations: 3.015 MB / 0.6703 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7558, allocations: 195.7 kB / 0.6704 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/0.7625, allocations: 3.003 MB / 0.6734 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2759/1.039, allocations: 256.6 kB / 0.6736 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/1.039, allocations: 45.88 kB / 0.6737 GB, free: 116.9 MB / 490.7 MB 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.0009853/1.04, allocations: 364.2 kB / 0.674 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/1.04, allocations: 171.8 kB / 0.6742 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.058, allocations: 5.89 MB / 0.6799 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/1.058, allocations: 13.88 kB / 0.6799 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.058, allocations: 1.375 kB / 0.6799 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.058, allocations: 8.219 kB / 0.6799 GB, free: 116.6 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.01965/1.078, allocations: 8.003 MB / 0.6878 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.078, allocations: 0 / 0.6878 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/1.079, allocations: 154.2 kB / 0.6879 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006973/1.086, allocations: 2.501 MB / 0.6904 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.086, allocations: 33.53 kB / 0.6904 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/1.11, allocations: 10.3 MB / 0.7004 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.11, allocations: 0 / 0.7004 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.128, allocations: 7.139 MB / 0.7074 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.13, allocations: 285 kB / 0.7077 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.13, allocations: 27.19 kB / 0.7077 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/1.132, allocations: 198.2 kB / 0.7079 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/1.133, allocations: 264.6 kB / 0.7082 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.133, allocations: 36.7 kB / 0.7082 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002126/1.135, allocations: 1.003 MB / 0.7092 GB, free: 112.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.135, allocations: 0 / 0.7092 GB, free: 112.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002438/1.138, allocations: 0.7658 MB / 0.7099 GB, free: 112.2 MB / 490.7 MB 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.0004087/1.138, allocations: 180.9 kB / 0.7101 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01437/1.152, allocations: 4.798 MB / 0.7148 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.152, allocations: 0 / 0.7148 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006168/1.159, allocations: 2.192 MB / 0.7169 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.16, allocations: 159.3 kB / 0.7171 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/1.166, allocations: 3.631 MB / 0.7206 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/1.167, allocations: 1.238 MB / 0.7218 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000822/1.167, allocations: 162.2 kB / 0.722 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/1.168, allocations: 83.91 kB / 0.7221 GB, free: 107.3 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/1.168, allocations: 0 / 0.7221 GB, free: 107.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03943/1.207, allocations: 30.2 MB / 0.7515 GB, free: 102.3 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.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_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_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.o OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS_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.CGMES.ES.ExcSEXS.o] Error 1