Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009371/0.000937, allocations: 172 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.3/1.3, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0007374/0.0007376, allocations: 85.05 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2867/0.2867, allocations: 42.28 MB / 361.2 MB, free: 49.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004208, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4441, allocations: 105.7 MB / 0.5788 GB, free: 2.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.4444, allocations: 97.89 kB / 0.5788 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1208/0.5653, allocations: 41.57 MB / 0.6194 GB, free: 8.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5653, allocations: 0 / 0.6194 GB, free: 8.207 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.5655, allocations: 35.98 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.008177/0.5737, allocations: 2.547 MB / 0.622 GB, free: 5.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5738, allocations: 8.031 kB / 0.622 GB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.5773, allocations: 0.5612 MB / 0.6225 GB, free: 5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.5805, allocations: 1.146 MB / 0.6236 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006383/0.5812, allocations: 428.7 kB / 0.624 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/0.5816, allocations: 103.9 kB / 0.6241 GB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004069/0.5857, allocations: 1.518 MB / 0.6256 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.5858, allocations: 0 / 0.6256 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.586, allocations: 47.98 kB / 0.6257 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.586, allocations: 20 kB / 0.6257 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.5896, allocations: 1.468 MB / 0.6271 GB, free: 144 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.011/0.6007, allocations: 4.956 MB / 0.632 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.6095, allocations: 3.533 MB / 0.6354 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.6119, allocations: 1.01 MB / 0.6364 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.6121, allocations: 24.97 kB / 0.6364 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002773/0.6149, allocations: 1.159 MB / 0.6376 GB, free: 5.078 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 6.051e-06/0.615, allocations: 0 / 0.6376 GB, free: 5.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.03908/0.6541, allocations: 11.35 MB / 0.6486 GB, free: 9.688 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.6542, allocations: 141.5 kB / 0.6488 GB, free: 9.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.6573, allocations: 1.43 MB / 0.6502 GB, free: 8.078 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/0.6577, allocations: 57.77 kB / 0.6502 GB, free: 8.016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.6583, allocations: 0.6363 MB / 0.6508 GB, free: 7.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008032/0.6591, allocations: 445.5 kB / 0.6513 GB, free: 6.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6593, allocations: 20 kB / 0.6513 GB, free: 6.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.6596, allocations: 361.9 kB / 0.6516 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.6617, allocations: 0.8576 MB / 0.6525 GB, free: 5.691 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.6641, allocations: 1.031 MB / 0.6535 GB, free: 4.609 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004217/0.6683, allocations: 1.9 MB / 0.6553 GB, free: 2.664 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.6683, allocations: 4 kB / 0.6553 GB, free: 2.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006505/0.6748, allocations: 2.864 MB / 0.6581 GB, free: 15.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.675, allocations: 193 kB / 0.6583 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.675, allocations: 8 kB / 0.6583 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00925/0.6843, allocations: 3.015 MB / 0.6613 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6854, allocations: 199.7 kB / 0.6615 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.6924, allocations: 3.011 MB / 0.6644 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.6948, allocations: 278.8 kB / 0.6647 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.6951, allocations: 39.98 kB / 0.6647 GB, free: 8.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6951, allocations: 4 kB / 0.6647 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006214/0.7013, allocations: 2.657 MB / 0.6673 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7014, allocations: 4 kB / 0.6673 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009174/0.7106, allocations: 3.015 MB / 0.6703 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.7117, allocations: 195.7 kB / 0.6704 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.7184, allocations: 3.003 MB / 0.6734 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.218/0.9364, allocations: 256.8 kB / 0.6736 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.9367, allocations: 47.05 kB / 0.6737 GB, free: 116.8 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.0008871/0.9376, allocations: 365.9 kB / 0.674 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.938, allocations: 172.4 kB / 0.6742 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/0.9548, allocations: 5.886 MB / 0.6799 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.9549, allocations: 16.38 kB / 0.6799 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9549, allocations: 3.906 kB / 0.6799 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.955, allocations: 6.328 kB / 0.68 GB, free: 116.5 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.01917/0.9742, allocations: 8.005 MB / 0.6878 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.9742, allocations: 0 / 0.6878 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.9752, allocations: 153.6 kB / 0.6879 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006955/0.9822, allocations: 2.501 MB / 0.6904 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/0.9825, allocations: 34.7 kB / 0.6904 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/1.005, allocations: 10.3 MB / 0.7004 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.005, allocations: 0 / 0.7004 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/1.025, allocations: 7.147 MB / 0.7074 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008551/1.026, allocations: 283.6 kB / 0.7077 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/1.026, allocations: 28.17 kB / 0.7077 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.028, allocations: 198.3 kB / 0.7079 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/1.029, allocations: 261.3 kB / 0.7082 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.029, allocations: 35.53 kB / 0.7082 GB, free: 112.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001987/1.031, allocations: 1.003 MB / 0.7092 GB, free: 112.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.031, allocations: 0 / 0.7092 GB, free: 112.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00263/1.034, allocations: 0.7618 MB / 0.7099 GB, free: 112.1 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.0004631/1.034, allocations: 182.7 kB / 0.7101 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01497/1.049, allocations: 4.804 MB / 0.7148 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.049, allocations: 5.375 kB / 0.7148 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.056, allocations: 2.182 MB / 0.7169 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.058, allocations: 156.7 kB / 0.7171 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/1.065, allocations: 3.628 MB / 0.7206 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/1.066, allocations: 1.249 MB / 0.7218 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009139/1.067, allocations: 151.8 kB / 0.722 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.067, allocations: 87.17 kB / 0.7221 GB, free: 107.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/1.067, allocations: 0 / 0.7221 GB, free: 107.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0424/1.11, allocations: 30.2 MB / 0.7516 GB, free: 102.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.o OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS.o] Error 1