Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.HYGOV,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_dev_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.008953/0.008953, allocations: 170 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.488/1.488, 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.0009339/0.0009338, allocations: 95.33 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.5428/0.5428, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005699, allocations: 16 kB / 0.4891 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4975, allocations: 69.5 MB / 0.557 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.664, allocations: 114.8 MB / 0.6691 GB, free: 6.766 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.6644, allocations: 91.95 kB / 0.6692 GB, free: 6.676 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1348/0.7993, allocations: 45.67 MB / 0.7138 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.657e-06/0.7993, allocations: 3.938 kB / 0.7138 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002799/0.7996, allocations: 32 kB / 0.7138 GB, free: 8.742 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.01077/0.8104, allocations: 2.754 MB / 0.7165 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/0.8105, allocations: 15.97 kB / 0.7165 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009873/0.8115, allocations: 193.6 kB / 0.7167 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/0.8167, allocations: 0.7975 MB / 0.7175 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.8215, allocations: 1.196 MB / 0.7186 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008177/0.8223, allocations: 0.4966 MB / 0.7191 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008546/0.8232, allocations: 139.9 kB / 0.7193 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/0.8287, allocations: 1.759 MB / 0.721 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.8288, allocations: 4 kB / 0.721 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.829, allocations: 44 kB / 0.721 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.8291, allocations: 32 kB / 0.7211 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.8339, allocations: 1.621 MB / 0.7226 GB, free: 15.41 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.01596/0.8499, allocations: 6.014 MB / 0.7285 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.8605, allocations: 3.65 MB / 0.7321 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.861, allocations: 33.22 kB / 0.7321 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003649/0.8647, allocations: 1.245 MB / 0.7333 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=142): time 9.318e-06/0.8647, allocations: 0 / 0.7333 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.0561/0.9208, allocations: 14.78 MB / 0.7478 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.921, allocations: 197.2 kB / 0.7479 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.9252, allocations: 1.398 MB / 0.7493 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005525/0.9258, allocations: 49.7 kB / 0.7494 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009233/0.9267, allocations: 0.7383 MB / 0.7501 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.9279, allocations: 0.5086 MB / 0.7506 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.9283, allocations: 32 kB / 0.7506 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.9286, allocations: 365.9 kB / 0.751 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.9312, allocations: 0.9644 MB / 0.7519 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.934, allocations: 1.205 MB / 0.7531 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.9367, allocations: 1.061 MB / 0.7541 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.9368, allocations: 4 kB / 0.7541 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.009414/0.9462, allocations: 3.456 MB / 0.7575 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.9472, allocations: 1.851 MB / 0.7593 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.9473, allocations: 4 kB / 0.7593 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.9579, allocations: 3.081 MB / 0.7623 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.9591, allocations: 203.7 kB / 0.7625 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00907/0.9682, allocations: 3.946 MB / 0.7664 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.9713, allocations: 211.9 kB / 0.7666 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/0.9717, allocations: 63.97 kB / 0.7666 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9717, allocations: 1.562 kB / 0.7666 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3952/1.367, allocations: 3.202 MB / 0.7697 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/1.367, allocations: 4.375 kB / 0.7698 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/1.378, allocations: 3.046 MB / 0.7727 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.379, allocations: 200.3 kB / 0.7729 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.39, allocations: 5.379 MB / 0.7782 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/1.393, allocations: 207.9 kB / 0.7784 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.393, allocations: 61.59 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.000998/1.394, allocations: 397.8 kB / 0.7788 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/1.394, allocations: 188.5 kB / 0.779 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.412, allocations: 6.228 MB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/1.412, allocations: 18.02 kB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.412, allocations: 3.031 kB / 0.7851 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-05/1.412, allocations: 10.61 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.02164/1.434, allocations: 8.637 MB / 0.7935 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.434, allocations: 0 / 0.7935 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.435, allocations: 168.5 kB / 0.7937 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/1.446, allocations: 2.648 MB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004837/1.447, allocations: 38.28 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03505/1.482, allocations: 13.03 MB / 0.809 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.482, allocations: 2.75 kB / 0.809 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/1.509, allocations: 7.664 MB / 0.8165 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.51, allocations: 283.3 kB / 0.8168 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.512, allocations: 34.19 kB / 0.8168 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.515, allocations: 208.8 kB / 0.817 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001802/1.517, allocations: 309 kB / 0.8173 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003694/1.517, allocations: 39.94 kB / 0.8174 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003154/1.52, allocations: 1.083 MB / 0.8184 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/1.52, allocations: 0 / 0.8184 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004197/1.524, allocations: 0.784 MB / 0.8192 GB, free: 123.1 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.02405/1.548, allocations: 8.497 MB / 0.8275 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01743/1.566, allocations: 5.619 MB / 0.833 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.566, allocations: 3.719 kB / 0.833 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007307/1.573, allocations: 2.449 MB / 0.8354 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.575, allocations: 152.4 kB / 0.8355 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.587, allocations: 7.864 MB / 0.8432 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/1.588, allocations: 1.369 MB / 0.8445 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009442/1.589, allocations: 158.9 kB / 0.8447 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/1.589, allocations: 0.7103 MB / 0.8454 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.633e-06/1.589, allocations: 0 / 0.8454 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0872/1.677, allocations: 49.32 MB / 0.8935 GB, free: 76.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.677, allocations: 195.8 kB / 0.8937 GB, free: 76.13 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_HYGOV.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o] Error 1