Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.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.ES.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",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.006045/0.006045, allocations: 171.8 kB / 15.11 MB, free: 5.578 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.531/1.531, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009694/0.0009694, allocations: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06218/0.06218, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4451/0.4451, allocations: 78.52 MB / 459.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005396, allocations: 29.22 kB / 0.528 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 69.23 MB / 0.5956 GB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5642/0.7247, allocations: 112.5 MB / 0.7055 GB, free: 39.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.725, allocations: 89.77 kB / 0.7056 GB, free: 39.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/0.8419, allocations: 44.61 MB / 0.7492 GB, free: 28.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.8419, allocations: 0 / 0.7492 GB, free: 28.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002393/0.8422, allocations: 31.44 kB / 0.7492 GB, free: 28.09 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.009818/0.852, allocations: 2.653 MB / 0.7518 GB, free: 26.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.8521, allocations: 11.77 kB / 0.7518 GB, free: 26.55 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007968/0.8529, allocations: 180.3 kB / 0.752 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.8565, allocations: 0.5841 MB / 0.7525 GB, free: 26.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.8596, allocations: 1.122 MB / 0.7536 GB, free: 25.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/0.86, allocations: 442.5 kB / 0.7541 GB, free: 25.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004389/0.8605, allocations: 115.2 kB / 0.7542 GB, free: 25.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.8636, allocations: 1.726 MB / 0.7559 GB, free: 24.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.8636, allocations: 0 / 0.7559 GB, free: 24.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.8638, allocations: 48.19 kB / 0.7559 GB, free: 24.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.8638, allocations: 31.44 kB / 0.7559 GB, free: 24.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.8667, allocations: 1.605 MB / 0.7575 GB, free: 24.49 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.009074/0.8758, allocations: 5.717 MB / 0.7631 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008002/0.8838, allocations: 3.582 MB / 0.7666 GB, free: 20.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.884, allocations: 29.28 kB / 0.7666 GB, free: 20.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.8864, allocations: 1.232 MB / 0.7678 GB, free: 19.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 4.318e-06/0.8864, allocations: 0 / 0.7678 GB, free: 19.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.03934/0.9257, allocations: 11.77 MB / 0.7793 GB, free: 14.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.9259, allocations: 197.2 kB / 0.7795 GB, free: 14.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.9282, allocations: 1.248 MB / 0.7807 GB, free: 13.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.9286, allocations: 50.58 kB / 0.7808 GB, free: 13.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.9291, allocations: 0.7119 MB / 0.7815 GB, free: 12.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/0.9297, allocations: 0.491 MB / 0.7819 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.9298, allocations: 25.88 kB / 0.782 GB, free: 12.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.9299, allocations: 358.7 kB / 0.7823 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.9318, allocations: 0.9262 MB / 0.7832 GB, free: 11.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.9336, allocations: 1.15 MB / 0.7843 GB, free: 10.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.9354, allocations: 0.9848 MB / 0.7853 GB, free: 9.867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.9355, allocations: 7.938 kB / 0.7853 GB, free: 9.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.006608/0.9421, allocations: 3.28 MB / 0.7885 GB, free: 7.504 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004278/0.9426, allocations: 1.713 MB / 0.7902 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.9426, allocations: 4.109 kB / 0.7902 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.9536, allocations: 3.828 MB / 0.7939 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.9545, allocations: 157.7 kB / 0.7941 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.963, allocations: 3.896 MB / 0.7979 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.9657, allocations: 274.7 kB / 0.7981 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.9659, allocations: 51.98 kB / 0.7982 GB, free: 14.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9659, allocations: 5.875 kB / 0.7982 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006429/0.9723, allocations: 2.947 MB / 0.8011 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9724, allocations: 4 kB / 0.8011 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/0.9838, allocations: 3.696 MB / 0.8047 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.9847, allocations: 155.7 kB / 0.8048 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008196/0.9929, allocations: 3.607 MB / 0.8084 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.9955, allocations: 258.6 kB / 0.8086 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.9957, allocations: 51.98 kB / 0.8086 GB, free: 3.758 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,uRST5T.LL2.integrator.local_reset,uRST5T.LL1.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {36 62} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.9967, allocations: 373.2 kB / 0.809 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/0.9972, allocations: 181.8 kB / 0.8092 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/1.015, allocations: 6.012 MB / 0.815 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.015, allocations: 20 kB / 0.8151 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.015, allocations: 0 / 0.8151 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/1.015, allocations: 7.969 kB / 0.8151 GB, free: 13.14 MB / 0.4948 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.02208/1.037, allocations: 8.291 MB / 0.8232 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.037, allocations: 4 kB / 0.8232 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.038, allocations: 191.8 kB / 0.8234 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00778/1.046, allocations: 2.505 MB / 0.8258 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000331/1.046, allocations: 31.98 kB / 0.8258 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02623/1.073, allocations: 10.9 MB / 0.8365 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.073, allocations: 0 / 0.8365 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/1.093, allocations: 7.352 MB / 0.8437 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.094, allocations: 290.5 kB / 0.8439 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/1.095, allocations: 28 kB / 0.844 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/1.097, allocations: 191.8 kB / 0.8441 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008982/1.097, allocations: 269.2 kB / 0.8444 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.098, allocations: 36 kB / 0.8444 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001723/1.099, allocations: 0.9733 MB / 0.8454 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/1.099, allocations: 0 / 0.8454 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002479/1.102, allocations: 0.8306 MB / 0.8462 GB, free: 12.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,uRST5T.LL1.integrator.y,uRST5T.LL2.integrator.y,uRST5T.simpleLagLimVar.state,uRST5T.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * 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.0216/1.123, allocations: 8.11 MB / 0.8541 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.14, allocations: 5.296 MB / 0.8593 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.14, allocations: 4 kB / 0.8593 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006827/1.147, allocations: 2.252 MB / 0.8615 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.149, allocations: 149.5 kB / 0.8616 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/1.158, allocations: 7.444 MB / 0.8689 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009783/1.159, allocations: 1.322 MB / 0.8702 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008207/1.16, allocations: 141.7 kB / 0.8703 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/1.161, allocations: 0.6672 MB / 0.871 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of SimCode: time 8.11e-07/1.161, allocations: 4 kB / 0.871 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.262, allocations: 47.75 MB / 0.9176 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.263, allocations: 191 kB / 0.9178 GB, free: 3.434 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_ES_URST5T.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_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_ES_URST5T.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_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_ES_URST5T.o] Error 1