Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.008575/0.008575, 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.375/1.375, allocations: 223.2 MB / 239 MB, free: 1.809 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.0008873/0.0008871, allocations: 96.06 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4869/0.4869, allocations: 78.51 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 8 kB / 499.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3984, allocations: 69.34 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.5256, allocations: 104 MB / 0.6574 GB, free: 2.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.5258, allocations: 79.97 kB / 0.6574 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2342/0.76, allocations: 96.2 MB / 0.7514 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.125e-06/0.7601, allocations: 0 / 0.7514 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001691/0.7603, allocations: 56 kB / 0.7514 GB, free: 1.387 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01564/0.7759, allocations: 4.771 MB / 0.7561 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.776, allocations: 8.031 kB / 0.7561 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001394/0.7774, allocations: 286.5 kB / 0.7564 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/0.7851, allocations: 1.283 MB / 0.7576 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/0.7903, allocations: 1.853 MB / 0.7594 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007826/0.7911, allocations: 0.6692 MB / 0.7601 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006767/0.7918, allocations: 195.9 kB / 0.7603 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/0.7981, allocations: 2.838 MB / 0.7631 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.7981, allocations: 3.953 kB / 0.7631 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.7984, allocations: 76 kB / 0.7631 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.7984, allocations: 48 kB / 0.7632 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00672/0.8052, allocations: 3.021 MB / 0.7661 GB, free: 2.102 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 preOpt removeSimpleEquations (simulation): time 0.3296/1.135, allocations: 10.63 MB / 0.7765 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.147, allocations: 5.671 MB / 0.782 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/1.147, allocations: 43.02 kB / 0.7821 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.147, allocations: 56.22 kB / 0.7821 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.819e-06/1.147, allocations: 0 / 0.7821 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.109/1.256, allocations: 28.95 MB / 0.8104 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/1.256, allocations: 85.03 kB / 0.8105 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006949/1.263, allocations: 2.391 MB / 0.8128 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008396/1.264, allocations: 66.11 kB / 0.8129 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.266, allocations: 1.368 MB / 0.8142 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.267, allocations: 0.8695 MB / 0.8151 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.268, allocations: 48.62 kB / 0.8151 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.268, allocations: 392.1 kB / 0.8155 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.271, allocations: 1.763 MB / 0.8172 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003364/1.275, allocations: 2.027 MB / 0.8192 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/1.278, allocations: 1.862 MB / 0.821 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.278, allocations: 3.875 kB / 0.821 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01175/1.29, allocations: 5.914 MB / 0.8268 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.29, allocations: 11.86 kB / 0.8268 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.29, allocations: 6.375 kB / 0.8268 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01862/1.308, allocations: 6.525 MB / 0.8332 GB, free: 99.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.31, allocations: 305.8 kB / 0.8335 GB, free: 99.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.325, allocations: 6.13 MB / 0.8395 GB, free: 97.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/1.329, allocations: 465.2 kB / 0.8399 GB, free: 97.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/1.33, allocations: 85.94 kB / 0.84 GB, free: 97.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (170): * Single equations (assignments): 169 * 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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001948/1.332, allocations: 473.7 kB / 0.8404 GB, free: 97.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.333, allocations: 346.3 kB / 0.8408 GB, free: 97.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03571/1.369, allocations: 12.89 MB / 0.8534 GB, free: 94.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.369, allocations: 30.3 kB / 0.8534 GB, free: 94.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.369, allocations: 0 / 0.8534 GB, free: 94.46 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-05/1.369, allocations: 14.11 kB / 0.8534 GB, free: 94.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.04433/1.413, allocations: 17.02 MB / 0.87 GB, free: 86.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/1.414, allocations: 0 / 0.87 GB, free: 86.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.415, allocations: 264.4 kB / 0.8703 GB, free: 85.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.431, allocations: 5.568 MB / 0.8757 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007527/1.432, allocations: 51.84 kB / 0.8758 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05207/1.484, allocations: 23.27 MB / 0.8985 GB, free: 61.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.484, allocations: 0 / 0.8985 GB, free: 61.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04012/1.524, allocations: 15.41 MB / 0.9135 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.526, allocations: 0.4925 MB / 0.914 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.527, allocations: 48 kB / 0.9141 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004084/1.531, allocations: 340.3 kB / 0.9144 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002244/1.534, allocations: 0.5161 MB / 0.9149 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005129/1.534, allocations: 67.69 kB / 0.9149 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003455/1.538, allocations: 1.846 MB / 0.9168 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/1.538, allocations: 0.875 kB / 0.9168 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004323/1.542, allocations: 0.989 MB / 0.9177 GB, free: 45.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0393/1.581, allocations: 15.94 MB / 0.9333 GB, free: 30.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.596, allocations: 5.708 MB / 0.9389 GB, free: 24.76 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.596, allocations: 4 kB / 0.9389 GB, free: 24.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/1.609, allocations: 4.265 MB / 0.943 GB, free: 20.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/1.612, allocations: 260.4 kB / 0.9433 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05772/1.67, allocations: 31.61 MB / 0.9741 GB, free: 2.805 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.672, allocations: 1.914 MB / 0.976 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001872/1.674, allocations: 243 kB / 0.9762 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.677, allocations: 1.367 MB / 0.9776 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of SimCode: time 2.063e-06/1.677, allocations: 0 / 0.9776 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4682/2.145, allocations: 79.31 MB / 1.055 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/2.145, allocations: 187.2 kB / 1.055 GB, free: 126.2 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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c In file included from OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_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_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_model.h:24: ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_functions.h:579: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_Examples_TwoAreas_Two_Areas_PSSE.o] Error 1