Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.006115/0.006115, 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.42/1.42, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008728, allocations: 101.3 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.497/0.497, allocations: 78.51 MB / 419.8 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 12 kB / 499.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 69.36 MB / 0.5558 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.6944, allocations: 115.1 MB / 0.6683 GB, free: 3.223 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.6948, allocations: 91.91 kB / 0.6684 GB, free: 3.172 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.8285, allocations: 48.69 MB / 0.7159 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.629e-06/0.8285, allocations: 0 / 0.7159 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.886e-05/0.8286, allocations: 31.94 kB / 0.7159 GB, free: 2.652 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007669/0.8363, allocations: 2.73 MB / 0.7186 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.8364, allocations: 12.03 kB / 0.7186 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/0.8367, allocations: 168.9 kB / 0.7188 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.8396, allocations: 0.5868 MB / 0.7193 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.8421, allocations: 1.16 MB / 0.7205 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/0.8426, allocations: 0.4963 MB / 0.721 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.8428, allocations: 119.9 kB / 0.7211 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.8462, allocations: 1.65 MB / 0.7227 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.8462, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.8463, allocations: 44 kB / 0.7227 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.8464, allocations: 24 kB / 0.7228 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.8497, allocations: 1.578 MB / 0.7243 GB, free: 9.828 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.01051/0.8603, allocations: 5.466 MB / 0.7296 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009311/0.8696, allocations: 3.686 MB / 0.7332 GB, free: 324 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008095/0.8705, allocations: 0.7375 MB / 0.734 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00283/0.8733, allocations: 1.223 MB / 0.7351 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=136): time 4.729e-06/0.8733, allocations: 4 kB / 0.7352 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136): time 0.04371/0.917, allocations: 12.11 MB / 0.747 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.9172, allocations: 120.2 kB / 0.7471 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.9199, allocations: 1.322 MB / 0.7484 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004901/0.9204, allocations: 49.7 kB / 0.7484 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.9211, allocations: 0.7108 MB / 0.7491 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/0.9218, allocations: 480.9 kB / 0.7496 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9219, allocations: 31.94 kB / 0.7496 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9221, allocations: 369.9 kB / 0.75 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.9242, allocations: 0.9448 MB / 0.7509 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.9264, allocations: 1.121 MB / 0.752 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.9286, allocations: 1.006 MB / 0.753 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.9286, allocations: 3.938 kB / 0.753 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007509/0.9361, allocations: 3.212 MB / 0.7561 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.9362, allocations: 10.19 kB / 0.7561 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9362, allocations: 8.062 kB / 0.7561 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.9463, allocations: 3.163 MB / 0.7592 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9476, allocations: 223.7 kB / 0.7594 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/0.955, allocations: 3.689 MB / 0.763 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.9577, allocations: 286.6 kB / 0.7633 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.9579, allocations: 55.97 kB / 0.7634 GB, free: 1.066 MB / 0.5417 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.0009763/0.9589, allocations: 309.7 kB / 0.7636 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.9594, allocations: 177.8 kB / 0.7638 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.9767, allocations: 6.071 MB / 0.7697 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.9768, allocations: 16 kB / 0.7698 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.9768, allocations: 0 / 0.7698 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/0.9769, allocations: 7.969 kB / 0.7698 GB, free: 10.46 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.0232/1, allocations: 8.247 MB / 0.7778 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1, allocations: 0 / 0.7778 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.002, allocations: 175.8 kB / 0.778 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008211/1.01, allocations: 2.505 MB / 0.7804 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004938/1.01, allocations: 28 kB / 0.7805 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02658/1.037, allocations: 10.87 MB / 0.7911 GB, free: 4.363 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.037, allocations: 0 / 0.7911 GB, free: 4.363 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3653/1.402, allocations: 7.361 MB / 0.7983 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.403, allocations: 296.5 kB / 0.7986 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/1.404, allocations: 31.55 kB / 0.7986 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.406, allocations: 203.5 kB / 0.7988 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000926/1.407, allocations: 276.8 kB / 0.799 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.407, allocations: 40.19 kB / 0.7991 GB, free: 141 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002048/1.409, allocations: 1.031 MB / 0.8001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.31e-07/1.409, allocations: 0 / 0.8001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001959/1.411, allocations: 0.5446 MB / 0.8006 GB, free: 140.9 MB / 0.573 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02228/1.433, allocations: 8.139 MB / 0.8086 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.443, allocations: 3.065 MB / 0.8116 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.443, allocations: 0 / 0.8116 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007679/1.451, allocations: 2.262 MB / 0.8138 GB, free: 139.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/1.453, allocations: 142.4 kB / 0.8139 GB, free: 139.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.465, allocations: 7.173 MB / 0.8209 GB, free: 134.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.467, allocations: 1.323 MB / 0.8222 GB, free: 134.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001032/1.468, allocations: 148.8 kB / 0.8223 GB, free: 134.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.469, allocations: 0.664 MB / 0.823 GB, free: 134.2 MB / 0.573 GB Notification: Performance of SimCode: time 7.344e-06/1.469, allocations: 0 / 0.823 GB, free: 134.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09242/1.561, allocations: 40.8 MB / 0.8628 GB, free: 132.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.562, allocations: 180.7 kB / 0.863 GB, free: 131.9 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_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_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_EXAC1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_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_EXAC1.o] Error 1