Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.009482/0.009482, allocations: 171.1 kB / 15.11 MB, free: 5.992 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.467/1.467, allocations: 223.2 MB / 239 MB, free: 1.797 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.001028/0.001028, allocations: 94.5 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.589/0.589, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 8 kB / 0.4891 GB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5059, allocations: 69.51 MB / 0.557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.6814, allocations: 112.6 MB / 0.667 GB, free: 8.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004753/0.6819, allocations: 88.45 kB / 0.6671 GB, free: 8.844 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.8043, allocations: 42.83 MB / 0.7089 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8044, allocations: 0 / 0.7089 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.547e-05/0.8045, allocations: 32 kB / 0.7089 GB, free: 13.75 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.007387/0.8119, allocations: 2.549 MB / 0.7114 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.8119, allocations: 19.97 kB / 0.7114 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003806/0.8123, allocations: 160.4 kB / 0.7116 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.8167, allocations: 0.7431 MB / 0.7123 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.8197, allocations: 1.085 MB / 0.7134 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004993/0.8202, allocations: 462.4 kB / 0.7138 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.8204, allocations: 107.9 kB / 0.7139 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.8236, allocations: 1.538 MB / 0.7154 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.8237, allocations: 0 / 0.7154 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.8238, allocations: 40 kB / 0.7155 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.8238, allocations: 24 kB / 0.7155 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.8268, allocations: 1.441 MB / 0.7169 GB, free: 5.355 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.01184/0.8387, allocations: 5.355 MB / 0.7221 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009304/0.848, allocations: 3.498 MB / 0.7255 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.8489, allocations: 0.7296 MB / 0.7263 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002686/0.8516, allocations: 1.158 MB / 0.7274 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=131): time 4.489e-06/0.8516, allocations: 0 / 0.7274 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=131): time 0.04705/0.8987, allocations: 12.57 MB / 0.7397 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.8988, allocations: 120.1 kB / 0.7398 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.9014, allocations: 1.267 MB / 0.741 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.9017, allocations: 49.7 kB / 0.7411 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.9023, allocations: 0.6635 MB / 0.7417 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/0.9028, allocations: 465.2 kB / 0.7422 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.9029, allocations: 28 kB / 0.7422 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9031, allocations: 361.9 kB / 0.7425 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.905, allocations: 0.8746 MB / 0.7434 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.907, allocations: 1.07 MB / 0.7444 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.9089, allocations: 0.9396 MB / 0.7453 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9089, allocations: 4 kB / 0.7453 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006651/0.9156, allocations: 2.973 MB / 0.7482 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.9156, allocations: 8.062 kB / 0.7483 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.9156, allocations: 8 kB / 0.7483 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.9258, allocations: 3.054 MB / 0.7512 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.927, allocations: 219.7 kB / 0.7515 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.9335, allocations: 3.007 MB / 0.7544 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.936, allocations: 258.7 kB / 0.7546 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.9363, allocations: 51.98 kB / 0.7547 GB, free: 13.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.9373, allocations: 289.5 kB / 0.755 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/0.938, allocations: 173.8 kB / 0.7551 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/0.9561, allocations: 6.04 MB / 0.761 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.9562, allocations: 12 kB / 0.761 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.9562, allocations: 0 / 0.761 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/0.9562, allocations: 11.98 kB / 0.761 GB, free: 7.332 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.4053/1.362, allocations: 8.117 MB / 0.769 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.362, allocations: 6.359 kB / 0.769 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.363, allocations: 154.1 kB / 0.7691 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00959/1.372, allocations: 2.559 MB / 0.7716 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/1.373, allocations: 29.42 kB / 0.7717 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02934/1.402, allocations: 12.52 MB / 0.7839 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.402, allocations: 0 / 0.7839 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/1.423, allocations: 7.224 MB / 0.7909 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.424, allocations: 296.6 kB / 0.7912 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/1.424, allocations: 28.19 kB / 0.7912 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.426, allocations: 173.6 kB / 0.7914 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009108/1.427, allocations: 268.2 kB / 0.7917 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.427, allocations: 37.25 kB / 0.7917 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001582/1.429, allocations: 0.9855 MB / 0.7927 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.429, allocations: 2.219 kB / 0.7927 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001769/1.43, allocations: 0.5347 MB / 0.7932 GB, free: 129.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.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 (85): * Single equations (assignments): 83 * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02304/1.453, allocations: 8.001 MB / 0.801 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.465, allocations: 2.944 MB / 0.8039 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.465, allocations: 0 / 0.8039 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008314/1.473, allocations: 2.303 MB / 0.8061 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.475, allocations: 135.5 kB / 0.8063 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.486, allocations: 6.956 MB / 0.8131 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.487, allocations: 1.279 MB / 0.8143 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008034/1.488, allocations: 123.9 kB / 0.8144 GB, free: 121 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/1.489, allocations: 0.6269 MB / 0.815 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/1.489, allocations: 1.375 kB / 0.815 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08068/1.569, allocations: 39.16 MB / 0.8533 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.569, allocations: 193.1 kB / 0.8535 GB, free: 117.9 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_IEEET2.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_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_IEEET2.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_functions.h:169: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_IEEET2.o] Error 1