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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003944/0.003944, allocations: 170.6 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.161/1.161, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009896/0.0009898, allocations: 105.3 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3966/0.3966, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 8 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3096, allocations: 69.35 MB / 0.5557 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.4186, allocations: 104 MB / 0.6573 GB, free: 2.391 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.4188, allocations: 79.95 kB / 0.6574 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2166/0.6354, allocations: 96.2 MB / 0.7513 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.634e-06/0.6355, allocations: 0 / 0.7513 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001835/0.6357, allocations: 56 kB / 0.7514 GB, free: 1.406 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.01312/0.6488, allocations: 4.767 MB / 0.756 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6488, allocations: 8.031 kB / 0.756 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/0.6558, allocations: 1.287 MB / 0.7573 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.659, allocations: 1.861 MB / 0.7591 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006515/0.6597, allocations: 0.6575 MB / 0.7597 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.6601, allocations: 199.9 kB / 0.7599 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.6656, allocations: 2.842 MB / 0.7627 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.6656, allocations: 0 / 0.7627 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.6658, allocations: 83.95 kB / 0.7628 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.6659, allocations: 48 kB / 0.7628 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005783/0.6717, allocations: 3.017 MB / 0.7658 GB, free: 2.406 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.2224/0.8941, allocations: 10.63 MB / 0.7761 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.9048, allocations: 5.669 MB / 0.7817 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.905, allocations: 39.66 kB / 0.7817 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.9051, allocations: 62.36 kB / 0.7818 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.448e-06/0.9051, allocations: 3.625 kB / 0.7818 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.09747/1.003, allocations: 28.94 MB / 0.81 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.003, allocations: 81.23 kB / 0.8101 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/1.006, allocations: 2.393 MB / 0.8125 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/1.007, allocations: 65.55 kB / 0.8125 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008164/1.007, allocations: 1.377 MB / 0.8139 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007708/1.008, allocations: 0.8607 MB / 0.8147 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/1.008, allocations: 45.06 kB / 0.8148 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/1.008, allocations: 392.8 kB / 0.8151 GB, free: 99.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.012, allocations: 1.763 MB / 0.8169 GB, free: 99.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/1.015, allocations: 2.028 MB / 0.8188 GB, free: 99.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/1.018, allocations: 1.863 MB / 0.8206 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.018, allocations: 7.844 kB / 0.8207 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01009/1.028, allocations: 5.915 MB / 0.8264 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.028, allocations: 10.66 kB / 0.8264 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.028, allocations: 4.406 kB / 0.8264 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/1.045, allocations: 6.526 MB / 0.8328 GB, free: 98.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.046, allocations: 301.6 kB / 0.8331 GB, free: 98.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.058, allocations: 6.129 MB / 0.8391 GB, free: 97.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.061, allocations: 461.7 kB / 0.8395 GB, free: 97.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/1.061, allocations: 91.39 kB / 0.8396 GB, free: 97.05 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.001097/1.062, allocations: 473.5 kB / 0.8401 GB, free: 96.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/1.063, allocations: 346.2 kB / 0.8404 GB, free: 96.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03111/1.094, allocations: 12.89 MB / 0.853 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.094, allocations: 28.31 kB / 0.853 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.094, allocations: 0 / 0.853 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/1.094, allocations: 10.73 kB / 0.853 GB, free: 93.91 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.03487/1.129, allocations: 17.03 MB / 0.8697 GB, free: 85.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.129, allocations: 4 kB / 0.8697 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.13, allocations: 256.1 kB / 0.8699 GB, free: 85.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01373/1.144, allocations: 5.564 MB / 0.8753 GB, free: 81.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/1.144, allocations: 55.89 kB / 0.8754 GB, free: 81.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04382/1.188, allocations: 23.27 MB / 0.8981 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.188, allocations: 3.562 kB / 0.8981 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03475/1.223, allocations: 15.41 MB / 0.9132 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009179/1.224, allocations: 0.5021 MB / 0.9137 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/1.224, allocations: 48 kB / 0.9137 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.227, allocations: 338.2 kB / 0.914 GB, free: 47.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/1.228, allocations: 0.5163 MB / 0.9145 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.228, allocations: 60 kB / 0.9146 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001986/1.23, allocations: 1.847 MB / 0.9164 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.23, allocations: 4 kB / 0.9164 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001792/1.232, allocations: 0.9849 MB / 0.9174 GB, free: 45.13 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.0004752/1.233, allocations: 340.2 kB / 0.9177 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.245, allocations: 5.705 MB / 0.9232 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.245, allocations: 0 / 0.9232 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009234/1.254, allocations: 4.273 MB / 0.9274 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.256, allocations: 267.2 kB / 0.9277 GB, free: 35.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/1.264, allocations: 7.53 MB / 0.935 GB, free: 27.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/1.265, allocations: 1.905 MB / 0.9369 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000839/1.266, allocations: 247.4 kB / 0.9371 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/1.266, allocations: 155.4 kB / 0.9373 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.266, allocations: 0 / 0.9373 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.05953/1.326, allocations: 50.41 MB / 0.9865 GB, free: 7.441 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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: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); ^ 1 error generated. make: *** [: OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.o] Error 1