Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.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.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.442/1.442, 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.0007523/0.0007521, allocations: 89.42 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.2979/0.2979, allocations: 42.28 MB / 361.2 MB, free: 49.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005643, allocations: 16 kB / 429.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4585, allocations: 108.8 MB / 0.5819 GB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4589, allocations: 91.95 kB / 0.582 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.597, allocations: 46.9 MB / 0.6278 GB, free: 15.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.5971, allocations: 0 / 0.6278 GB, free: 15.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001967/0.5973, allocations: 39.94 kB / 0.6278 GB, free: 15.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009929/0.6072, allocations: 2.641 MB / 0.6304 GB, free: 12.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6073, allocations: 11.97 kB / 0.6304 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.6112, allocations: 0.5728 MB / 0.6309 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004239/0.6154, allocations: 1.217 MB / 0.6321 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/0.6161, allocations: 466.5 kB / 0.6326 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000499/0.6167, allocations: 115.9 kB / 0.6327 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.6202, allocations: 1.626 MB / 0.6343 GB, free: 8.734 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.6202, allocations: 3.938 kB / 0.6343 GB, free: 8.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.6204, allocations: 44 kB / 0.6343 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.6204, allocations: 24 kB / 0.6343 GB, free: 8.664 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.6238, allocations: 1.527 MB / 0.6358 GB, free: 7.129 MB / 458.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.01062/0.6344, allocations: 5.426 MB / 0.6411 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009267/0.6437, allocations: 3.641 MB / 0.6447 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.6463, allocations: 1.058 MB / 0.6457 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/0.647, allocations: 0.7258 MB / 0.6464 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002514/0.6495, allocations: 1.215 MB / 0.6476 GB, free: 10.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 4.478e-06/0.6496, allocations: 0 / 0.6476 GB, free: 10.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.03878/0.6883, allocations: 11.11 MB / 0.6585 GB, free: 15.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.6885, allocations: 120.1 kB / 0.6586 GB, free: 15.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.6913, allocations: 1.473 MB / 0.66 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003434/0.6917, allocations: 57.64 kB / 0.6601 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000611/0.6923, allocations: 0.6951 MB / 0.6608 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00082/0.6931, allocations: 481 kB / 0.6612 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.6933, allocations: 28 kB / 0.6612 GB, free: 12.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6935, allocations: 369.8 kB / 0.6616 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.6957, allocations: 0.9253 MB / 0.6625 GB, free: 11.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.698, allocations: 1.117 MB / 0.6636 GB, free: 9.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/0.7024, allocations: 2.043 MB / 0.6656 GB, free: 7.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.7024, allocations: 0 / 0.6656 GB, free: 7.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007237/0.7097, allocations: 3.083 MB / 0.6686 GB, free: 4.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.7097, allocations: 11.98 kB / 0.6686 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.7097, allocations: 4 kB / 0.6686 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/0.7196, allocations: 3.042 MB / 0.6716 GB, free: 1.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.7209, allocations: 243.7 kB / 0.6718 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2065/0.9274, allocations: 3.006 MB / 0.6747 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.9298, allocations: 273.7 kB / 0.675 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.93, allocations: 54.33 kB / 0.6751 GB, free: 112.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007477/0.9307, allocations: 314.3 kB / 0.6754 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.9311, allocations: 182.1 kB / 0.6755 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/0.948, allocations: 6.015 MB / 0.6814 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.9481, allocations: 20.62 kB / 0.6814 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.9481, allocations: 0 / 0.6814 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.9482, allocations: 6.844 kB / 0.6814 GB, free: 112.3 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.01927/0.9674, allocations: 8.216 MB / 0.6895 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.9675, allocations: 0 / 0.6895 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.9685, allocations: 173 kB / 0.6896 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006963/0.9755, allocations: 2.502 MB / 0.6921 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/0.9759, allocations: 31.72 kB / 0.6921 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/0.9977, allocations: 10.31 MB / 0.7022 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.9977, allocations: 6.344 kB / 0.7022 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.018, allocations: 7.304 MB / 0.7093 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.019, allocations: 285.7 kB / 0.7096 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.019, allocations: 27.58 kB / 0.7096 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.021, allocations: 193.7 kB / 0.7098 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009549/1.022, allocations: 277.9 kB / 0.7101 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.022, allocations: 35.38 kB / 0.7101 GB, free: 108.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001829/1.024, allocations: 1.022 MB / 0.7111 GB, free: 107.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.024, allocations: 0 / 0.7111 GB, free: 107.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001675/1.025, allocations: 0.5371 MB / 0.7116 GB, free: 107.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0004034/1.026, allocations: 205.1 kB / 0.7118 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008678/1.035, allocations: 3.045 MB / 0.7148 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.035, allocations: 1.375 kB / 0.7148 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006159/1.041, allocations: 2.241 MB / 0.717 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.043, allocations: 168.3 kB / 0.7171 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/1.048, allocations: 3.893 MB / 0.7209 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/1.049, allocations: 1.279 MB / 0.7222 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007055/1.05, allocations: 145.3 kB / 0.7223 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/1.05, allocations: 91 kB / 0.7224 GB, free: 103.1 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/1.05, allocations: 3.938 kB / 0.7224 GB, free: 103.1 MB / 490.7 MB Notification: Performance of Templates: time 0.03959/1.09, allocations: 25.88 MB / 0.7477 GB, free: 101.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.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_ESDC2A -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.ESDC2A.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A_functions.h:163: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.ESDC2A.o] Error 1