Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004916/0.004916, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009672/0.0009672, allocations: 86.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06526/0.06526, allocations: 12.21 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4214/0.4214, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005194, allocations: 25.19 kB / 0.528 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5064, allocations: 105.5 MB / 0.6986 GB, free: 37.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.5066, allocations: 80.23 kB / 0.6987 GB, free: 37.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1963/0.7029, allocations: 93.86 MB / 0.7904 GB, free: 5.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7029, allocations: 0 / 0.7904 GB, free: 5.387 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002481/0.7032, allocations: 52 kB / 0.7904 GB, free: 5.336 MB / 474.7 MB 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.01346/0.7166, allocations: 4.768 MB / 0.7951 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7167, allocations: 19.97 kB / 0.7951 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009801/0.7177, allocations: 280.7 kB / 0.7953 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.7249, allocations: 1.294 MB / 0.7966 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.7294, allocations: 1.855 MB / 0.7984 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/0.7302, allocations: 0.6691 MB / 0.7991 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007986/0.731, allocations: 199.9 kB / 0.7993 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006859/0.7379, allocations: 2.834 MB / 0.802 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.7379, allocations: 0 / 0.802 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.7382, allocations: 80 kB / 0.8021 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.7382, allocations: 48 kB / 0.8022 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005932/0.7442, allocations: 3.025 MB / 0.8051 GB, free: 7.137 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.01741/0.7616, allocations: 10.64 MB / 0.8155 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.7732, allocations: 5.664 MB / 0.821 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.7734, allocations: 45.95 kB / 0.8211 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.7735, allocations: 68.45 kB / 0.8211 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 3.576e-06/0.7735, allocations: 0 / 0.8211 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249): time 0.1018/0.8752, allocations: 28.95 MB / 0.8494 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.8753, allocations: 81.39 kB / 0.8495 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.879, allocations: 2.391 MB / 0.8518 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005057/0.8795, allocations: 69.7 kB / 0.8519 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/0.8805, allocations: 1.368 MB / 0.8532 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/0.8814, allocations: 0.8662 MB / 0.8541 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.8816, allocations: 44 kB / 0.8541 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8817, allocations: 390.5 kB / 0.8545 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/0.8853, allocations: 1.761 MB / 0.8562 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/0.8889, allocations: 2.031 MB / 0.8582 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.8924, allocations: 1.858 MB / 0.86 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8924, allocations: 3.953 kB / 0.86 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01153/0.9039, allocations: 5.915 MB / 0.8658 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.904, allocations: 8 kB / 0.8658 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.904, allocations: 8 kB / 0.8658 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/0.9227, allocations: 6.523 MB / 0.8722 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.9243, allocations: 307.5 kB / 0.8725 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.9376, allocations: 6.126 MB / 0.8784 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.9415, allocations: 469.7 kB / 0.8789 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/0.9419, allocations: 83.98 kB / 0.879 GB, free: 10.43 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.001592/0.9435, allocations: 481.5 kB / 0.8794 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.9446, allocations: 339.8 kB / 0.8797 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03559/0.9802, allocations: 12.89 MB / 0.8923 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.9803, allocations: 24 kB / 0.8924 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.9803, allocations: 3.938 kB / 0.8924 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.607e-05/0.9804, allocations: 11.95 kB / 0.8924 GB, free: 12.62 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.04173/1.022, allocations: 17.01 MB / 0.909 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/1.022, allocations: 4 kB / 0.909 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.024, allocations: 255.6 kB / 0.9092 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/1.04, allocations: 5.573 MB / 0.9147 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005953/1.041, allocations: 55.94 kB / 0.9147 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.331/1.372, allocations: 23.27 MB / 0.9375 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.372, allocations: 3.953 kB / 0.9375 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03852/1.411, allocations: 15.4 MB / 0.9525 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.412, allocations: 0.5005 MB / 0.953 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.413, allocations: 49.09 kB / 0.953 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.417, allocations: 337.5 kB / 0.9534 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/1.419, allocations: 0.5194 MB / 0.9539 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003831/1.419, allocations: 61.62 kB / 0.9539 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003061/1.422, allocations: 1.853 MB / 0.9557 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.422, allocations: 0 / 0.9557 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003107/1.426, allocations: 0.9779 MB / 0.9567 GB, free: 154.7 MB / 0.5886 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.03688/1.462, allocations: 15.96 MB / 0.9723 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.477, allocations: 5.708 MB / 0.9779 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.477, allocations: 0 / 0.9779 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/1.487, allocations: 4.263 MB / 0.982 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.49, allocations: 264.2 kB / 0.9823 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04452/1.534, allocations: 31.6 MB / 1.013 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.536, allocations: 1.907 MB / 1.015 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001246/1.537, allocations: 256.3 kB / 1.015 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.539, allocations: 1.355 MB / 1.017 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/1.539, allocations: 0 / 1.017 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.644, allocations: 79.32 MB / 1.094 GB, free: 47.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/1.644, allocations: 198.2 kB / 1.094 GB, free: 47.01 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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o] Error 1