Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0008927/0.0008931, allocations: 173.6 kB / 16.12 MB, free: 5.578 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.297/1.297, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007802/0.0007803, allocations: 84.92 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.277/0.277, allocations: 42.29 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 12 kB / 429.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.0975, allocations: 57.56 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3864, allocations: 108.8 MB / 0.5819 GB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.3867, allocations: 88.83 kB / 0.582 GB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.5099, allocations: 46.9 MB / 0.6278 GB, free: 15.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5099, allocations: 3.938 kB / 0.6278 GB, free: 15.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000147/0.5101, allocations: 39.94 kB / 0.6278 GB, free: 15.61 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.008349/0.5184, allocations: 2.641 MB / 0.6304 GB, free: 12.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5185, allocations: 8.031 kB / 0.6304 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5217, allocations: 0.5767 MB / 0.6309 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.5244, allocations: 1.217 MB / 0.6321 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004835/0.5249, allocations: 466.5 kB / 0.6326 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.5252, allocations: 115.9 kB / 0.6327 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.5285, allocations: 1.626 MB / 0.6343 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.5286, allocations: 0 / 0.6343 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5287, allocations: 48 kB / 0.6343 GB, free: 8.691 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.5287, allocations: 24 kB / 0.6343 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.532, allocations: 1.527 MB / 0.6358 GB, free: 7.133 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.009572/0.5416, allocations: 5.426 MB / 0.6411 GB, free: 1.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.5503, allocations: 3.638 MB / 0.6447 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.5523, allocations: 1.054 MB / 0.6457 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005599/0.5528, allocations: 0.7297 MB / 0.6464 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.5552, allocations: 1.215 MB / 0.6476 GB, free: 10.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 3.527e-06/0.5552, allocations: 0 / 0.6476 GB, free: 10.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.03596/0.5911, allocations: 11.11 MB / 0.6585 GB, free: 15.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5912, allocations: 120.1 kB / 0.6586 GB, free: 15.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.594, allocations: 1.477 MB / 0.66 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.5942, allocations: 57.77 kB / 0.6601 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.5948, allocations: 0.6873 MB / 0.6608 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005703/0.5954, allocations: 485 kB / 0.6612 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.5955, allocations: 24 kB / 0.6612 GB, free: 12.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5956, allocations: 365.8 kB / 0.6616 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.5976, allocations: 0.9253 MB / 0.6625 GB, free: 11.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.5998, allocations: 1.125 MB / 0.6636 GB, free: 10 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/0.6038, allocations: 2.039 MB / 0.6656 GB, free: 7.914 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6039, allocations: 0 / 0.6656 GB, free: 7.914 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006593/0.6105, allocations: 3.087 MB / 0.6686 GB, free: 4.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6105, allocations: 11.98 kB / 0.6686 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6105, allocations: 4 kB / 0.6686 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009344/0.6199, allocations: 3.046 MB / 0.6716 GB, free: 1.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.621, allocations: 243.6 kB / 0.6718 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2292/0.8501, allocations: 3.001 MB / 0.6747 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.8525, allocations: 271.6 kB / 0.675 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.8527, allocations: 57.16 kB / 0.6751 GB, free: 112.4 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.0008334/0.8536, allocations: 310.2 kB / 0.6754 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.8539, allocations: 180.5 kB / 0.6755 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.8709, allocations: 6.024 MB / 0.6814 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.871, allocations: 13.09 kB / 0.6814 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.871, allocations: 3.219 kB / 0.6814 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/0.8711, allocations: 10.23 kB / 0.6814 GB, free: 112.2 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.0192/0.8903, allocations: 8.211 MB / 0.6895 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.8904, allocations: 7 kB / 0.6895 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.8915, allocations: 175.8 kB / 0.6896 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006874/0.8984, allocations: 2.5 MB / 0.6921 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.8987, allocations: 31.42 kB / 0.6921 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.9207, allocations: 10.31 MB / 0.7022 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9207, allocations: 2.969 kB / 0.7022 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.9407, allocations: 7.295 MB / 0.7093 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.9416, allocations: 290.3 kB / 0.7096 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000693/0.9423, allocations: 32.56 kB / 0.7096 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.9444, allocations: 184.4 kB / 0.7098 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/0.9456, allocations: 273.8 kB / 0.71 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/0.9458, allocations: 43.3 kB / 0.7101 GB, free: 108.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002342/0.9482, allocations: 1.018 MB / 0.7111 GB, free: 107.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.9482, allocations: 0 / 0.7111 GB, free: 107.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002217/0.9504, allocations: 0.5477 MB / 0.7116 GB, free: 107.7 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.0005924/0.951, allocations: 206.9 kB / 0.7118 GB, free: 107.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009003/0.96, allocations: 3.032 MB / 0.7148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.9601, allocations: 0 / 0.7148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006539/0.9666, allocations: 2.251 MB / 0.717 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.9687, allocations: 165.1 kB / 0.7171 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/0.9756, allocations: 3.888 MB / 0.7209 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/0.9765, allocations: 1.279 MB / 0.7222 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008175/0.9773, allocations: 140 kB / 0.7223 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.9778, allocations: 95.81 kB / 0.7224 GB, free: 103 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.9778, allocations: 0 / 0.7224 GB, free: 103 MB / 490.7 MB Notification: Performance of Templates: time 0.03681/1.015, allocations: 25.88 MB / 0.7477 GB, free: 101.6 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.makefile make -j1 -f OpenIPSL_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_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_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A_model.h:26: ./OpenIPSL_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_OpenIPSL.Examples.Controls.PSSE.ES.ESDC2A.o] Error 1