Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006843/0.006843, allocations: 170.6 kB / 15.11 MB, free: 5.969 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.641/1.641, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0009566/0.0009565, allocations: 86.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.071/0.071, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4535/0.4535, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005395, allocations: 25.5 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5555/0.7044, allocations: 113.2 MB / 0.7062 GB, free: 33.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.7047, allocations: 94.86 kB / 0.7063 GB, free: 33.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1195/0.8242, allocations: 46.74 MB / 0.7519 GB, free: 22.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8242, allocations: 0 / 0.7519 GB, free: 22.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.8244, allocations: 31.16 kB / 0.7519 GB, free: 22.88 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008465/0.8329, allocations: 2.7 MB / 0.7546 GB, free: 21.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8329, allocations: 11.77 kB / 0.7546 GB, free: 21.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006163/0.8336, allocations: 176.7 kB / 0.7548 GB, free: 21.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.8373, allocations: 0.5885 MB / 0.7553 GB, free: 21.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.8404, allocations: 1.148 MB / 0.7565 GB, free: 20.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.8409, allocations: 0.5712 MB / 0.757 GB, free: 19.92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.8414, allocations: 114.1 kB / 0.7571 GB, free: 19.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.8449, allocations: 1.663 MB / 0.7587 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.845, allocations: 0 / 0.7587 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.8451, allocations: 39.94 kB / 0.7588 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.8452, allocations: 31.33 kB / 0.7588 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.8485, allocations: 1.588 MB / 0.7604 GB, free: 19.2 MB / 474.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.01082/0.8593, allocations: 5.594 MB / 0.7658 GB, free: 16.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009007/0.8684, allocations: 3.676 MB / 0.7694 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.8686, allocations: 24.09 kB / 0.7694 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002513/0.8711, allocations: 1.226 MB / 0.7706 GB, free: 14.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 4.047e-06/0.8711, allocations: 0 / 0.7706 GB, free: 14.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.03827/0.9094, allocations: 11.38 MB / 0.7818 GB, free: 8.855 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.9095, allocations: 178.8 kB / 0.7819 GB, free: 8.648 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.9128, allocations: 1.348 MB / 0.7832 GB, free: 7.648 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.9132, allocations: 51.14 kB / 0.7833 GB, free: 7.609 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.9137, allocations: 0.71 MB / 0.784 GB, free: 7.258 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/0.9144, allocations: 494.9 kB / 0.7845 GB, free: 6.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.9145, allocations: 34.94 kB / 0.7845 GB, free: 6.836 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.9146, allocations: 363.5 kB / 0.7848 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.9164, allocations: 0.9348 MB / 0.7857 GB, free: 5.855 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.9182, allocations: 1.122 MB / 0.7868 GB, free: 4.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.92, allocations: 1.025 MB / 0.7878 GB, free: 4.332 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9201, allocations: 4 kB / 0.7878 GB, free: 4.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006311/0.9264, allocations: 3.171 MB / 0.7909 GB, free: 2.043 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/0.9267, allocations: 1.482 MB / 0.7924 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.9268, allocations: 4 kB / 0.7924 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009531/0.9363, allocations: 2.941 MB / 0.7953 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9376, allocations: 219.6 kB / 0.7955 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.9449, allocations: 3.205 MB / 0.7986 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.9475, allocations: 294.6 kB / 0.7989 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.9477, allocations: 59.92 kB / 0.7989 GB, free: 9.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.9477, allocations: 3.938 kB / 0.7989 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006362/0.9541, allocations: 2.96 MB / 0.8018 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9541, allocations: 4 kB / 0.8018 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009182/0.9633, allocations: 2.939 MB / 0.8047 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.9644, allocations: 211.7 kB / 0.8049 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/0.9713, allocations: 3.201 MB / 0.808 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.974, allocations: 282.6 kB / 0.8083 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.9741, allocations: 55.92 kB / 0.8084 GB, free: 264 kB / 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.001116/0.9752, allocations: 401.5 kB / 0.8087 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.9756, allocations: 181.8 kB / 0.8089 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/0.9927, allocations: 6.006 MB / 0.8148 GB, free: 9.66 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.9928, allocations: 16 kB / 0.8148 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9928, allocations: 0 / 0.8148 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.9928, allocations: 11.97 kB / 0.8148 GB, free: 9.633 MB / 0.4949 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.02136/1.014, allocations: 8.479 MB / 0.8231 GB, free: 1.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.014, allocations: 0 / 0.8231 GB, free: 1.047 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.015, allocations: 187.8 kB / 0.8233 GB, free: 0.8633 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007698/1.023, allocations: 2.501 MB / 0.8257 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003298/1.024, allocations: 39.88 kB / 0.8257 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/1.049, allocations: 10.89 MB / 0.8364 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.049, allocations: 0 / 0.8364 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.071, allocations: 7.36 MB / 0.8436 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000945/1.072, allocations: 298.6 kB / 0.8439 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/1.072, allocations: 28 kB / 0.8439 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.074, allocations: 207.8 kB / 0.8441 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008915/1.075, allocations: 277.2 kB / 0.8443 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.075, allocations: 35.98 kB / 0.8444 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001978/1.077, allocations: 1.06 MB / 0.8454 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.603e-06/1.077, allocations: 0 / 0.8454 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002378/1.079, allocations: 0.8267 MB / 0.8462 GB, free: 9.156 MB / 0.5261 GB 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.02092/1.1, allocations: 8.189 MB / 0.8542 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01606/1.116, allocations: 5.191 MB / 0.8593 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.116, allocations: 0 / 0.8593 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006634/1.123, allocations: 2.253 MB / 0.8615 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.124, allocations: 137.8 kB / 0.8616 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/1.134, allocations: 7.064 MB / 0.8685 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.135, allocations: 1.349 MB / 0.8698 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001065/1.136, allocations: 169.8 kB / 0.87 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.138, allocations: 0.6985 MB / 0.8707 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.733e-06/1.138, allocations: 0 / 0.8707 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08143/1.219, allocations: 46.17 MB / 0.9158 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.219, allocations: 206.5 kB / 0.916 GB, free: 1.633 MB / 0.5886 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o] Error 1