Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.007186/0.007186, allocations: 171.5 kB / 15.12 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.632/1.632, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009631/0.0009628, allocations: 94.84 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.07924/0.07924, allocations: 12.2 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.4651/0.4651, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005303, allocations: 26.16 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1479, allocations: 69.22 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.6576, allocations: 113.5 MB / 0.7065 GB, free: 32.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.6578, allocations: 89.41 kB / 0.7066 GB, free: 32.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.765, allocations: 43.85 MB / 0.7494 GB, free: 23.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.765, allocations: 7.984 kB / 0.7494 GB, free: 23.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.7652, allocations: 33.66 kB / 0.7494 GB, free: 23.53 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.008009/0.7732, allocations: 2.545 MB / 0.7519 GB, free: 22.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7733, allocations: 15.39 kB / 0.7519 GB, free: 22.08 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000616/0.7739, allocations: 163.2 kB / 0.7521 GB, free: 22.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/0.7772, allocations: 0.5734 MB / 0.7527 GB, free: 21.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.7799, allocations: 1.029 MB / 0.7537 GB, free: 21.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/0.7803, allocations: 469.7 kB / 0.7541 GB, free: 20.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/0.7808, allocations: 108 kB / 0.7542 GB, free: 20.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.7842, allocations: 1.538 MB / 0.7557 GB, free: 20.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.7842, allocations: 7.984 kB / 0.7557 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.7844, allocations: 40.12 kB / 0.7558 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.7844, allocations: 27.02 kB / 0.7558 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.7873, allocations: 1.436 MB / 0.7572 GB, free: 20.18 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.009457/0.7968, allocations: 5.196 MB / 0.7623 GB, free: 17.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008063/0.8049, allocations: 3.506 MB / 0.7657 GB, free: 16.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.8055, allocations: 0.7397 MB / 0.7664 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002479/0.808, allocations: 1.14 MB / 0.7675 GB, free: 14.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=131): time 4.328e-06/0.808, allocations: 3.938 kB / 0.7675 GB, free: 14.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=131): time 0.04413/0.8522, allocations: 12.57 MB / 0.7798 GB, free: 9.141 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.8522, allocations: 120.2 kB / 0.7799 GB, free: 9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.855, allocations: 1.214 MB / 0.7811 GB, free: 8.105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.8555, allocations: 51.83 kB / 0.7812 GB, free: 8.066 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.856, allocations: 0.6548 MB / 0.7818 GB, free: 7.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007818/0.8568, allocations: 474.9 kB / 0.7822 GB, free: 7.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.857, allocations: 25.38 kB / 0.7823 GB, free: 7.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.8572, allocations: 360.2 kB / 0.7826 GB, free: 7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.8591, allocations: 0.8836 MB / 0.7835 GB, free: 6.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.861, allocations: 1.065 MB / 0.7845 GB, free: 5.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.8629, allocations: 0.9362 MB / 0.7854 GB, free: 4.988 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.8629, allocations: 4 kB / 0.7854 GB, free: 4.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006095/0.869, allocations: 2.979 MB / 0.7883 GB, free: 2.848 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8691, allocations: 4 kB / 0.7884 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.8691, allocations: 8 kB / 0.7884 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009468/0.8786, allocations: 3.04 MB / 0.7913 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.8798, allocations: 219.6 kB / 0.7915 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006794/0.8866, allocations: 3.001 MB / 0.7945 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.8891, allocations: 265.4 kB / 0.7947 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.8894, allocations: 50.92 kB / 0.7948 GB, free: 13.25 MB / 490.7 MB 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.0009576/0.8903, allocations: 287.2 kB / 0.795 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006419/0.891, allocations: 173.9 kB / 0.7952 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/0.9091, allocations: 6.039 MB / 0.8011 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.9091, allocations: 12 kB / 0.8011 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.9091, allocations: 3.953 kB / 0.8011 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/0.9092, allocations: 7.969 kB / 0.8011 GB, free: 7.371 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.02141/0.9306, allocations: 8.086 MB / 0.809 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.9306, allocations: 7.938 kB / 0.809 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.9317, allocations: 143.8 kB / 0.8092 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008148/0.9398, allocations: 2.564 MB / 0.8117 GB, free: 12.46 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.9401, allocations: 31.98 kB / 0.8117 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02902/0.9691, allocations: 12.53 MB / 0.8239 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9692, allocations: 7.969 kB / 0.824 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/0.9903, allocations: 7.219 MB / 0.831 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9914, allocations: 282.6 kB / 0.8313 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.9917, allocations: 24 kB / 0.8313 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.9934, allocations: 175.8 kB / 0.8315 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008606/0.9942, allocations: 261.3 kB / 0.8317 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.9943, allocations: 35.98 kB / 0.8317 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001562/0.9959, allocations: 0.9366 MB / 0.8327 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9959, allocations: 0 / 0.8327 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001576/0.9975, allocations: 0.5345 MB / 0.8332 GB, free: 6.098 MB / 0.5105 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.02018/1.018, allocations: 8.004 MB / 0.841 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008522/1.026, allocations: 2.944 MB / 0.8439 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.026, allocations: 0.875 kB / 0.8439 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00657/1.033, allocations: 2.314 MB / 0.8461 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.034, allocations: 128.1 kB / 0.8463 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009157/1.044, allocations: 6.888 MB / 0.853 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.045, allocations: 1.277 MB / 0.8542 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006624/1.045, allocations: 121 kB / 0.8543 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/1.046, allocations: 0.6375 MB / 0.855 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/1.046, allocations: 0 / 0.855 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/1.121, allocations: 38.63 MB / 0.8927 GB, free: 9.094 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.122, allocations: 199 kB / 0.8929 GB, free: 8.848 MB / 0.573 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_IEEET2.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.o] Error 1