Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.01162/0.01162, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.538/1.538, allocations: 223.2 MB / 239 MB, free: 1.801 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.001061/0.001061, allocations: 100.6 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.514/0.514, allocations: 78.52 MB / 419.8 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 12 kB / 499.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4518, allocations: 69.35 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5978, allocations: 113.6 MB / 0.6667 GB, free: 8.758 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5981, allocations: 95.94 kB / 0.6668 GB, free: 8.664 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1279/0.726, allocations: 47.7 MB / 0.7134 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.726, allocations: 0 / 0.7134 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001119/0.7261, allocations: 39.94 kB / 0.7134 GB, free: 8.68 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.00773/0.7339, allocations: 2.674 MB / 0.7161 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.7339, allocations: 12.03 kB / 0.7161 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004135/0.7344, allocations: 164.5 kB / 0.7162 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.7376, allocations: 0.579 MB / 0.7168 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.7403, allocations: 1.129 MB / 0.7179 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.7408, allocations: 466.5 kB / 0.7183 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.741, allocations: 111.9 kB / 0.7184 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.7444, allocations: 1.594 MB / 0.72 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.7445, allocations: 0 / 0.72 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.7446, allocations: 47.98 kB / 0.72 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.7446, allocations: 31.98 kB / 0.7201 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/0.748, allocations: 1.507 MB / 0.7215 GB, free: 128 kB / 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.01038/0.7584, allocations: 5.391 MB / 0.7268 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009229/0.7677, allocations: 3.634 MB / 0.7304 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.7685, allocations: 0.7297 MB / 0.7311 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002743/0.7712, allocations: 1.204 MB / 0.7322 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=133): time 3.887e-06/0.7712, allocations: 0 / 0.7322 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of matching and sorting (n=133): time 0.04639/0.8176, allocations: 12.44 MB / 0.7444 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.8179, allocations: 116.1 kB / 0.7445 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.8211, allocations: 1.317 MB / 0.7458 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/0.8217, allocations: 45.7 kB / 0.7458 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.8224, allocations: 0.6757 MB / 0.7465 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.8233, allocations: 481 kB / 0.747 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.8234, allocations: 28 kB / 0.747 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8236, allocations: 361.9 kB / 0.7473 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.826, allocations: 0.9253 MB / 0.7482 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.8284, allocations: 1.11 MB / 0.7493 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.8308, allocations: 0.9977 MB / 0.7503 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8308, allocations: 0 / 0.7503 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007207/0.838, allocations: 3.083 MB / 0.7533 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.8381, allocations: 12.02 kB / 0.7533 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.8381, allocations: 4 kB / 0.7533 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.8482, allocations: 3.046 MB / 0.7563 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.8497, allocations: 243.7 kB / 0.7565 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00699/0.8567, allocations: 3.003 MB / 0.7595 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.8595, allocations: 278.6 kB / 0.7597 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.8597, allocations: 51.98 kB / 0.7598 GB, free: 8.234 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0008983/0.8606, allocations: 309.5 kB / 0.7601 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/0.8612, allocations: 177.8 kB / 0.7602 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/0.8795, allocations: 6.013 MB / 0.7661 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.8796, allocations: 16 kB / 0.7661 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.8796, allocations: 7.938 kB / 0.7661 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-05/0.8797, allocations: 11.92 kB / 0.7661 GB, free: 1.676 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.2966/1.176, allocations: 8.158 MB / 0.7741 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.176, allocations: 0 / 0.7741 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.177, allocations: 164.5 kB / 0.7743 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007033/1.184, allocations: 2.507 MB / 0.7767 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/1.185, allocations: 30.5 kB / 0.7767 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02345/1.208, allocations: 10.89 MB / 0.7874 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.208, allocations: 6.562 kB / 0.7874 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/1.228, allocations: 7.267 MB / 0.7945 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/1.228, allocations: 292.2 kB / 0.7948 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/1.229, allocations: 26.38 kB / 0.7948 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.231, allocations: 196.9 kB / 0.795 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008356/1.232, allocations: 270.5 kB / 0.7952 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.232, allocations: 36.17 kB / 0.7953 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001681/1.233, allocations: 1.016 MB / 0.7962 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.233, allocations: 1.875 kB / 0.7963 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001829/1.235, allocations: 0.5364 MB / 0.7968 GB, free: 130.5 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02131/1.256, allocations: 8.051 MB / 0.8046 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.267, allocations: 3.029 MB / 0.8076 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.267, allocations: 3.75 kB / 0.8076 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007113/1.274, allocations: 2.23 MB / 0.8098 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.276, allocations: 153.1 kB / 0.8099 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/1.285, allocations: 7.065 MB / 0.8168 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/1.286, allocations: 1.306 MB / 0.8181 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007575/1.287, allocations: 140.9 kB / 0.8182 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/1.288, allocations: 0.6562 MB / 0.8189 GB, free: 121 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/1.288, allocations: 4 kB / 0.8189 GB, free: 121 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0629/1.351, allocations: 39.54 MB / 0.8575 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.351, allocations: 195.2 kB / 0.8577 GB, free: 114.2 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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.o] Error 1