Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.00872/0.00872, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.574/1.574, allocations: 223.2 MB / 239 MB, free: 48 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.0009313/0.0009317, allocations: 94.53 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.565/0.565, allocations: 78.59 MB / 419.9 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005377, allocations: 15.94 kB / 499.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 69.35 MB / 0.5559 GB, free: 1.703 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5172/0.661, allocations: 105.3 MB / 0.6587 GB, free: 12.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.6614, allocations: 87.2 kB / 0.6588 GB, free: 12.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09801/0.7594, allocations: 36.58 MB / 0.6945 GB, free: 8.691 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.459e-06/0.7594, allocations: 0 / 0.6945 GB, free: 8.691 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.699e-05/0.7595, allocations: 31.94 kB / 0.6945 GB, free: 8.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00575/0.7653, allocations: 2.098 MB / 0.6966 GB, free: 6.508 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7653, allocations: 8.031 kB / 0.6966 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.7656, allocations: 135.7 kB / 0.6967 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.7684, allocations: 0.5134 MB / 0.6972 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.7699, allocations: 0.7945 MB / 0.698 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/0.7704, allocations: 365.2 kB / 0.6983 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.7706, allocations: 87.89 kB / 0.6984 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.7732, allocations: 1.284 MB / 0.6997 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7732, allocations: 0 / 0.6997 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7733, allocations: 28 kB / 0.6997 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.7733, allocations: 20 kB / 0.6997 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.7759, allocations: 1.242 MB / 0.7009 GB, free: 1.914 MB / 490.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.006997/0.7829, allocations: 4.023 MB / 0.7049 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008208/0.7911, allocations: 3.199 MB / 0.708 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.7913, allocations: 20.98 kB / 0.708 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7913, allocations: 43.56 kB / 0.7081 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 3.436e-06/0.7913, allocations: 0 / 0.7081 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.04038/0.8317, allocations: 11.22 MB / 0.719 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.8319, allocations: 86.11 kB / 0.7191 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.8336, allocations: 0.9193 MB / 0.72 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.8338, allocations: 41.7 kB / 0.72 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.8343, allocations: 0.5135 MB / 0.7205 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.8348, allocations: 390.4 kB / 0.7209 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.8349, allocations: 20 kB / 0.7209 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8351, allocations: 349.8 kB / 0.7213 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.8367, allocations: 0.7359 MB / 0.722 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8383, allocations: 0.8745 MB / 0.7228 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.84, allocations: 0.7839 MB / 0.7236 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.84, allocations: 0 / 0.7236 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005609/0.8457, allocations: 2.528 MB / 0.7261 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.8457, allocations: 4 kB / 0.7261 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8457, allocations: 4 kB / 0.7261 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0087/0.8544, allocations: 2.736 MB / 0.7287 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.8551, allocations: 123.8 kB / 0.7289 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.8615, allocations: 2.915 MB / 0.7317 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.8634, allocations: 207 kB / 0.7319 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.8635, allocations: 39.98 kB / 0.7319 GB, free: 1.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006357/0.8641, allocations: 238.2 kB / 0.7322 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.8644, allocations: 132 kB / 0.7323 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/0.8811, allocations: 5.684 MB / 0.7379 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.8812, allocations: 12 kB / 0.7379 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8812, allocations: 0 / 0.7379 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/0.8812, allocations: 7.969 kB / 0.7379 GB, free: 11.56 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 postOpt removeSimpleEquations (simulation): time 0.01976/0.901, allocations: 7.4 MB / 0.7451 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.9011, allocations: 0 / 0.7451 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.9018, allocations: 107.8 kB / 0.7452 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008032/0.9099, allocations: 2.501 MB / 0.7476 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.9101, allocations: 20 kB / 0.7477 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.9368, allocations: 10.89 MB / 0.7583 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9369, allocations: 0 / 0.7583 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.956, allocations: 6.81 MB / 0.7649 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007358/0.9568, allocations: 231.2 kB / 0.7652 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.957, allocations: 20 kB / 0.7652 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.9583, allocations: 147.9 kB / 0.7653 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007999/0.9592, allocations: 241 kB / 0.7656 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.9592, allocations: 26.16 kB / 0.7656 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001063/0.9603, allocations: 0.7248 MB / 0.7663 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9603, allocations: 0 / 0.7663 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001268/0.9616, allocations: 439.5 kB / 0.7667 GB, free: 13.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.01915/0.9808, allocations: 7.485 MB / 0.774 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007841/0.9886, allocations: 2.57 MB / 0.7765 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9887, allocations: 0 / 0.7765 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006007/0.9947, allocations: 2.05 MB / 0.7785 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.9959, allocations: 97.95 kB / 0.7786 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.015, allocations: 12.15 MB / 0.7905 GB, free: 4.918 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/1.016, allocations: 1.148 MB / 0.7916 GB, free: 3.746 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004306/1.016, allocations: 82.78 kB / 0.7917 GB, free: 3.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/1.017, allocations: 483.3 kB / 0.7922 GB, free: 3.188 MB / 0.573 GB Notification: Performance of SimCode: time 1.182e-06/1.017, allocations: 0 / 0.7922 GB, free: 3.188 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4002/1.417, allocations: 32.17 MB / 0.8236 GB, free: 152.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.418, allocations: 203.7 kB / 0.8238 GB, free: 152.1 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_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.o OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.c In file included from OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL_model.h:24: ./OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.o] Error 1