Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",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.008024/0.008025, allocations: 170.3 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.446/1.446, allocations: 223.2 MB / 239 MB, free: 56 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.0009257/0.0009257, allocations: 95.02 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5807/0.5807, allocations: 79.44 MB / 420.7 MB, free: 36.28 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 8 kB / 0.4891 GB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 69.51 MB / 0.557 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5415/0.7082, allocations: 114.4 MB / 0.6687 GB, free: 2.719 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.7085, allocations: 88.56 kB / 0.6688 GB, free: 2.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1311/0.8396, allocations: 46.17 MB / 0.7139 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8396, allocations: 0 / 0.7139 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002335/0.8398, allocations: 36 kB / 0.7139 GB, free: 4.414 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.01054/0.8504, allocations: 2.817 MB / 0.7167 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/0.8505, allocations: 12.03 kB / 0.7167 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008441/0.8513, allocations: 185.3 kB / 0.7169 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.8562, allocations: 0.7623 MB / 0.7176 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.8599, allocations: 1.283 MB / 0.7188 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005282/0.8605, allocations: 0.4965 MB / 0.7193 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.8607, allocations: 123.9 kB / 0.7195 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.8643, allocations: 1.734 MB / 0.7211 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.8643, allocations: 0 / 0.7211 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.8645, allocations: 48 kB / 0.7212 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.8645, allocations: 28 kB / 0.7212 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.8681, allocations: 1.68 MB / 0.7229 GB, free: 11 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.0126/0.8808, allocations: 5.636 MB / 0.7284 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/0.8906, allocations: 3.814 MB / 0.7321 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.8908, allocations: 25.28 kB / 0.7321 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002687/0.8935, allocations: 1.271 MB / 0.7334 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=143): time 6.192e-06/0.8935, allocations: 96 / 0.7334 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143): time 0.04821/0.9417, allocations: 12.97 MB / 0.746 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.9419, allocations: 171.5 kB / 0.7462 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.9457, allocations: 1.49 MB / 0.7476 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/0.9463, allocations: 53.7 kB / 0.7477 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/0.947, allocations: 0.7387 MB / 0.7484 GB, free: 360 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.9478, allocations: 0.4969 MB / 0.7489 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.948, allocations: 32 kB / 0.7489 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.9482, allocations: 365.9 kB / 0.7493 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.9505, allocations: 0.976 MB / 0.7502 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.9528, allocations: 1.167 MB / 0.7514 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.9551, allocations: 1.045 MB / 0.7524 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.9551, allocations: 4 kB / 0.7524 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007679/0.9628, allocations: 3.365 MB / 0.7557 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.9634, allocations: 1.368 MB / 0.757 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.9635, allocations: 8 kB / 0.757 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.9749, allocations: 3.651 MB / 0.7606 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.9758, allocations: 183.8 kB / 0.7608 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/0.9842, allocations: 3.781 MB / 0.7644 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.987, allocations: 310.5 kB / 0.7647 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.9871, allocations: 55.98 kB / 0.7648 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.9872, allocations: 4 kB / 0.7648 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006461/0.9936, allocations: 3.018 MB / 0.7677 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.9937, allocations: 4 kB / 0.7678 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/1.005, allocations: 3.515 MB / 0.7712 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.006, allocations: 195.7 kB / 0.7714 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/1.013, allocations: 3.51 MB / 0.7748 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/1.016, allocations: 282.6 kB / 0.7751 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/1.016, allocations: 55.98 kB / 0.7751 GB, free: 4.746 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (99): * Single equations (assignments): 98 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.018, allocations: 392.9 kB / 0.7755 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007888/1.018, allocations: 185.7 kB / 0.7757 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/1.038, allocations: 6.398 MB / 0.7819 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/1.038, allocations: 20 kB / 0.7819 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.038, allocations: 0 / 0.7819 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.417e-05/1.038, allocations: 11.97 kB / 0.782 GB, free: 13.71 MB / 0.573 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.02607/1.064, allocations: 8.679 MB / 0.7904 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.064, allocations: 3.953 kB / 0.7904 GB, free: 4.898 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.065, allocations: 167.8 kB / 0.7906 GB, free: 4.734 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009062/1.075, allocations: 2.681 MB / 0.7932 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004733/1.075, allocations: 35.92 kB / 0.7932 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4302/1.505, allocations: 13.38 MB / 0.8063 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.505, allocations: 0 / 0.8063 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/1.53, allocations: 7.73 MB / 0.8139 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.531, allocations: 318.1 kB / 0.8142 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005552/1.532, allocations: 28.72 kB / 0.8142 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.534, allocations: 226.6 kB / 0.8144 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/1.535, allocations: 281.8 kB / 0.8147 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.535, allocations: 41.89 kB / 0.8147 GB, free: 139.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002291/1.538, allocations: 1.166 MB / 0.8159 GB, free: 139.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.538, allocations: 0 / 0.8159 GB, free: 139.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002767/1.54, allocations: 0.8748 MB / 0.8167 GB, free: 139 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.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 (91): * 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: 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02228/1.563, allocations: 8.504 MB / 0.825 GB, free: 137.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01734/1.58, allocations: 5.306 MB / 0.8302 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.58, allocations: 1.375 kB / 0.8302 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008505/1.589, allocations: 2.44 MB / 0.8326 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.591, allocations: 161.9 kB / 0.8327 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.604, allocations: 7.104 MB / 0.8397 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.605, allocations: 1.374 MB / 0.841 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001097/1.606, allocations: 174.8 kB / 0.8412 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009614/1.607, allocations: 0.6982 MB / 0.8419 GB, free: 131.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.984e-06/1.607, allocations: 3.375 kB / 0.8419 GB, free: 131.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08506/1.692, allocations: 50.71 MB / 0.8914 GB, free: 122.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.692, allocations: 192.4 kB / 0.8916 GB, free: 121.8 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_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_ESST1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_functions.h:153: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_ESST1A.o] Error 1