Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.IEESGO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.01253/0.01253, allocations: 171 kB / 15.11 MB, free: 6.039 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.526/1.526, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.75 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5497/0.5497, allocations: 79.44 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 12 kB / 0.4891 GB, free: 6.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 69.51 MB / 0.557 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5454/0.7174, allocations: 112.3 MB / 0.6667 GB, free: 4.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.7178, allocations: 89.39 kB / 0.6668 GB, free: 4.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.8536, allocations: 45.34 MB / 0.7111 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8537, allocations: 0 / 0.7111 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002418/0.8539, allocations: 28 kB / 0.7111 GB, free: 7.367 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01016/0.8641, allocations: 2.715 MB / 0.7137 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.8641, allocations: 8.031 kB / 0.7138 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007833/0.8649, allocations: 181 kB / 0.7139 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.8701, allocations: 0.7936 MB / 0.7147 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.8745, allocations: 1.216 MB / 0.7159 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008502/0.8754, allocations: 0.5717 MB / 0.7165 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006398/0.8761, allocations: 119.9 kB / 0.7166 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.8815, allocations: 1.658 MB / 0.7182 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.8816, allocations: 0 / 0.7182 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.8819, allocations: 51.98 kB / 0.7182 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.8819, allocations: 28 kB / 0.7183 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.8864, allocations: 1.586 MB / 0.7198 GB, free: 14.16 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.01462/0.901, allocations: 5.699 MB / 0.7254 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.9111, allocations: 3.654 MB / 0.7289 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.9113, allocations: 29.23 kB / 0.729 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003051/0.9144, allocations: 1.225 MB / 0.7302 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 8.486e-06/0.9144, allocations: 0 / 0.7302 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.04254/0.957, allocations: 11.39 MB / 0.7413 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.9572, allocations: 170.7 kB / 0.7415 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.9617, allocations: 1.424 MB / 0.7428 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004758/0.9622, allocations: 49.7 kB / 0.7429 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/0.9631, allocations: 0.711 MB / 0.7436 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009843/0.9641, allocations: 496.8 kB / 0.7441 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.9644, allocations: 32 kB / 0.7441 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.9646, allocations: 357.9 kB / 0.7444 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.9671, allocations: 0.937 MB / 0.7453 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.9697, allocations: 1.125 MB / 0.7464 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.9723, allocations: 1.027 MB / 0.7474 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.9723, allocations: 0 / 0.7474 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008418/0.9807, allocations: 3.182 MB / 0.7506 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009025/0.9817, allocations: 1.474 MB / 0.752 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.9817, allocations: 7.984 kB / 0.752 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009928/0.9917, allocations: 2.936 MB / 0.7549 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.993, allocations: 215.7 kB / 0.7551 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/1.002, allocations: 3.212 MB / 0.7582 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/1.005, allocations: 302.5 kB / 0.7585 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/1.005, allocations: 58.48 kB / 0.7586 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.005, allocations: 4 kB / 0.7586 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007617/1.013, allocations: 2.964 MB / 0.7615 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.013, allocations: 4 kB / 0.7615 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009813/1.023, allocations: 2.947 MB / 0.7643 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.024, allocations: 211.7 kB / 0.7645 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/1.032, allocations: 3.196 MB / 0.7677 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.035, allocations: 282.6 kB / 0.7679 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/1.035, allocations: 51.98 kB / 0.768 GB, free: 12.07 MB / 0.5573 GB 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.001351/1.037, allocations: 404.8 kB / 0.7684 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008397/1.038, allocations: 181.8 kB / 0.7685 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/1.056, allocations: 5.998 MB / 0.7744 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.056, allocations: 23.95 kB / 0.7744 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.056, allocations: 0 / 0.7744 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/1.057, allocations: 3.984 kB / 0.7744 GB, free: 5.438 MB / 0.5573 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.0265/1.083, allocations: 8.538 MB / 0.7828 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/1.083, allocations: 5.281 kB / 0.7828 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.085, allocations: 179.8 kB / 0.7829 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008203/1.093, allocations: 2.505 MB / 0.7854 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000464/1.093, allocations: 31.98 kB / 0.7854 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.424/1.517, allocations: 10.89 MB / 0.796 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/1.517, allocations: 2 kB / 0.796 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.539, allocations: 7.357 MB / 0.8032 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/1.54, allocations: 311 kB / 0.8035 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.541, allocations: 31.08 kB / 0.8036 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.543, allocations: 207.8 kB / 0.8038 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/1.543, allocations: 274.5 kB / 0.804 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.544, allocations: 42.22 kB / 0.8041 GB, free: 140.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00227/1.546, allocations: 1.116 MB / 0.8051 GB, free: 140.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.546, allocations: 3.531 kB / 0.8052 GB, free: 140.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002629/1.549, allocations: 0.8316 MB / 0.806 GB, free: 140.5 MB / 0.573 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.02303/1.572, allocations: 8.2 MB / 0.814 GB, free: 139.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01722/1.589, allocations: 5.184 MB / 0.819 GB, free: 139.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.589, allocations: 4.156 kB / 0.819 GB, free: 139.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007337/1.596, allocations: 2.256 MB / 0.8212 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.598, allocations: 140.2 kB / 0.8214 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009952/1.608, allocations: 7.135 MB / 0.8283 GB, free: 134 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/1.609, allocations: 1.349 MB / 0.8297 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001089/1.61, allocations: 168.8 kB / 0.8298 GB, free: 133.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009738/1.611, allocations: 0.6829 MB / 0.8305 GB, free: 133.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.272e-06/1.611, allocations: 0 / 0.8305 GB, free: 133.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.725, allocations: 46.81 MB / 0.8762 GB, free: 130.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.726, allocations: 193.5 kB / 0.8764 GB, free: 130 MB / 0.573 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_IEESGO.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o] Error 1