Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.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.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 172.7 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.587/1.587, allocations: 205.4 MB / 222.3 MB, free: 13.75 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.000819/0.0008189, allocations: 94.27 kB / 270.6 MB, free: 13.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1902/0.1902, allocations: 42.31 MB / 361.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 12 kB / 429.4 MB, free: 21.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 57.54 MB / 487 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.4961, allocations: 109 MB / 0.582 GB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4964, allocations: 93.27 kB / 0.5821 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.6266, allocations: 46.08 MB / 0.6271 GB, free: 4.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6266, allocations: 4 kB / 0.6271 GB, free: 4.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.6268, allocations: 36 kB / 0.6272 GB, free: 4.227 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009313/0.6361, allocations: 2.817 MB / 0.6299 GB, free: 1.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6362, allocations: 8.031 kB / 0.6299 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.6402, allocations: 0.5908 MB / 0.6305 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.6439, allocations: 1.274 MB / 0.6317 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005814/0.6445, allocations: 478 kB / 0.6322 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.6451, allocations: 123 kB / 0.6323 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004559/0.6497, allocations: 1.689 MB / 0.634 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.6497, allocations: 0 / 0.634 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.6499, allocations: 44.62 kB / 0.634 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.6499, allocations: 28 kB / 0.634 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/0.6534, allocations: 1.583 MB / 0.6356 GB, free: 13 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.01189/0.6654, allocations: 5.786 MB / 0.6412 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.6752, allocations: 3.741 MB / 0.6449 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.6779, allocations: 1.081 MB / 0.6459 GB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.6786, allocations: 0.7297 MB / 0.6467 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002753/0.6814, allocations: 1.282 MB / 0.6479 GB, free: 236 kB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.817e-06/0.6814, allocations: 4 kB / 0.6479 GB, free: 232 kB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.04441/0.7258, allocations: 12.73 MB / 0.6603 GB, free: 3.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.7259, allocations: 145.8 kB / 0.6605 GB, free: 3.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.7289, allocations: 1.592 MB / 0.662 GB, free: 1.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004463/0.7293, allocations: 53.7 kB / 0.6621 GB, free: 1.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.73, allocations: 0.7233 MB / 0.6628 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/0.7306, allocations: 0.5159 MB / 0.6633 GB, free: 364 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7307, allocations: 32 kB / 0.6633 GB, free: 332 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.731, allocations: 369.8 kB / 0.6637 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.7331, allocations: 0.9527 MB / 0.6646 GB, free: 15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.7353, allocations: 1.148 MB / 0.6657 GB, free: 13.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.7407, allocations: 2.119 MB / 0.6678 GB, free: 11.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.7408, allocations: 0 / 0.6678 GB, free: 11.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007255/0.7481, allocations: 3.194 MB / 0.6709 GB, free: 8.418 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.7481, allocations: 33.7 kB / 0.671 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.7482, allocations: 4 kB / 0.671 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009384/0.7576, allocations: 3.019 MB / 0.6739 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7591, allocations: 267.6 kB / 0.6742 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.7659, allocations: 3.023 MB / 0.6771 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.7685, allocations: 302.5 kB / 0.6774 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.7687, allocations: 63.98 kB / 0.6775 GB, free: 1.68 MB / 474.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: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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.0009393/0.7697, allocations: 329.3 kB / 0.6778 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.7703, allocations: 193.5 kB / 0.678 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.7882, allocations: 6.182 MB / 0.684 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.7883, allocations: 19.92 kB / 0.684 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.7883, allocations: 11.94 kB / 0.684 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/0.7883, allocations: 3.984 kB / 0.684 GB, free: 10.91 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.02257/0.8109, allocations: 8.716 MB / 0.6925 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.811, allocations: 3.938 kB / 0.6925 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8122, allocations: 163.8 kB / 0.6927 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008239/0.8204, allocations: 2.607 MB / 0.6952 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/0.8208, allocations: 28 kB / 0.6953 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/0.8486, allocations: 12.22 MB / 0.7072 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.8486, allocations: 7.938 kB / 0.7072 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2443/1.093, allocations: 7.508 MB / 0.7146 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/1.094, allocations: 308.3 kB / 0.7148 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/1.094, allocations: 30.38 kB / 0.7149 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.096, allocations: 216 kB / 0.7151 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/1.097, allocations: 282.1 kB / 0.7154 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.097, allocations: 44.33 kB / 0.7154 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002346/1.1, allocations: 1.092 MB / 0.7165 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/1.1, allocations: 0 / 0.7165 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002037/1.102, allocations: 0.5668 MB / 0.717 GB, free: 145.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/1.102, allocations: 196.9 kB / 0.7172 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009585/1.112, allocations: 3.168 MB / 0.7203 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.112, allocations: 3.375 kB / 0.7203 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006913/1.119, allocations: 2.42 MB / 0.7227 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.121, allocations: 180.5 kB / 0.7228 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/1.127, allocations: 4.151 MB / 0.7269 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/1.128, allocations: 1.346 MB / 0.7282 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007296/1.129, allocations: 153.6 kB / 0.7283 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/1.129, allocations: 96.27 kB / 0.7284 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/1.129, allocations: 0 / 0.7284 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.04058/1.17, allocations: 27.41 MB / 0.7552 GB, free: 141.4 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.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_TG_GAST -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.PSSE.TG.GAST.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST_functions.h:155: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.TG.GAST.o] Error 1