Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_dev_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.008381/0.008381, 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.516/1.516, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009453/0.0009456, allocations: 106.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5877/0.5877, allocations: 79.44 MB / 420.7 MB, free: 43.6 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 12 kB / 0.4891 GB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5323, allocations: 69.5 MB / 0.557 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.7012, allocations: 115.8 MB / 0.6701 GB, free: 5.734 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/0.7016, allocations: 91.94 kB / 0.6702 GB, free: 5.645 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.14/0.8417, allocations: 46.54 MB / 0.7156 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8417, allocations: 0 / 0.7156 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001963/0.8419, allocations: 36 kB / 0.7157 GB, free: 6.824 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009804/0.8518, allocations: 2.736 MB / 0.7183 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.8518, allocations: 8.031 kB / 0.7183 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007546/0.8526, allocations: 172.9 kB / 0.7185 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.8573, allocations: 0.7546 MB / 0.7192 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.8612, allocations: 1.215 MB / 0.7204 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/0.8619, allocations: 0.4924 MB / 0.7209 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/0.8625, allocations: 119.9 kB / 0.721 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004686/0.8672, allocations: 1.658 MB / 0.7226 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.8672, allocations: 0 / 0.7226 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.8675, allocations: 44 kB / 0.7227 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.8675, allocations: 28 kB / 0.7227 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003942/0.8714, allocations: 1.566 MB / 0.7242 GB, free: 13.78 MB / 0.5261 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.0127/0.8842, allocations: 5.576 MB / 0.7297 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009713/0.8939, allocations: 3.696 MB / 0.7333 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.8947, allocations: 0.7453 MB / 0.734 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/0.8973, allocations: 1.223 MB / 0.7352 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=136): time 3.006e-06/0.8973, allocations: 4 kB / 0.7352 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136): time 0.04529/0.9426, allocations: 12.1 MB / 0.747 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.9427, allocations: 120.2 kB / 0.7472 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.9455, allocations: 1.384 MB / 0.7485 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004107/0.9459, allocations: 49.7 kB / 0.7486 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.9466, allocations: 0.6991 MB / 0.7492 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.9472, allocations: 484.9 kB / 0.7497 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.9473, allocations: 28 kB / 0.7497 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.9475, allocations: 365.9 kB / 0.7501 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.9497, allocations: 0.9448 MB / 0.751 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.952, allocations: 1.129 MB / 0.7521 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.9541, allocations: 1.006 MB / 0.7531 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9541, allocations: 0 / 0.7531 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007471/0.9616, allocations: 3.216 MB / 0.7562 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.9617, allocations: 8.062 kB / 0.7562 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9617, allocations: 4 kB / 0.7562 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.9724, allocations: 3.172 MB / 0.7593 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.9738, allocations: 223.7 kB / 0.7596 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.9816, allocations: 3.682 MB / 0.7631 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.9843, allocations: 282.6 kB / 0.7634 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.9845, allocations: 51.98 kB / 0.7635 GB, free: 4.844 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,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.000914/0.9855, allocations: 317.5 kB / 0.7638 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.9859, allocations: 181.8 kB / 0.7639 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3575/1.343, allocations: 6.058 MB / 0.7699 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.344, allocations: 14.97 kB / 0.7699 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.344, allocations: 3.531 kB / 0.7699 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/1.344, allocations: 8.047 kB / 0.7699 GB, free: 133.2 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.02257/1.366, allocations: 8.28 MB / 0.778 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.366, allocations: 3.953 kB / 0.778 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.368, allocations: 176.2 kB / 0.7781 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007946/1.376, allocations: 2.506 MB / 0.7806 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/1.376, allocations: 31.58 kB / 0.7806 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/1.401, allocations: 10.88 MB / 0.7912 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.401, allocations: 1.969 kB / 0.7912 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/1.423, allocations: 7.37 MB / 0.7984 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.424, allocations: 312.3 kB / 0.7987 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.424, allocations: 25.81 kB / 0.7988 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.426, allocations: 195.7 kB / 0.799 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.427, allocations: 284.2 kB / 0.7992 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.428, allocations: 36.97 kB / 0.7993 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002268/1.43, allocations: 1.08 MB / 0.8003 GB, free: 130 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.43, allocations: 0 / 0.8003 GB, free: 130 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002401/1.432, allocations: 0.5455 MB / 0.8008 GB, free: 130 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,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.02397/1.456, allocations: 8.149 MB / 0.8088 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.467, allocations: 3.068 MB / 0.8118 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.467, allocations: 0 / 0.8118 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007253/1.474, allocations: 2.262 MB / 0.814 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.476, allocations: 141.9 kB / 0.8141 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/1.485, allocations: 7.241 MB / 0.8212 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/1.486, allocations: 1.327 MB / 0.8225 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008179/1.486, allocations: 144 kB / 0.8226 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/1.487, allocations: 0.6664 MB / 0.8233 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/1.487, allocations: 0 / 0.8233 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06755/1.555, allocations: 41.33 MB / 0.8637 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.555, allocations: 194.1 kB / 0.8639 GB, free: 108 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_EXAC1.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.o] Error 1