Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_release_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.005462/0.005462, allocations: 170.8 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.432/1.432, allocations: 223.2 MB / 239 MB, free: 1.805 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.001164/0.001165, allocations: 100.6 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.5591/0.5591, allocations: 78.58 MB / 419.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 12 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4372, allocations: 69.34 MB / 0.5559 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5918, allocations: 111.7 MB / 0.6649 GB, free: 10.81 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5921, allocations: 95.94 kB / 0.665 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1292/0.7213, allocations: 47.82 MB / 0.7117 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7214, allocations: 0 / 0.7117 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001023/0.7215, allocations: 28 kB / 0.7117 GB, free: 10.62 MB / 0.5105 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.007251/0.7288, allocations: 2.691 MB / 0.7144 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7288, allocations: 8.031 kB / 0.7144 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/0.7291, allocations: 181 kB / 0.7145 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.7321, allocations: 0.5829 MB / 0.7151 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.7346, allocations: 1.145 MB / 0.7162 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/0.7352, allocations: 0.5755 MB / 0.7168 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.7354, allocations: 123.9 kB / 0.7169 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.7387, allocations: 1.65 MB / 0.7185 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.7388, allocations: 0 / 0.7185 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.7389, allocations: 48 kB / 0.7186 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.7389, allocations: 24 kB / 0.7186 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.7423, allocations: 1.594 MB / 0.7201 GB, free: 1.723 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.01012/0.7525, allocations: 5.583 MB / 0.7256 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009289/0.7618, allocations: 3.67 MB / 0.7292 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.762, allocations: 25.3 kB / 0.7292 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/0.7646, allocations: 1.228 MB / 0.7304 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 3.196e-06/0.7646, allocations: 0 / 0.7304 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04021/0.8048, allocations: 11.38 MB / 0.7415 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/0.805, allocations: 171.6 kB / 0.7417 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/0.8076, allocations: 1.346 MB / 0.743 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.808, allocations: 49.7 kB / 0.743 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.8086, allocations: 0.7111 MB / 0.7437 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/0.8093, allocations: 0.489 MB / 0.7442 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8094, allocations: 32 kB / 0.7442 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8095, allocations: 357.9 kB / 0.7446 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.8116, allocations: 0.9331 MB / 0.7455 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.8138, allocations: 1.125 MB / 0.7466 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.8159, allocations: 1.023 MB / 0.7476 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8159, allocations: 4 kB / 0.7476 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006835/0.8228, allocations: 3.171 MB / 0.7507 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005554/0.8234, allocations: 1.488 MB / 0.7522 GB, free: 256 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8234, allocations: 4 kB / 0.7522 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009445/0.8328, allocations: 2.939 MB / 0.755 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.834, allocations: 215.7 kB / 0.7552 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/0.8412, allocations: 3.212 MB / 0.7584 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.8438, allocations: 294.5 kB / 0.7586 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.8439, allocations: 55.98 kB / 0.7587 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.8439, allocations: 4 kB / 0.7587 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00653/0.8505, allocations: 2.968 MB / 0.7616 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8505, allocations: 4 kB / 0.7616 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009462/0.86, allocations: 2.939 MB / 0.7645 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.8611, allocations: 211.7 kB / 0.7647 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.868, allocations: 3.19 MB / 0.7678 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3257/1.194, allocations: 279.3 kB / 0.7681 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/1.194, allocations: 55.09 kB / 0.7681 GB, free: 135.3 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.00109/1.195, allocations: 397.9 kB / 0.7685 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/1.196, allocations: 182.8 kB / 0.7687 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.215, allocations: 6.007 MB / 0.7745 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/1.215, allocations: 15.12 kB / 0.7745 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.215, allocations: 0 / 0.7745 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-05/1.215, allocations: 9.297 kB / 0.7746 GB, free: 135 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.0207/1.236, allocations: 8.484 MB / 0.7828 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.236, allocations: 0 / 0.7828 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.237, allocations: 191.2 kB / 0.783 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/1.245, allocations: 2.502 MB / 0.7855 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/1.245, allocations: 34.31 kB / 0.7855 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/1.273, allocations: 10.89 MB / 0.7961 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.273, allocations: 2 kB / 0.7961 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/1.295, allocations: 7.354 MB / 0.8033 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/1.295, allocations: 299.6 kB / 0.8036 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/1.296, allocations: 29.34 kB / 0.8036 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.298, allocations: 204.7 kB / 0.8038 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009235/1.299, allocations: 268.4 kB / 0.8041 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.299, allocations: 44.8 kB / 0.8041 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002144/1.301, allocations: 1.057 MB / 0.8052 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.301, allocations: 0 / 0.8052 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002768/1.304, allocations: 0.8263 MB / 0.806 GB, free: 131.1 MB / 0.5573 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.02284/1.327, allocations: 8.198 MB / 0.814 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.342, allocations: 5.187 MB / 0.819 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.342, allocations: 3.594 kB / 0.819 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00657/1.349, allocations: 2.247 MB / 0.8212 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.35, allocations: 149 kB / 0.8214 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/1.358, allocations: 7.063 MB / 0.8283 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/1.359, allocations: 1.349 MB / 0.8296 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007303/1.359, allocations: 159.8 kB / 0.8297 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/1.36, allocations: 0.6886 MB / 0.8304 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/1.36, allocations: 0 / 0.8304 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06706/1.427, allocations: 46.15 MB / 0.8755 GB, free: 96.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/1.427, allocations: 199 kB / 0.8757 GB, free: 96.21 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_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c In file included from OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_model.h:24: ./OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o] Error 1