Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_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.007399/0.007399, allocations: 169.5 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.366/1.366, allocations: 223.2 MB / 239 MB, free: 68 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.001031/0.001032, allocations: 89.61 kB / 290.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5022/0.5022, allocations: 79.43 MB / 420.8 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.0005402, allocations: 8 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.174, allocations: 69.51 MB / 0.557 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.6202, allocations: 104.7 MB / 0.6592 GB, free: 12.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6205, allocations: 85.67 kB / 0.6593 GB, free: 12.44 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.228/0.8486, allocations: 87.71 MB / 0.7449 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.39e-06/0.8487, allocations: 0 / 0.7449 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003245/0.849, allocations: 55.94 kB / 0.745 GB, free: 4.277 MB / 0.5261 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.01785/0.8669, allocations: 4.853 MB / 0.7497 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.8669, allocations: 12.97 kB / 0.7497 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001398/0.8683, allocations: 286.5 kB / 0.75 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.8821, allocations: 2.157 MB / 0.7521 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00719/0.8893, allocations: 2.154 MB / 0.7542 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.8904, allocations: 0.6536 MB / 0.7549 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.8916, allocations: 203.9 kB / 0.7551 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009597/0.9012, allocations: 2.834 MB / 0.7578 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.547e-05/0.9013, allocations: 7.953 kB / 0.7578 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006565/0.902, allocations: 76 kB / 0.7579 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.9021, allocations: 48 kB / 0.758 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007866/0.91, allocations: 3.019 MB / 0.7609 GB, free: 3.742 MB / 0.5417 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.03074/0.9407, allocations: 11.2 MB / 0.7718 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.9548, allocations: 5.669 MB / 0.7774 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.9554, allocations: 45.95 kB / 0.7774 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/0.9555, allocations: 60.5 kB / 0.7775 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 6.111e-06/0.9555, allocations: 0 / 0.7775 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.4416/1.397, allocations: 28.94 MB / 0.8057 GB, free: 114.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/1.397, allocations: 80.97 kB / 0.8058 GB, free: 114.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005924/1.403, allocations: 2.749 MB / 0.8085 GB, free: 114.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008041/1.404, allocations: 66.08 kB / 0.8086 GB, free: 114.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.405, allocations: 1.359 MB / 0.8099 GB, free: 114.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.407, allocations: 0.8605 MB / 0.8107 GB, free: 113.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.407, allocations: 46.5 kB / 0.8108 GB, free: 113.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.407, allocations: 391.2 kB / 0.8112 GB, free: 113.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/1.411, allocations: 1.76 MB / 0.8129 GB, free: 113.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/1.415, allocations: 2.03 MB / 0.8149 GB, free: 113.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/1.419, allocations: 1.87 MB / 0.8167 GB, free: 113.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/1.419, allocations: 0 / 0.8167 GB, free: 113.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01282/1.432, allocations: 5.916 MB / 0.8225 GB, free: 112.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.432, allocations: 9.031 kB / 0.8225 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.432, allocations: 3.031 kB / 0.8225 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01979/1.452, allocations: 6.531 MB / 0.8288 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.454, allocations: 306.5 kB / 0.8291 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.469, allocations: 6.124 MB / 0.8351 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/1.474, allocations: 476.2 kB / 0.8356 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.474, allocations: 79.72 kB / 0.8357 GB, free: 111.5 MB / 0.573 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.001522/1.476, allocations: 474.5 kB / 0.8361 GB, free: 111.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.477, allocations: 347.8 kB / 0.8364 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03915/1.516, allocations: 12.88 MB / 0.849 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/1.516, allocations: 30.84 kB / 0.849 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.516, allocations: 0 / 0.849 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.637e-05/1.516, allocations: 14.86 kB / 0.8491 GB, free: 110.4 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.04522/1.562, allocations: 17.32 MB / 0.866 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-05/1.562, allocations: 0.875 kB / 0.866 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.564, allocations: 261.8 kB / 0.8662 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.016/1.58, allocations: 5.57 MB / 0.8717 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008263/1.58, allocations: 61.41 kB / 0.8717 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05/1.63, allocations: 23.26 MB / 0.8944 GB, free: 98.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.631, allocations: 0 / 0.8944 GB, free: 98.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04163/1.672, allocations: 15.41 MB / 0.9095 GB, free: 86.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.674, allocations: 0.5618 MB / 0.91 GB, free: 85.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/1.676, allocations: 48 kB / 0.9101 GB, free: 85.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004249/1.68, allocations: 344 kB / 0.9104 GB, free: 85.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002053/1.682, allocations: 0.5169 MB / 0.9109 GB, free: 85.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004782/1.682, allocations: 63.19 kB / 0.911 GB, free: 85.05 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004153/1.687, allocations: 2.111 MB / 0.913 GB, free: 83.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/1.687, allocations: 0 / 0.913 GB, free: 83.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004428/1.691, allocations: 1.003 MB / 0.914 GB, free: 82.28 MB / 0.573 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.04061/1.732, allocations: 15.94 MB / 0.9296 GB, free: 69.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01583/1.748, allocations: 5.712 MB / 0.9352 GB, free: 64.37 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.748, allocations: 0 / 0.9352 GB, free: 64.37 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.76, allocations: 4.266 MB / 0.9393 GB, free: 60.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.764, allocations: 256.2 kB / 0.9396 GB, free: 60.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05585/1.82, allocations: 32.44 MB / 0.9712 GB, free: 28.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.822, allocations: 1.907 MB / 0.9731 GB, free: 27.23 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001761/1.824, allocations: 240.2 kB / 0.9733 GB, free: 27.06 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.826, allocations: 1.368 MB / 0.9747 GB, free: 25.8 MB / 0.573 GB Notification: Performance of SimCode: time 9.969e-06/1.826, allocations: 0 / 0.9747 GB, free: 25.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4521/2.278, allocations: 82.03 MB / 1.055 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.279, allocations: 196.5 kB / 1.055 GB, free: 121 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_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c In file included from OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.o] Error 1