Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.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.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 170.1 kB / 16.11 MB, free: 5.582 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.487/1.487, 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.0009286/0.0009283, allocations: 90.41 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2928/0.2928, allocations: 42.29 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003892, allocations: 12 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4765, allocations: 117.2 MB / 0.59 GB, free: 6.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.4769, allocations: 93.78 kB / 0.5901 GB, free: 6.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.6844, allocations: 59.68 MB / 0.6484 GB, free: 10.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6844, allocations: 0 / 0.6484 GB, free: 10.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002979/0.6847, allocations: 55.94 kB / 0.6485 GB, free: 10.42 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.01165/0.6964, allocations: 3.347 MB / 0.6517 GB, free: 7.008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.6964, allocations: 12.03 kB / 0.6517 GB, free: 6.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.7007, allocations: 0.6693 MB / 0.6524 GB, free: 6.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/0.7058, allocations: 1.803 MB / 0.6542 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008575/0.7067, allocations: 0.5322 MB / 0.6547 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.7078, allocations: 167.9 kB / 0.6548 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/0.7149, allocations: 2.273 MB / 0.6571 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.715, allocations: 0 / 0.6571 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004294/0.7154, allocations: 64 kB / 0.6571 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.7155, allocations: 39.98 kB / 0.6572 GB, free: 1.215 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/0.7217, allocations: 2.123 MB / 0.6592 GB, free: 15.08 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 preOpt removeSimpleEquations (simulation): time 0.01948/0.7412, allocations: 8.066 MB / 0.6671 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.7528, allocations: 4.137 MB / 0.6711 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.7561, allocations: 1.297 MB / 0.6724 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.7564, allocations: 45.14 kB / 0.6725 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.7565, allocations: 51.88 kB / 0.6725 GB, free: 1.082 MB / 490.7 MB Notification: Performance of pre-optimization done (n=165): time 4.188e-06/0.7565, allocations: 0 / 0.6725 GB, free: 1.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=165): time 0.2906/1.047, allocations: 12.5 MB / 0.6847 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.047, allocations: 300.1 kB / 0.685 GB, free: 102.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.051, allocations: 2.122 MB / 0.6871 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.052, allocations: 56.92 kB / 0.6871 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/1.052, allocations: 0.9985 MB / 0.6881 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007098/1.053, allocations: 0.5791 MB / 0.6887 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/1.053, allocations: 41.56 kB / 0.6887 GB, free: 101.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/1.053, allocations: 384.8 kB / 0.6891 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/1.056, allocations: 1.202 MB / 0.6902 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/1.059, allocations: 1.55 MB / 0.6918 GB, free: 101 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/1.064, allocations: 2.663 MB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.064, allocations: 1.125 kB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00861/1.073, allocations: 3.957 MB / 0.6982 GB, free: 100.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000212/1.073, allocations: 298.8 kB / 0.6985 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/1.073, allocations: 6.438 kB / 0.6985 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009048/1.082, allocations: 3.102 MB / 0.7015 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/1.084, allocations: 403.7 kB / 0.7019 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008213/1.092, allocations: 4.794 MB / 0.7066 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.096, allocations: 382.1 kB / 0.707 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/1.096, allocations: 72.09 kB / 0.707 GB, free: 97.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.096, allocations: 4 kB / 0.7071 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007919/1.104, allocations: 3.419 MB / 0.7104 GB, free: 97.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/1.104, allocations: 6.219 kB / 0.7104 GB, free: 97.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.115, allocations: 3.066 MB / 0.7134 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/1.117, allocations: 357.3 kB / 0.7137 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00862/1.125, allocations: 4.559 MB / 0.7182 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/1.129, allocations: 323.4 kB / 0.7185 GB, free: 95.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/1.129, allocations: 71.89 kB / 0.7186 GB, free: 95.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1DU.gGOV1_Power.s7.local_reset,gGOV1DU.gGOV1_Power.s2.local_reset,gGOV1DU.gGOV1_Turb.s3.local_reset,gGOV1DU.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001454/1.13, allocations: 0.5047 MB / 0.7191 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/1.131, allocations: 253.8 kB / 0.7193 GB, free: 94.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/1.149, allocations: 6.646 MB / 0.7258 GB, free: 93.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.149, allocations: 17.16 kB / 0.7258 GB, free: 93.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.149, allocations: 2.953 kB / 0.7258 GB, free: 93.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/1.149, allocations: 11.36 kB / 0.7258 GB, free: 93.43 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.02205/1.171, allocations: 9.443 MB / 0.735 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.172, allocations: 3.031 kB / 0.735 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.173, allocations: 259.8 kB / 0.7353 GB, free: 90.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007694/1.181, allocations: 2.594 MB / 0.7378 GB, free: 89.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/1.181, allocations: 42.83 kB / 0.7379 GB, free: 89.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02666/1.208, allocations: 12.07 MB / 0.7496 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.208, allocations: 0 / 0.7496 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.231, allocations: 8.369 MB / 0.7578 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.232, allocations: 372 kB / 0.7582 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.233, allocations: 38.97 kB / 0.7582 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.236, allocations: 260.4 kB / 0.7585 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/1.238, allocations: 284.3 kB / 0.7587 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.238, allocations: 45.48 kB / 0.7588 GB, free: 81.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003357/1.241, allocations: 1.447 MB / 0.7602 GB, free: 80.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.241, allocations: 0 / 0.7602 GB, free: 80.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005222/1.246, allocations: 1.051 MB / 0.7612 GB, free: 79.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1DU.gGOV1_Temp.s6.y,gGOV1DU.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1DU.gGOV1_Turb.s3.y,gGOV1DU.gGOV1_Turb.s5.state,gGOV1DU.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1DU.gGOV1_Accel.s8.x,gGOV1DU.gGOV1_Power.s2.y,gGOV1DU.gGOV1_Power.s7.y,gGOV1DU.gGOV1_Power.s0.state,gGOV1DU.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 118 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006187/1.247, allocations: 192.1 kB / 0.7614 GB, free: 79.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0172/1.264, allocations: 6.179 MB / 0.7674 GB, free: 73.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.264, allocations: 4 kB / 0.7674 GB, free: 73.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007283/1.272, allocations: 2.63 MB / 0.77 GB, free: 71.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.276, allocations: 269.9 kB / 0.7703 GB, free: 71.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.287, allocations: 5.322 MB / 0.7755 GB, free: 66.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.289, allocations: 1.534 MB / 0.777 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001814/1.291, allocations: 257.4 kB / 0.7772 GB, free: 64.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006788/1.292, allocations: 130.7 kB / 0.7773 GB, free: 64.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.292, allocations: 0 / 0.7773 GB, free: 64.87 MB / 490.7 MB Notification: Performance of Templates: time 0.0668/1.358, allocations: 38.73 MB / 0.8152 GB, free: 33.39 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.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_GGOV1DU -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=1 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GGOV1DU_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.GGOV1DU.o] Error 1