Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.006816/0.006816, 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 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.000966/0.0009659, allocations: 90.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07478/0.07478, allocations: 12.21 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.4459/0.4459, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007347/0.0007351, allocations: 22.78 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1499, allocations: 69.24 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.546/0.696, allocations: 115.7 MB / 0.7086 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.6964, allocations: 91.61 kB / 0.7087 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1167/0.8131, allocations: 47.04 MB / 0.7546 GB, free: 22.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8132, allocations: 4 kB / 0.7546 GB, free: 22.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.8133, allocations: 42.03 kB / 0.7547 GB, free: 22.1 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00768/0.821, allocations: 2.736 MB / 0.7573 GB, free: 20.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.8211, allocations: 15.55 kB / 0.7573 GB, free: 20.52 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005387/0.8216, allocations: 183.7 kB / 0.7575 GB, free: 20.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.8247, allocations: 0.6004 MB / 0.7581 GB, free: 20.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.8271, allocations: 1.121 MB / 0.7592 GB, free: 19.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.8275, allocations: 0.5004 MB / 0.7597 GB, free: 19.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.8278, allocations: 133.5 kB / 0.7598 GB, free: 19.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.8312, allocations: 1.76 MB / 0.7615 GB, free: 18.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.8312, allocations: 0 / 0.7615 GB, free: 18.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.8314, allocations: 49.03 kB / 0.7616 GB, free: 18.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.8314, allocations: 31.11 kB / 0.7616 GB, free: 18.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.8346, allocations: 1.629 MB / 0.7632 GB, free: 18.41 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.01037/0.845, allocations: 5.903 MB / 0.769 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.8536, allocations: 3.651 MB / 0.7725 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.8539, allocations: 32.25 kB / 0.7726 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/0.8568, allocations: 1.239 MB / 0.7738 GB, free: 13.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 5.571e-06/0.8568, allocations: 4 kB / 0.7738 GB, free: 13.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.04689/0.9037, allocations: 14.78 MB / 0.7882 GB, free: 3.438 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.9039, allocations: 197.2 kB / 0.7884 GB, free: 3.203 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.9068, allocations: 1.316 MB / 0.7897 GB, free: 2.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/0.9073, allocations: 55.45 kB / 0.7897 GB, free: 2.191 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/0.9079, allocations: 0.7431 MB / 0.7905 GB, free: 1.809 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/0.9087, allocations: 0.5072 MB / 0.791 GB, free: 1.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.9089, allocations: 37.31 kB / 0.791 GB, free: 1.363 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9091, allocations: 366 kB / 0.7913 GB, free: 1.027 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.9111, allocations: 0.9638 MB / 0.7923 GB, free: 368 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.9136, allocations: 1.193 MB / 0.7935 GB, free: 15.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.916, allocations: 1.065 MB / 0.7945 GB, free: 14.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.9161, allocations: 8 kB / 0.7945 GB, free: 14.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008223/0.9243, allocations: 3.452 MB / 0.7979 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008466/0.9252, allocations: 1.856 MB / 0.7997 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.9252, allocations: 4 kB / 0.7997 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009903/0.9351, allocations: 3.08 MB / 0.8027 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.9362, allocations: 203.7 kB / 0.8029 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.9444, allocations: 3.937 MB / 0.8067 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.9471, allocations: 219.8 kB / 0.8069 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/0.9474, allocations: 55.98 kB / 0.807 GB, free: 2.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.9474, allocations: 4 kB / 0.807 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007521/0.9549, allocations: 3.204 MB / 0.8101 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.955, allocations: 4 kB / 0.8101 GB, free: 14.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009534/0.9645, allocations: 3.045 MB / 0.8131 GB, free: 11.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9656, allocations: 199.7 kB / 0.8133 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.9766, allocations: 5.38 MB / 0.8186 GB, free: 6.066 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.9793, allocations: 211.8 kB / 0.8188 GB, free: 5.859 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.9797, allocations: 63.98 kB / 0.8188 GB, free: 5.797 MB / 0.4949 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.001429/0.9811, allocations: 396.9 kB / 0.8192 GB, free: 5.398 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.9819, allocations: 185.7 kB / 0.8194 GB, free: 5.215 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01899/1.001, allocations: 6.237 MB / 0.8255 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.001, allocations: 16 kB / 0.8255 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.001, allocations: 4 kB / 0.8255 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/1.001, allocations: 3.984 kB / 0.8255 GB, free: 14.93 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 postOpt removeSimpleEquations (simulation): time 0.02413/1.025, allocations: 8.579 MB / 0.8339 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.025, allocations: 8.062 kB / 0.8339 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.026, allocations: 171.8 kB / 0.834 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008076/1.034, allocations: 2.64 MB / 0.8366 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/1.035, allocations: 39.98 kB / 0.8367 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/1.065, allocations: 13.02 MB / 0.8494 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.065, allocations: 15.86 kB / 0.8494 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/1.087, allocations: 7.668 MB / 0.8569 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/1.088, allocations: 270.6 kB / 0.8571 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006586/1.089, allocations: 28 kB / 0.8572 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.091, allocations: 207.8 kB / 0.8574 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/1.092, allocations: 305.2 kB / 0.8576 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.092, allocations: 43.98 kB / 0.8577 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00238/1.095, allocations: 1.015 MB / 0.8587 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/1.095, allocations: 0 / 0.8587 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003478/1.098, allocations: 0.7774 MB / 0.8594 GB, free: 11.71 MB / 0.5417 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.02179/1.12, allocations: 8.495 MB / 0.8677 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01782/1.138, allocations: 5.616 MB / 0.8732 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.138, allocations: 0 / 0.8732 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007504/1.146, allocations: 2.455 MB / 0.8756 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.148, allocations: 146.5 kB / 0.8758 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.161, allocations: 7.807 MB / 0.8834 GB, free: 2.93 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.163, allocations: 1.371 MB / 0.8847 GB, free: 1.527 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0009564/1.163, allocations: 158.1 kB / 0.8849 GB, free: 1.371 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.165, allocations: 0.714 MB / 0.8856 GB, free: 0.6562 MB / 0.5574 GB Notification: Performance of SimCode: time 9.92e-07/1.165, allocations: 0 / 0.8856 GB, free: 0.6562 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3659/1.531, allocations: 48.62 MB / 0.933 GB, free: 181.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/1.531, allocations: 200.9 kB / 0.9332 GB, free: 180.9 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_HYGOV.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o] Error 1