Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01281/0.01281, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 102.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6065/0.6065, allocations: 79.44 MB / 420.7 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005787/0.0005787, allocations: 15.98 kB / 0.4891 GB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5079, allocations: 69.49 MB / 0.557 GB, free: 38.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.685, allocations: 110.4 MB / 0.6648 GB, free: 11.17 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.6854, allocations: 95.94 kB / 0.6649 GB, free: 11.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.8004, allocations: 38.87 MB / 0.7028 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.975e-06/0.8004, allocations: 0 / 0.7028 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001819/0.8006, allocations: 32 kB / 0.7029 GB, free: 3.965 MB / 0.4948 GB 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.01031/0.8109, allocations: 2.443 MB / 0.7052 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.361e-05/0.811, allocations: 12.03 kB / 0.7053 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009149/0.812, allocations: 147.6 kB / 0.7054 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.8169, allocations: 0.7198 MB / 0.7061 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/0.8204, allocations: 1.043 MB / 0.7071 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/0.821, allocations: 424.7 kB / 0.7075 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.8216, allocations: 99.91 kB / 0.7076 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/0.8258, allocations: 1.423 MB / 0.709 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.8258, allocations: 0 / 0.709 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.8261, allocations: 39.98 kB / 0.709 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.8261, allocations: 24 kB / 0.7091 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.8297, allocations: 1.382 MB / 0.7104 GB, free: 12.02 MB / 0.5105 GB 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.01211/0.8418, allocations: 4.767 MB / 0.7151 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/0.8513, allocations: 3.447 MB / 0.7184 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.8515, allocations: 16.98 kB / 0.7185 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002909/0.8544, allocations: 1.12 MB / 0.7196 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=124): time 6.713e-06/0.8545, allocations: 3.938 kB / 0.7196 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.05231/0.9068, allocations: 12.17 MB / 0.7314 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.9069, allocations: 115.8 kB / 0.7316 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.9103, allocations: 1.206 MB / 0.7327 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/0.9107, allocations: 49.77 kB / 0.7328 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/0.9114, allocations: 0.6043 MB / 0.7334 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008275/0.9123, allocations: 441.6 kB / 0.7338 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.9125, allocations: 24 kB / 0.7338 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.9127, allocations: 357.9 kB / 0.7342 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.9149, allocations: 0.8225 MB / 0.735 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.9171, allocations: 0.9871 MB / 0.7359 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.9193, allocations: 0.8732 MB / 0.7368 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.9194, allocations: 4 kB / 0.7368 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007498/0.9269, allocations: 2.809 MB / 0.7395 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.9269, allocations: 4.625 kB / 0.7395 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.9269, allocations: 4.312 kB / 0.7395 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.9376, allocations: 3.05 MB / 0.7425 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.9387, allocations: 179.8 kB / 0.7427 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.9463, allocations: 2.999 MB / 0.7456 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.949, allocations: 250.8 kB / 0.7458 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.9493, allocations: 43.98 kB / 0.7459 GB, free: 7.125 MB / 0.5417 GB 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.001119/0.9505, allocations: 277.6 kB / 0.7462 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008414/0.9513, allocations: 162 kB / 0.7463 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/0.9714, allocations: 5.88 MB / 0.7521 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.9715, allocations: 15.98 kB / 0.7521 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.9715, allocations: 0 / 0.7521 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/0.9716, allocations: 7.984 kB / 0.7521 GB, free: 0.7617 MB / 0.5417 GB 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.02279/0.9944, allocations: 7.899 MB / 0.7598 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.9944, allocations: 3.953 kB / 0.7598 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.9957, allocations: 139.8 kB / 0.7599 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008258/1.004, allocations: 2.501 MB / 0.7624 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003141/1.004, allocations: 28 kB / 0.7624 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4207/1.425, allocations: 10.88 MB / 0.773 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.425, allocations: 2.125 kB / 0.773 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/1.445, allocations: 7.043 MB / 0.7799 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/1.446, allocations: 280.2 kB / 0.7802 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/1.447, allocations: 23.34 kB / 0.7802 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.448, allocations: 187 kB / 0.7804 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008388/1.449, allocations: 259 kB / 0.7806 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.449, allocations: 33.56 kB / 0.7807 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001455/1.451, allocations: 0.947 MB / 0.7816 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.451, allocations: 3 kB / 0.7816 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001421/1.452, allocations: 491.5 kB / 0.782 GB, free: 137.5 MB / 0.5573 GB 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.01966/1.472, allocations: 7.796 MB / 0.7897 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008518/1.48, allocations: 2.803 MB / 0.7924 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.481, allocations: 0 / 0.7924 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00737/1.488, allocations: 2.159 MB / 0.7945 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.49, allocations: 123.5 kB / 0.7946 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/1.498, allocations: 6.314 MB / 0.8008 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.5, allocations: 1.238 MB / 0.802 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009409/1.501, allocations: 118.2 kB / 0.8021 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.502, allocations: 0.5732 MB / 0.8027 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.432e-06/1.502, allocations: 0 / 0.8027 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09232/1.594, allocations: 36.51 MB / 0.8383 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.594, allocations: 190.8 kB / 0.8385 GB, free: 128.8 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_functions.h:153: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); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.o] Error 1