Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.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.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.00117, allocations: 173.2 kB / 16.12 MB, free: 5.574 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.593/1.593, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.0008487/0.0008484, allocations: 83.14 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.324/0.324, allocations: 42.29 MB / 361.2 MB, free: 49.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.0006709, allocations: 16 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1592, allocations: 57.56 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5662, allocations: 104.7 MB / 0.5778 GB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5666, allocations: 92.58 kB / 0.5779 GB, free: 2.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.683, allocations: 39.94 MB / 0.6169 GB, free: 10.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.683, allocations: 0 / 0.6169 GB, free: 10.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001597/0.6832, allocations: 27.94 kB / 0.617 GB, free: 10.77 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.008244/0.6914, allocations: 2.436 MB / 0.6193 GB, free: 8.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6915, allocations: 12.03 kB / 0.6193 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.6951, allocations: 0.5443 MB / 0.6199 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.6988, allocations: 1.057 MB / 0.6209 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/0.6995, allocations: 428.7 kB / 0.6213 GB, free: 6.125 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/0.7, allocations: 95.91 kB / 0.6214 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.7039, allocations: 1.467 MB / 0.6228 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.704, allocations: 0 / 0.6228 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.7042, allocations: 36 kB / 0.6229 GB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.7042, allocations: 24 kB / 0.6229 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.7076, allocations: 1.398 MB / 0.6243 GB, free: 3.09 MB / 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.01085/0.7185, allocations: 4.782 MB / 0.6289 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008682/0.7272, allocations: 3.416 MB / 0.6323 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.7296, allocations: 0.9737 MB / 0.6332 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.7299, allocations: 24.97 kB / 0.6332 GB, free: 9.531 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002729/0.7326, allocations: 1.12 MB / 0.6343 GB, free: 8.391 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 4.548e-06/0.7327, allocations: 3.938 kB / 0.6343 GB, free: 8.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.05134/0.784, allocations: 12.53 MB / 0.6466 GB, free: 11.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.7842, allocations: 119.8 kB / 0.6467 GB, free: 11.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.7882, allocations: 1.336 MB / 0.648 GB, free: 10.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00045/0.7887, allocations: 49.7 kB / 0.648 GB, free: 10.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007703/0.7895, allocations: 0.6085 MB / 0.6486 GB, free: 9.656 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.7905, allocations: 433.7 kB / 0.6491 GB, free: 9.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.7908, allocations: 28 kB / 0.6491 GB, free: 9.199 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.7911, allocations: 349.9 kB / 0.6494 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.794, allocations: 0.8342 MB / 0.6502 GB, free: 8.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.7971, allocations: 0.9954 MB / 0.6512 GB, free: 6.973 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005838/0.8029, allocations: 1.849 MB / 0.653 GB, free: 5.078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.803, allocations: 0 / 0.653 GB, free: 5.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.009812/0.8128, allocations: 2.837 MB / 0.6558 GB, free: 2.227 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.8129, allocations: 4 kB / 0.6558 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.8129, allocations: 7.938 kB / 0.6558 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.8248, allocations: 3.231 MB / 0.6589 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.8258, allocations: 163.7 kB / 0.6591 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/0.8336, allocations: 3.177 MB / 0.6622 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.836, allocations: 258.8 kB / 0.6625 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/0.8363, allocations: 47.98 kB / 0.6625 GB, free: 11.31 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 (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.8374, allocations: 269.5 kB / 0.6628 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/0.8381, allocations: 158 kB / 0.6629 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/0.8556, allocations: 5.873 MB / 0.6686 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.8557, allocations: 15.94 kB / 0.6687 GB, free: 4.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.8557, allocations: 4 kB / 0.6687 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.8558, allocations: 7.984 kB / 0.6687 GB, free: 4.953 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.2685/1.124, allocations: 7.823 MB / 0.6763 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.124, allocations: 0 / 0.6763 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.125, allocations: 135.3 kB / 0.6764 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007717/1.133, allocations: 2.507 MB / 0.6789 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/1.133, allocations: 29.62 kB / 0.6789 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/1.157, allocations: 10.3 MB / 0.689 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.157, allocations: 0 / 0.689 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.175, allocations: 7.006 MB / 0.6958 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/1.176, allocations: 275.5 kB / 0.6961 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/1.176, allocations: 26.75 kB / 0.6961 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.178, allocations: 173.1 kB / 0.6963 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000847/1.179, allocations: 264.7 kB / 0.6965 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/1.179, allocations: 32.94 kB / 0.6965 GB, free: 114.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00137/1.18, allocations: 0.9319 MB / 0.6975 GB, free: 114 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.18, allocations: 0 / 0.6975 GB, free: 114 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001415/1.181, allocations: 489.7 kB / 0.6979 GB, free: 114 MB / 490.7 MB 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.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 (79): * Single equations (assignments): 78 * 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.0003575/1.182, allocations: 180.2 kB / 0.6981 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007729/1.19, allocations: 2.838 MB / 0.7009 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.19, allocations: 0 / 0.7009 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005809/1.195, allocations: 2.147 MB / 0.703 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.197, allocations: 141 kB / 0.7031 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/1.203, allocations: 3.43 MB / 0.7064 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/1.204, allocations: 1.208 MB / 0.7076 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006624/1.205, allocations: 118.5 kB / 0.7077 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.205, allocations: 80.94 kB / 0.7078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/1.205, allocations: 0 / 0.7078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of Templates: time 0.04218/1.248, allocations: 24.43 MB / 0.7317 GB, free: 109.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.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_PSSE_ES_SEXS -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_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SEXS_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.PSSE.ES.SEXS.o] Error 1