Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.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.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 176.1 kB / 16.12 MB, free: 5.668 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.532/1.532, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007724/0.0007723, allocations: 92.36 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.4163/0.4163, allocations: 42.28 MB / 361.2 MB, free: 49.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 16 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4693, allocations: 104.6 MB / 0.5777 GB, free: 3.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4696, allocations: 87.95 kB / 0.5778 GB, free: 3.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.5821, allocations: 39.41 MB / 0.6163 GB, free: 11.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5821, allocations: 4 kB / 0.6163 GB, free: 11.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.5823, allocations: 27.94 kB / 0.6163 GB, free: 11.39 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.008405/0.5907, allocations: 2.411 MB / 0.6187 GB, free: 8.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5908, allocations: 8.031 kB / 0.6187 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.5943, allocations: 0.5535 MB / 0.6192 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.5972, allocations: 1.045 MB / 0.6202 GB, free: 7.266 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005601/0.5978, allocations: 428.7 kB / 0.6206 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.5983, allocations: 92 kB / 0.6207 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.6023, allocations: 1.442 MB / 0.6221 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.6024, allocations: 0 / 0.6221 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.6026, allocations: 36 kB / 0.6222 GB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.6026, allocations: 20 kB / 0.6222 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.6061, allocations: 1.378 MB / 0.6235 GB, free: 3.801 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.01138/0.6175, allocations: 4.664 MB / 0.6281 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009202/0.6267, allocations: 3.446 MB / 0.6315 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.6292, allocations: 0.9783 MB / 0.6324 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.6295, allocations: 16.98 kB / 0.6324 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002785/0.6323, allocations: 1.128 MB / 0.6335 GB, free: 9.184 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 5.209e-06/0.6323, allocations: 0 / 0.6335 GB, free: 9.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=124): time 0.06791/0.7002, allocations: 12.22 MB / 0.6455 GB, free: 12.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.7004, allocations: 115.8 kB / 0.6456 GB, free: 12.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.7041, allocations: 1.299 MB / 0.6468 GB, free: 11.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004739/0.7046, allocations: 49.7 kB / 0.6469 GB, free: 11.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/0.7054, allocations: 0.5889 MB / 0.6475 GB, free: 10.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.7065, allocations: 441.6 kB / 0.6479 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.7067, allocations: 28 kB / 0.6479 GB, free: 10.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.707, allocations: 349.9 kB / 0.6482 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.7107, allocations: 0.8302 MB / 0.6491 GB, free: 9.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.7146, allocations: 0.9871 MB / 0.65 GB, free: 8.145 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007442/0.7221, allocations: 1.841 MB / 0.6518 GB, free: 6.258 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.7221, allocations: 0 / 0.6518 GB, free: 6.258 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01249/0.7347, allocations: 2.817 MB / 0.6546 GB, free: 3.426 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.7347, allocations: 8 kB / 0.6546 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.7348, allocations: 4 kB / 0.6546 GB, free: 3.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01757/0.7523, allocations: 3.046 MB / 0.6576 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.754, allocations: 183.7 kB / 0.6577 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.7665, allocations: 3.007 MB / 0.6607 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.7692, allocations: 254.8 kB / 0.6609 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.7693, allocations: 51.97 kB / 0.661 GB, free: 12.85 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 (99): * Single equations (assignments): 98 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008327/0.7702, allocations: 277.4 kB / 0.6612 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.7706, allocations: 154.1 kB / 0.6614 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/0.7901, allocations: 5.88 MB / 0.6671 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.7902, allocations: 12 kB / 0.6671 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7902, allocations: 4 kB / 0.6671 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.7902, allocations: 3.984 kB / 0.6671 GB, free: 6.492 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.2435/1.034, allocations: 7.856 MB / 0.6748 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.034, allocations: 3.859 kB / 0.6748 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.035, allocations: 141.4 kB / 0.6749 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00822/1.043, allocations: 2.505 MB / 0.6774 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000359/1.043, allocations: 27.69 kB / 0.6774 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/1.068, allocations: 10.31 MB / 0.6875 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.068, allocations: 2.062 kB / 0.6875 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/1.086, allocations: 7.004 MB / 0.6943 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/1.087, allocations: 271.2 kB / 0.6946 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/1.087, allocations: 27.47 kB / 0.6946 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.088, allocations: 178.5 kB / 0.6948 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008998/1.089, allocations: 261.3 kB / 0.695 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.089, allocations: 34.66 kB / 0.6951 GB, free: 113.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00152/1.091, allocations: 0.8996 MB / 0.6959 GB, free: 113.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.091, allocations: 0 / 0.6959 GB, free: 113.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00143/1.092, allocations: 491.6 kB / 0.6964 GB, free: 113.5 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * 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.0003717/1.093, allocations: 184.5 kB / 0.6966 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007503/1.1, allocations: 2.797 MB / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.1, allocations: 0 / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005881/1.106, allocations: 2.161 MB / 0.7014 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.108, allocations: 141.9 kB / 0.7016 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/1.115, allocations: 3.432 MB / 0.7049 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.116, allocations: 1.202 MB / 0.7061 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007785/1.117, allocations: 119.1 kB / 0.7062 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/1.117, allocations: 81.47 kB / 0.7063 GB, free: 110.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/1.117, allocations: 0 / 0.7063 GB, free: 110.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04499/1.162, allocations: 23.95 MB / 0.7297 GB, free: 109.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.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_TGOV1 -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.TG.TGOV1.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1_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_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.o] Error 1