Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.HYGOV,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.007039/0.007039, 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.47/1.47, allocations: 223.2 MB / 239 MB, free: 1.785 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.001248/0.001248, allocations: 97.44 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5443/0.5443, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 12 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4941, allocations: 69.35 MB / 0.5558 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.655, allocations: 114.1 MB / 0.6672 GB, free: 8.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.6553, allocations: 93.97 kB / 0.6673 GB, free: 8.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.7875, allocations: 48.11 MB / 0.7143 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7876, allocations: 0 / 0.7143 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001053/0.7877, allocations: 39.94 kB / 0.7143 GB, free: 7.777 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.007776/0.7955, allocations: 2.743 MB / 0.717 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7955, allocations: 12.03 kB / 0.717 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003459/0.7959, allocations: 185.6 kB / 0.7172 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.799, allocations: 0.5868 MB / 0.7178 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.8018, allocations: 1.133 MB / 0.7189 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006328/0.8025, allocations: 0.4927 MB / 0.7193 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.8028, allocations: 131.9 kB / 0.7195 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/0.8067, allocations: 1.763 MB / 0.7212 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.8068, allocations: 4 kB / 0.7212 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.8069, allocations: 48 kB / 0.7212 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.8069, allocations: 32 kB / 0.7213 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.8106, allocations: 1.614 MB / 0.7228 GB, free: 14.76 MB / 0.5261 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.0108/0.8214, allocations: 5.905 MB / 0.7286 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009381/0.8308, allocations: 3.654 MB / 0.7322 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.8311, allocations: 21.3 kB / 0.7322 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002968/0.8341, allocations: 1.246 MB / 0.7334 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=142): time 5.58e-06/0.8341, allocations: 0 / 0.7334 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.04938/0.8835, allocations: 14.79 MB / 0.7479 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.8836, allocations: 201.2 kB / 0.748 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.8864, allocations: 1.312 MB / 0.7493 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.8869, allocations: 53.7 kB / 0.7494 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/0.8875, allocations: 0.7462 MB / 0.7501 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006979/0.8882, allocations: 0.5082 MB / 0.7506 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8884, allocations: 32 kB / 0.7506 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.8886, allocations: 365.9 kB / 0.751 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.8909, allocations: 0.9644 MB / 0.7519 GB, free: 400 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.8932, allocations: 1.197 MB / 0.7531 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8955, allocations: 1.062 MB / 0.7541 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8955, allocations: 0 / 0.7541 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007814/0.9033, allocations: 3.452 MB / 0.7575 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009178/0.9043, allocations: 1.854 MB / 0.7593 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9043, allocations: 8 kB / 0.7593 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009949/0.9142, allocations: 3.077 MB / 0.7623 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.9153, allocations: 203.7 kB / 0.7625 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.9237, allocations: 3.939 MB / 0.7664 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/0.9264, allocations: 219.9 kB / 0.7666 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.9266, allocations: 59.98 kB / 0.7666 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9266, allocations: 9.812 kB / 0.7666 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3497/1.276, allocations: 3.193 MB / 0.7698 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/1.276, allocations: 4.562 kB / 0.7698 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/1.288, allocations: 3.04 MB / 0.7727 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.289, allocations: 207 kB / 0.7729 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009963/1.299, allocations: 5.379 MB / 0.7782 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.301, allocations: 209 kB / 0.7784 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.301, allocations: 58.89 kB / 0.7784 GB, free: 131.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * 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: 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 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.001025/1.302, allocations: 401.3 kB / 0.7788 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/1.303, allocations: 188.7 kB / 0.779 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/1.32, allocations: 6.221 MB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.32, allocations: 24.8 kB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.32, allocations: 3 kB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/1.32, allocations: 7.219 kB / 0.7851 GB, free: 131.1 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.023/1.343, allocations: 8.582 MB / 0.7935 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/1.343, allocations: 0 / 0.7935 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.344, allocations: 175.2 kB / 0.7937 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009051/1.353, allocations: 2.647 MB / 0.7962 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004476/1.354, allocations: 37.11 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03287/1.387, allocations: 13.02 MB / 0.809 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.387, allocations: 4.5 kB / 0.809 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/1.411, allocations: 7.667 MB / 0.8165 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009277/1.412, allocations: 270.9 kB / 0.8167 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.412, allocations: 32.48 kB / 0.8168 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.414, allocations: 210.5 kB / 0.817 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/1.415, allocations: 300.7 kB / 0.8173 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.415, allocations: 44.16 kB / 0.8173 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001697/1.417, allocations: 1.013 MB / 0.8183 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/1.417, allocations: 4 kB / 0.8183 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002337/1.419, allocations: 0.7798 MB / 0.8191 GB, free: 123.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (97): * 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: 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 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02131/1.441, allocations: 8.499 MB / 0.8274 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.457, allocations: 5.611 MB / 0.8328 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.457, allocations: 0 / 0.8328 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006794/1.464, allocations: 2.458 MB / 0.8352 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/1.466, allocations: 148.2 kB / 0.8354 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.476, allocations: 7.801 MB / 0.843 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/1.477, allocations: 1.368 MB / 0.8443 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008236/1.478, allocations: 160 kB / 0.8445 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/1.479, allocations: 0.7051 MB / 0.8452 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.479, allocations: 0 / 0.8452 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07846/1.557, allocations: 48.6 MB / 0.8926 GB, free: 77.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.557, allocations: 184.8 kB / 0.8928 GB, free: 77.28 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_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_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_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_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_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o] Error 1