Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.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.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 179.4 kB / 16.12 MB, free: 5.699 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.584/1.584, 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.0007506/0.0007506, allocations: 87.88 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3232/0.3232, allocations: 42.28 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004548, allocations: 12 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5603, allocations: 106.6 MB / 0.5797 GB, free: 1.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004008/0.5607, allocations: 87.95 kB / 0.5798 GB, free: 1.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1315/0.6923, allocations: 46.13 MB / 0.6248 GB, free: 2.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6923, allocations: 0 / 0.6248 GB, free: 2.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.6926, allocations: 39.94 kB / 0.6249 GB, free: 2.664 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.009307/0.7019, allocations: 2.668 MB / 0.6275 GB, free: 15.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7019, allocations: 12.03 kB / 0.6275 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.7055, allocations: 0.5765 MB / 0.628 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.7092, allocations: 1.218 MB / 0.6292 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008217/0.7101, allocations: 0.5716 MB / 0.6298 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.7107, allocations: 115.9 kB / 0.6299 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005187/0.7159, allocations: 1.669 MB / 0.6315 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.7159, allocations: 0 / 0.6315 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.7162, allocations: 47.98 kB / 0.6316 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.7162, allocations: 29.59 kB / 0.6316 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.7203, allocations: 1.59 MB / 0.6332 GB, free: 9.898 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.01286/0.7332, allocations: 5.593 MB / 0.6386 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/0.7428, allocations: 3.676 MB / 0.6422 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.7452, allocations: 1.061 MB / 0.6432 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.7454, allocations: 25.22 kB / 0.6433 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002801/0.7482, allocations: 1.224 MB / 0.6445 GB, free: 13.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.52e-06/0.7483, allocations: 0 / 0.6445 GB, free: 13.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.0408/0.7891, allocations: 11.45 MB / 0.6556 GB, free: 2.426 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.7892, allocations: 175.5 kB / 0.6558 GB, free: 2.215 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/0.7935, allocations: 1.526 MB / 0.6573 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004347/0.794, allocations: 53.64 kB / 0.6573 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.7948, allocations: 0.7073 MB / 0.658 GB, free: 15.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009196/0.7958, allocations: 0.489 MB / 0.6585 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.796, allocations: 28 kB / 0.6585 GB, free: 15.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.7962, allocations: 361.9 kB / 0.6589 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.7986, allocations: 0.9331 MB / 0.6598 GB, free: 14.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.8012, allocations: 1.129 MB / 0.6609 GB, free: 12.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/0.806, allocations: 2.086 MB / 0.6629 GB, free: 10.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.8061, allocations: 0 / 0.6629 GB, free: 10.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008075/0.8142, allocations: 3.163 MB / 0.666 GB, free: 7.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.8144, allocations: 238.8 kB / 0.6663 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8145, allocations: 4 kB / 0.6663 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009403/0.8239, allocations: 2.943 MB / 0.6691 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8251, allocations: 219.7 kB / 0.6693 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/0.8328, allocations: 3.201 MB / 0.6725 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.8354, allocations: 306.4 kB / 0.6728 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/0.8357, allocations: 51.98 kB / 0.6728 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8357, allocations: 4 kB / 0.6728 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2749/1.111, allocations: 2.954 MB / 0.6757 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.111, allocations: 5.156 kB / 0.6757 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009716/1.12, allocations: 2.939 MB / 0.6786 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.122, allocations: 212.2 kB / 0.6788 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/1.128, allocations: 3.196 MB / 0.6819 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.131, allocations: 283.1 kB / 0.6822 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.131, allocations: 56.28 kB / 0.6822 GB, free: 112.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.000852/1.132, allocations: 391 kB / 0.6826 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/1.132, allocations: 181.3 kB / 0.6828 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.148, allocations: 6.008 MB / 0.6886 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/1.148, allocations: 12.75 kB / 0.6886 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.148, allocations: 7.094 kB / 0.6887 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/1.148, allocations: 6.703 kB / 0.6887 GB, free: 112.6 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.02011/1.168, allocations: 8.488 MB / 0.6969 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.168, allocations: 0 / 0.6969 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.17, allocations: 193.6 kB / 0.6971 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007125/1.177, allocations: 2.503 MB / 0.6996 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003047/1.177, allocations: 31.12 kB / 0.6996 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/1.201, allocations: 10.31 MB / 0.7097 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.201, allocations: 4.984 kB / 0.7097 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/1.223, allocations: 7.313 MB / 0.7168 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/1.224, allocations: 301.2 kB / 0.7171 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/1.225, allocations: 29.03 kB / 0.7171 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.226, allocations: 211 kB / 0.7173 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009534/1.227, allocations: 267.1 kB / 0.7176 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.227, allocations: 44.95 kB / 0.7176 GB, free: 106.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001739/1.229, allocations: 1.058 MB / 0.7187 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.229, allocations: 0 / 0.7187 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002048/1.231, allocations: 0.8299 MB / 0.7195 GB, free: 106.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * 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 (96): * Single equations (assignments): 95 * 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.0003639/1.232, allocations: 185.7 kB / 0.7197 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01359/1.245, allocations: 5.182 MB / 0.7247 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.245, allocations: 0 / 0.7247 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006139/1.251, allocations: 2.254 MB / 0.7269 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.254, allocations: 174.1 kB / 0.7271 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/1.26, allocations: 3.986 MB / 0.731 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/1.261, allocations: 1.309 MB / 0.7322 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008487/1.261, allocations: 162.8 kB / 0.7324 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.262, allocations: 94.22 kB / 0.7325 GB, free: 100.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.984e-06/1.262, allocations: 0 / 0.7325 GB, free: 100.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04566/1.307, allocations: 32.04 MB / 0.7638 GB, free: 88.53 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.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_TG_IEESGO -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.PSSE.TG.IEESGO.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO_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.TG.IEESGO.o] Error 1