Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.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.ES.URST5T,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.009241/0.009241, allocations: 172 kB / 15.11 MB, free: 5.98 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.571/1.571, allocations: 223.2 MB / 239 MB, free: 1.82 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.000984/0.0009841, allocations: 83.47 kB / 290.2 MB, free: 13.95 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.45 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 19.98 kB / 0.4891 GB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5456, allocations: 69.5 MB / 0.557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.7467, allocations: 111.7 MB / 0.6661 GB, free: 9.906 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.747, allocations: 99.92 kB / 0.6661 GB, free: 9.809 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.129/0.8761, allocations: 44.07 MB / 0.7092 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8761, allocations: 0 / 0.7092 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.86e-05/0.8762, allocations: 28 kB / 0.7092 GB, free: 13.49 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.007589/0.8838, allocations: 2.658 MB / 0.7118 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.8839, allocations: 12.03 kB / 0.7118 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003645/0.8842, allocations: 181.2 kB / 0.712 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.8882, allocations: 0.7039 MB / 0.7127 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.8905, allocations: 1.133 MB / 0.7138 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005122/0.891, allocations: 445 kB / 0.7142 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.8912, allocations: 120 kB / 0.7143 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.8948, allocations: 1.72 MB / 0.716 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.8948, allocations: 7.938 kB / 0.716 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.895, allocations: 44 kB / 0.7161 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.895, allocations: 28 kB / 0.7161 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.8985, allocations: 1.609 MB / 0.7177 GB, free: 4.578 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.01131/0.9099, allocations: 5.765 MB / 0.7233 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/0.9194, allocations: 3.58 MB / 0.7268 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.9197, allocations: 33.27 kB / 0.7268 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002887/0.9226, allocations: 1.236 MB / 0.728 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 4.188e-06/0.9226, allocations: 7.938 kB / 0.728 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04428/0.9669, allocations: 11.77 MB / 0.7395 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.9671, allocations: 197.2 kB / 0.7397 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.9697, allocations: 1.292 MB / 0.741 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004307/0.9702, allocations: 45.7 kB / 0.741 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.9708, allocations: 0.7066 MB / 0.7417 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/0.9715, allocations: 496.8 kB / 0.7422 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.9716, allocations: 28 kB / 0.7422 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9718, allocations: 357.9 kB / 0.7425 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.9739, allocations: 0.9292 MB / 0.7435 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.9762, allocations: 1.148 MB / 0.7446 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.9783, allocations: 0.9903 MB / 0.7455 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.9783, allocations: 0 / 0.7455 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.007615/0.9859, allocations: 3.275 MB / 0.7487 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008224/0.9868, allocations: 1.718 MB / 0.7504 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.9868, allocations: 8 kB / 0.7504 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.9993, allocations: 3.813 MB / 0.7542 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/1, allocations: 159.7 kB / 0.7543 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00906/1.009, allocations: 3.891 MB / 0.7581 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/1.012, allocations: 274.5 kB / 0.7584 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/1.012, allocations: 55.98 kB / 0.7584 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.012, allocations: 4 kB / 0.7584 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006521/1.018, allocations: 2.947 MB / 0.7613 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.019, allocations: 4 kB / 0.7613 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/1.03, allocations: 3.695 MB / 0.7649 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/1.031, allocations: 159.7 kB / 0.7651 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3486/1.38, allocations: 3.597 MB / 0.7686 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/1.383, allocations: 252.5 kB / 0.7688 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.383, allocations: 52.47 kB / 0.7689 GB, free: 133.9 MB / 0.5573 GB 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.001062/1.384, allocations: 384.7 kB / 0.7692 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/1.384, allocations: 179 kB / 0.7694 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/1.404, allocations: 6.008 MB / 0.7753 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.404, allocations: 13.5 kB / 0.7753 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.404, allocations: 3.953 kB / 0.7753 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-05/1.404, allocations: 9.75 kB / 0.7753 GB, free: 133.6 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.0204/1.424, allocations: 8.318 MB / 0.7834 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.424, allocations: 2.688 kB / 0.7834 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.426, allocations: 184.6 kB / 0.7836 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007341/1.433, allocations: 2.505 MB / 0.786 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/1.433, allocations: 35.86 kB / 0.7861 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02652/1.46, allocations: 10.89 MB / 0.7967 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.46, allocations: 5.328 kB / 0.7967 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/1.482, allocations: 7.355 MB / 0.8039 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000957/1.483, allocations: 295.5 kB / 0.8042 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/1.483, allocations: 27.44 kB / 0.8042 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.485, allocations: 193 kB / 0.8044 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009425/1.486, allocations: 263.9 kB / 0.8046 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.486, allocations: 41.42 kB / 0.8047 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001734/1.488, allocations: 1.001 MB / 0.8057 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/1.488, allocations: 0 / 0.8057 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002744/1.491, allocations: 0.835 MB / 0.8065 GB, free: 129.7 MB / 0.5573 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.0225/1.513, allocations: 8.12 MB / 0.8144 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01709/1.53, allocations: 5.295 MB / 0.8196 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.531, allocations: 0 / 0.8196 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/1.537, allocations: 2.258 MB / 0.8218 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.539, allocations: 141.7 kB / 0.8219 GB, free: 125 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/1.548, allocations: 7.475 MB / 0.8292 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/1.548, allocations: 1.321 MB / 0.8305 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007648/1.549, allocations: 142.4 kB / 0.8306 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008401/1.55, allocations: 0.668 MB / 0.8313 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/1.55, allocations: 0 / 0.8313 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08523/1.635, allocations: 48.05 MB / 0.8782 GB, free: 92.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/1.636, allocations: 189.9 kB / 0.8784 GB, free: 92.25 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_ES_URST5T.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.o] Error 1