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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004335/0.004335, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.156/1.156, allocations: 223.2 MB / 239 MB, free: 1.805 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.000889/0.0008889, allocations: 106.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.1.0-master/package.mo): time 0.4168/0.4168, allocations: 79.44 MB / 420.8 MB, free: 43.74 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 15.98 kB / 0.489 GB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3079, allocations: 69.5 MB / 0.5569 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4166, allocations: 104.7 MB / 0.6591 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.4169, allocations: 79.95 kB / 0.6592 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2022/0.6191, allocations: 87.7 MB / 0.7448 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6191, allocations: 3.938 kB / 0.7448 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001446/0.6192, allocations: 60 kB / 0.7449 GB, free: 8.48 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.01265/0.6319, allocations: 4.849 MB / 0.7496 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.6319, allocations: 8.031 kB / 0.7496 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.6439, allocations: 2.165 MB / 0.7518 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.6479, allocations: 2.15 MB / 0.7539 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006267/0.6486, allocations: 0.6614 MB / 0.7545 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.6489, allocations: 203.9 kB / 0.7547 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.6543, allocations: 2.838 MB / 0.7575 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.6543, allocations: 3.953 kB / 0.7575 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.6545, allocations: 76 kB / 0.7575 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.6546, allocations: 44 kB / 0.7576 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.6602, allocations: 3.017 MB / 0.7605 GB, free: 8.234 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.2486/0.9089, allocations: 11.2 MB / 0.7715 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.9209, allocations: 5.669 MB / 0.777 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.9211, allocations: 43.42 kB / 0.777 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9212, allocations: 64.64 kB / 0.7771 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 3.666e-06/0.9212, allocations: 0 / 0.7771 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.1015/1.023, allocations: 28.95 MB / 0.8054 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.023, allocations: 77.62 kB / 0.8055 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004252/1.027, allocations: 2.743 MB / 0.8081 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004253/1.028, allocations: 70.92 kB / 0.8082 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/1.028, allocations: 1.359 MB / 0.8095 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/1.029, allocations: 0.8616 MB / 0.8104 GB, free: 101 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.029, allocations: 46.72 kB / 0.8104 GB, free: 101 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/1.029, allocations: 392.7 kB / 0.8108 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/1.033, allocations: 1.769 MB / 0.8125 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/1.036, allocations: 2.025 MB / 0.8145 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.039, allocations: 1.868 MB / 0.8163 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.039, allocations: 3.688 kB / 0.8163 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0107/1.05, allocations: 5.911 MB / 0.8221 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.05, allocations: 8.594 kB / 0.8221 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.05, allocations: 9.797 kB / 0.8221 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/1.068, allocations: 6.527 MB / 0.8285 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.069, allocations: 303.7 kB / 0.8288 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.081, allocations: 6.124 MB / 0.8348 GB, free: 98.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/1.084, allocations: 476.5 kB / 0.8352 GB, free: 98.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.085, allocations: 83.92 kB / 0.8353 GB, free: 98.46 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.001067/1.086, allocations: 475.1 kB / 0.8357 GB, free: 98.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/1.086, allocations: 338.2 kB / 0.8361 GB, free: 97.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/1.119, allocations: 12.89 MB / 0.8487 GB, free: 95.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.119, allocations: 22 kB / 0.8487 GB, free: 95.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.119, allocations: 0 / 0.8487 GB, free: 95.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-05/1.119, allocations: 21.47 kB / 0.8487 GB, free: 95.31 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.03712/1.156, allocations: 17.32 MB / 0.8656 GB, free: 89.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.156, allocations: 0 / 0.8656 GB, free: 89.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.158, allocations: 258.9 kB / 0.8659 GB, free: 88.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01443/1.172, allocations: 5.573 MB / 0.8713 GB, free: 84.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.172, allocations: 51.61 kB / 0.8713 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04505/1.217, allocations: 23.28 MB / 0.8941 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.218, allocations: 4 kB / 0.8941 GB, free: 64.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03597/1.254, allocations: 15.4 MB / 0.9091 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.255, allocations: 0.5652 MB / 0.9097 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/1.255, allocations: 52.12 kB / 0.9097 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.258, allocations: 340.4 kB / 0.91 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/1.259, allocations: 0.5134 MB / 0.9105 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.26, allocations: 63.75 kB / 0.9106 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002325/1.262, allocations: 2.114 MB / 0.9127 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.262, allocations: 0 / 0.9127 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001909/1.264, allocations: 0.9986 MB / 0.9136 GB, free: 48.25 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.0004908/1.264, allocations: 342.4 kB / 0.914 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.277, allocations: 5.716 MB / 0.9196 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.277, allocations: 0 / 0.9196 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00944/1.287, allocations: 4.256 MB / 0.9237 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.288, allocations: 262.6 kB / 0.924 GB, free: 38.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/1.296, allocations: 7.55 MB / 0.9313 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.297, allocations: 1.91 MB / 0.9332 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008926/1.298, allocations: 243.4 kB / 0.9334 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/1.298, allocations: 159.4 kB / 0.9336 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.298, allocations: 8 kB / 0.9336 GB, free: 29.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.06529/1.364, allocations: 53.22 MB / 0.9856 GB, free: 8.105 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_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: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); ^ 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.o] Error 1