Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_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.005459/0.005459, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.427/1.427, 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.0008038/0.0008038, allocations: 104.6 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4887/0.4887, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0003998, allocations: 8 kB / 499.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 69.34 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.4851, allocations: 104 MB / 0.6574 GB, free: 2.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4854, allocations: 75.97 kB / 0.6575 GB, free: 2.406 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2364/0.7218, allocations: 96.2 MB / 0.7514 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7219, allocations: 0 / 0.7514 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002787/0.7222, allocations: 56 kB / 0.7515 GB, free: 1.5 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.01557/0.7378, allocations: 4.769 MB / 0.7561 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7378, allocations: 11.97 kB / 0.7562 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009691/0.7388, allocations: 286.5 kB / 0.7564 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007882/0.7467, allocations: 1.287 MB / 0.7577 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.7512, allocations: 1.853 MB / 0.7595 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007371/0.7519, allocations: 0.6614 MB / 0.7601 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007401/0.7527, allocations: 207.9 kB / 0.7603 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007606/0.7603, allocations: 2.838 MB / 0.7631 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.7604, allocations: 3.953 kB / 0.7631 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.7608, allocations: 76 kB / 0.7632 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.7609, allocations: 48 kB / 0.7632 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006724/0.7676, allocations: 3.014 MB / 0.7662 GB, free: 2.215 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.2864/1.054, allocations: 10.64 MB / 0.7766 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.066, allocations: 5.67 MB / 0.7821 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/1.067, allocations: 40.31 kB / 0.7821 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.067, allocations: 55.62 kB / 0.7822 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 5.691e-06/1.067, allocations: 3.781 kB / 0.7822 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.1055/1.172, allocations: 28.95 MB / 0.8105 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.172, allocations: 81.8 kB / 0.8106 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/1.176, allocations: 2.394 MB / 0.8129 GB, free: 101 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.177, allocations: 66.33 kB / 0.813 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009741/1.178, allocations: 1.371 MB / 0.8143 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.179, allocations: 0.8688 MB / 0.8151 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/1.179, allocations: 43.84 kB / 0.8152 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.179, allocations: 392 kB / 0.8156 GB, free: 99.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/1.183, allocations: 1.762 MB / 0.8173 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/1.187, allocations: 2.025 MB / 0.8193 GB, free: 99.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/1.19, allocations: 1.865 MB / 0.8211 GB, free: 99.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.19, allocations: 0 / 0.8211 GB, free: 99.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01086/1.201, allocations: 5.919 MB / 0.8269 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.201, allocations: 5.812 kB / 0.8269 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.201, allocations: 6.75 kB / 0.8269 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01803/1.219, allocations: 6.528 MB / 0.8332 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.221, allocations: 304.2 kB / 0.8335 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.233, allocations: 6.125 MB / 0.8395 GB, free: 97.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.237, allocations: 467.2 kB / 0.84 GB, free: 97.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/1.238, allocations: 82.28 kB / 0.84 GB, free: 97.02 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.001395/1.239, allocations: 483.8 kB / 0.8405 GB, free: 96.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008243/1.24, allocations: 348 kB / 0.8408 GB, free: 96.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03377/1.274, allocations: 12.88 MB / 0.8534 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.274, allocations: 23.34 kB / 0.8534 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.274, allocations: 0 / 0.8534 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/1.274, allocations: 18.31 kB / 0.8534 GB, free: 93.87 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.03958/1.313, allocations: 17.02 MB / 0.8701 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/1.313, allocations: 0 / 0.8701 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.315, allocations: 265.8 kB / 0.8703 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01584/1.331, allocations: 5.564 MB / 0.8758 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006999/1.332, allocations: 55.75 kB / 0.8758 GB, free: 80.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04844/1.38, allocations: 23.27 MB / 0.8985 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.38, allocations: 0 / 0.8985 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03805/1.418, allocations: 15.42 MB / 0.9136 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.42, allocations: 0.4976 MB / 0.9141 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000632/1.42, allocations: 44 kB / 0.9141 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.423, allocations: 344.5 kB / 0.9144 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00157/1.425, allocations: 0.5119 MB / 0.9149 GB, free: 47.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.425, allocations: 63.66 kB / 0.915 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002204/1.427, allocations: 1.848 MB / 0.9168 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.427, allocations: 0 / 0.9168 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002172/1.429, allocations: 0.9825 MB / 0.9178 GB, free: 45.02 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.03709/1.466, allocations: 15.94 MB / 0.9333 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.48, allocations: 5.714 MB / 0.9389 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.48, allocations: 4 kB / 0.9389 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009923/1.49, allocations: 4.258 MB / 0.9431 GB, free: 19.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.492, allocations: 265.7 kB / 0.9433 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04292/1.535, allocations: 31.61 MB / 0.9742 GB, free: 2.188 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.536, allocations: 1.906 MB / 0.9761 GB, free: 256 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00125/1.538, allocations: 243.6 kB / 0.9763 GB, free: 20 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.539, allocations: 1.366 MB / 0.9776 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/1.539, allocations: 0 / 0.9776 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/1.911, allocations: 79.32 MB / 1.055 GB, free: 127 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001195/1.911, allocations: 200.8 kB / 1.055 GB, free: 126.8 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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c In file included from OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_release_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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_model.h:24: ./OpenIPSL_release_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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o] Error 1