Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.006611/0.006611, allocations: 171.7 kB / 15.12 MB, free: 5.969 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.484/1.484, 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.0009317/0.0009317, allocations: 86.88 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.06886/0.06886, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5338/0.5338, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004973, allocations: 17.59 kB / 0.528 GB, free: 35.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1486, allocations: 69.25 MB / 0.5957 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6594, allocations: 118 MB / 0.7109 GB, free: 38.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.6597, allocations: 91.52 kB / 0.711 GB, free: 38.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/0.7841, allocations: 49.12 MB / 0.759 GB, free: 23.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7841, allocations: 0 / 0.759 GB, free: 23.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002247/0.7843, allocations: 30 kB / 0.759 GB, free: 23.84 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.009779/0.7941, allocations: 2.827 MB / 0.7618 GB, free: 22.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.7942, allocations: 15.05 kB / 0.7618 GB, free: 22.22 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008074/0.795, allocations: 183.2 kB / 0.762 GB, free: 22.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.7987, allocations: 0.5985 MB / 0.7626 GB, free: 21.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.8022, allocations: 1.207 MB / 0.7637 GB, free: 21.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005311/0.8027, allocations: 0.5052 MB / 0.7642 GB, free: 20.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.8032, allocations: 124.7 kB / 0.7643 GB, free: 20.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.8068, allocations: 1.743 MB / 0.766 GB, free: 20.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.8068, allocations: 7.922 kB / 0.7661 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.807, allocations: 48.06 kB / 0.7661 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.807, allocations: 31.08 kB / 0.7661 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.8102, allocations: 1.649 MB / 0.7677 GB, free: 20.07 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.008882/0.8191, allocations: 5.687 MB / 0.7733 GB, free: 17.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008599/0.8277, allocations: 3.829 MB / 0.777 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.8283, allocations: 0.7355 MB / 0.7778 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002665/0.831, allocations: 1.268 MB / 0.779 GB, free: 14.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 4.098e-06/0.831, allocations: 0 / 0.779 GB, free: 14.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.04349/0.8745, allocations: 12.56 MB / 0.7913 GB, free: 3.125 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.8746, allocations: 157.4 kB / 0.7914 GB, free: 2.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.8777, allocations: 1.37 MB / 0.7927 GB, free: 1.938 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/0.8782, allocations: 48.02 kB / 0.7928 GB, free: 1.902 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.8787, allocations: 0.7395 MB / 0.7935 GB, free: 1.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007902/0.8795, allocations: 0.4956 MB / 0.794 GB, free: 1.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.8798, allocations: 33.31 kB / 0.794 GB, free: 1.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8799, allocations: 366.4 kB / 0.7944 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.882, allocations: 0.9761 MB / 0.7953 GB, free: 68 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.8844, allocations: 1.171 MB / 0.7965 GB, free: 15.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.8866, allocations: 1.04 MB / 0.7975 GB, free: 14.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.8866, allocations: 4 kB / 0.7975 GB, free: 14.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00744/0.894, allocations: 3.296 MB / 0.8007 GB, free: 11.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006181/0.8947, allocations: 1.547 MB / 0.8022 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8947, allocations: 4 kB / 0.8022 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.905, allocations: 3.168 MB / 0.8053 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.9064, allocations: 239.7 kB / 0.8055 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/0.9138, allocations: 3.678 MB / 0.8091 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.9167, allocations: 298.5 kB / 0.8094 GB, free: 2.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.9169, allocations: 51.98 kB / 0.8095 GB, free: 2.824 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9169, allocations: 4 kB / 0.8095 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007082/0.924, allocations: 3.08 MB / 0.8125 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.9241, allocations: 4 kB / 0.8125 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.9345, allocations: 3.157 MB / 0.8156 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.9359, allocations: 235.7 kB / 0.8158 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.9435, allocations: 3.692 MB / 0.8194 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.9464, allocations: 282.6 kB / 0.8197 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.9466, allocations: 55.98 kB / 0.8197 GB, free: 8.254 MB / 0.4948 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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001129/0.9478, allocations: 396.9 kB / 0.8201 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.9482, allocations: 193.6 kB / 0.8203 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/0.9654, allocations: 6.076 MB / 0.8262 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.9655, allocations: 16 kB / 0.8262 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9655, allocations: 0 / 0.8262 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/0.9656, allocations: 11.97 kB / 0.8262 GB, free: 1.543 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.02165/0.9872, allocations: 8.446 MB / 0.8345 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.9873, allocations: 3.953 kB / 0.8345 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.9885, allocations: 187.8 kB / 0.8347 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007672/0.9962, allocations: 2.505 MB / 0.8371 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.9964, allocations: 32 kB / 0.8372 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/1.022, allocations: 10.89 MB / 0.8478 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.022, allocations: 0 / 0.8478 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/1.043, allocations: 7.501 MB / 0.8551 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.044, allocations: 310.2 kB / 0.8554 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/1.044, allocations: 35.98 kB / 0.8554 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.046, allocations: 207.8 kB / 0.8556 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009165/1.047, allocations: 285.2 kB / 0.8559 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.047, allocations: 43.98 kB / 0.856 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001848/1.049, allocations: 1.066 MB / 0.857 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.725e-06/1.049, allocations: 3.938 kB / 0.857 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002249/1.051, allocations: 0.8696 MB / 0.8578 GB, free: 0.8438 MB / 0.5261 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.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 (100): * Single equations (assignments): 99 * 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.02031/1.072, allocations: 8.293 MB / 0.8659 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01545/1.087, allocations: 5.274 MB / 0.8711 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.087, allocations: 4.125 kB / 0.8711 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/1.094, allocations: 2.311 MB / 0.8734 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.095, allocations: 157.3 kB / 0.8735 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/1.105, allocations: 7.376 MB / 0.8807 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.107, allocations: 1.357 MB / 0.882 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001139/1.108, allocations: 178.1 kB / 0.8822 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.109, allocations: 0.7101 MB / 0.8829 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of SimCode: time 2.164e-06/1.109, allocations: 0 / 0.8829 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3674/1.476, allocations: 48.06 MB / 0.9298 GB, free: 176.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.477, allocations: 202.6 kB / 0.93 GB, free: 176.1 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_EXAC2.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_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_EXAC2.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_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_EXAC2.o] Error 1