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-master/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-master/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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009345/0.009346, allocations: 172 kB / 15.11 MB, free: 5.969 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.424/1.424, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.00107/0.00107, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05951/0.05951, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4031/0.4031, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.000521, allocations: 25.8 kB / 0.5285 GB, free: 35.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5907, allocations: 105.5 MB / 0.6992 GB, free: 37.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.591, allocations: 78.61 kB / 0.6993 GB, free: 37.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2055/0.7965, allocations: 93.86 MB / 0.7909 GB, free: 4.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.7965, allocations: 4 kB / 0.791 GB, free: 4.496 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002593/0.7968, allocations: 52 kB / 0.791 GB, free: 4.445 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.01547/0.8123, allocations: 4.77 MB / 0.7957 GB, free: 15.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8124, allocations: 11.98 kB / 0.7957 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008314/0.8207, allocations: 1.291 MB / 0.7969 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006946/0.8277, allocations: 1.853 MB / 0.7987 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.829, allocations: 0.6661 MB / 0.7994 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.8307, allocations: 195.9 kB / 0.7996 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.842, allocations: 2.846 MB / 0.8024 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.842, allocations: 0 / 0.8024 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.8424, allocations: 76 kB / 0.8024 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.8425, allocations: 44 kB / 0.8025 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009503/0.852, allocations: 3.017 MB / 0.8054 GB, free: 6.465 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.02989/0.8819, allocations: 10.64 MB / 0.8158 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.8997, allocations: 5.668 MB / 0.8213 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000579/0.9003, allocations: 45.95 kB / 0.8214 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.9004, allocations: 60.56 kB / 0.8214 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 5.821e-06/0.9004, allocations: 0 / 0.8214 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249): time 0.1067/1.007, allocations: 28.95 MB / 0.8497 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/1.007, allocations: 81.41 kB / 0.8498 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/1.012, allocations: 2.399 MB / 0.8521 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007801/1.013, allocations: 65.7 kB / 0.8522 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.014, allocations: 1.368 MB / 0.8535 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.015, allocations: 0.8623 MB / 0.8544 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/1.015, allocations: 44 kB / 0.8544 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.015, allocations: 394.5 kB / 0.8548 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/1.019, allocations: 1.761 MB / 0.8565 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.023, allocations: 2.031 MB / 0.8585 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/1.027, allocations: 1.862 MB / 0.8603 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.027, allocations: 0 / 0.8603 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01334/1.04, allocations: 5.92 MB / 0.8661 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.04, allocations: 4 kB / 0.8661 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.04, allocations: 11.94 kB / 0.8661 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02031/1.061, allocations: 6.522 MB / 0.8725 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.063, allocations: 303.6 kB / 0.8728 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.078, allocations: 6.122 MB / 0.8788 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/1.083, allocations: 473.8 kB / 0.8792 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/1.083, allocations: 87.92 kB / 0.8793 GB, free: 9.75 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.001661/1.085, allocations: 473.5 kB / 0.8797 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.086, allocations: 343.8 kB / 0.8801 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03765/1.123, allocations: 12.89 MB / 0.8927 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/1.124, allocations: 27.95 kB / 0.8927 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.124, allocations: 0 / 0.8927 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.132e-05/1.124, allocations: 11.95 kB / 0.8927 GB, free: 11.93 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.04635/1.17, allocations: 17.03 MB / 0.9093 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/1.17, allocations: 0 / 0.9093 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.172, allocations: 251.7 kB / 0.9096 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/1.19, allocations: 5.577 MB / 0.915 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008179/1.19, allocations: 48 kB / 0.9151 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3752/1.566, allocations: 23.27 MB / 0.9378 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.566, allocations: 1.719 kB / 0.9378 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04028/1.606, allocations: 15.41 MB / 0.9528 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.608, allocations: 0.4961 MB / 0.9533 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008914/1.609, allocations: 47.09 kB / 0.9534 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.612, allocations: 342.7 kB / 0.9537 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001925/1.614, allocations: 0.5158 MB / 0.9542 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.614, allocations: 59.47 kB / 0.9542 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00284/1.617, allocations: 1.849 MB / 0.956 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/1.617, allocations: 0 / 0.956 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003538/1.62, allocations: 0.9858 MB / 0.957 GB, free: 153.4 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.0007107/1.621, allocations: 354.6 kB / 0.9573 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.636, allocations: 5.71 MB / 0.9629 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.636, allocations: 0 / 0.9629 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.647, allocations: 4.273 MB / 0.9671 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.65, allocations: 261.7 kB / 0.9673 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.661, allocations: 7.531 MB / 0.9747 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.662, allocations: 1.903 MB / 0.9766 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001373/1.664, allocations: 246.2 kB / 0.9768 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/1.664, allocations: 160.3 kB / 0.9769 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.154e-06/1.664, allocations: 0 / 0.9769 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.07719/1.741, allocations: 50.4 MB / 1.026 GB, free: 117.2 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_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: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); ^ 1 error generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.o] Error 1