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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.004355/0.004355, allocations: 170.5 kB / 15.11 MB, free: 5.992 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.21/1.21, 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.0008002/0.0007999, allocations: 94.77 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4102/0.4102, allocations: 78.59 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 499.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.298, allocations: 69.35 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4121, allocations: 104 MB / 0.6573 GB, free: 2.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.4123, allocations: 75.53 kB / 0.6574 GB, free: 2.457 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2283/0.6406, allocations: 96.19 MB / 0.7513 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6407, allocations: 0 / 0.7513 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001943/0.6409, allocations: 59.94 kB / 0.7514 GB, free: 1.551 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.0141/0.655, allocations: 4.763 MB / 0.7561 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.655, allocations: 8.031 kB / 0.7561 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/0.6627, allocations: 1.295 MB / 0.7573 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.6671, allocations: 1.85 MB / 0.7591 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007143/0.6678, allocations: 0.6653 MB / 0.7598 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006286/0.6685, allocations: 199.9 kB / 0.76 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006395/0.6749, allocations: 2.834 MB / 0.7627 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.6749, allocations: 0 / 0.7627 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.6752, allocations: 79.95 kB / 0.7628 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.6753, allocations: 48 kB / 0.7629 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006308/0.6816, allocations: 3.021 MB / 0.7658 GB, free: 2.559 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.2491/0.9307, allocations: 10.64 MB / 0.7762 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.9427, allocations: 5.67 MB / 0.7817 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.9432, allocations: 48.36 kB / 0.7818 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.9432, allocations: 62.97 kB / 0.7818 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 5.019e-06/0.9432, allocations: 0 / 0.7818 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.1033/1.047, allocations: 28.94 MB / 0.8101 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/1.047, allocations: 85.14 kB / 0.8102 GB, free: 101 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/1.051, allocations: 2.391 MB / 0.8125 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000617/1.051, allocations: 70.02 kB / 0.8126 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000843/1.052, allocations: 1.373 MB / 0.8139 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008764/1.053, allocations: 0.8556 MB / 0.8148 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.053, allocations: 51.31 kB / 0.8148 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/1.053, allocations: 391.3 kB / 0.8152 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/1.057, allocations: 1.763 MB / 0.8169 GB, free: 99.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/1.06, allocations: 2.025 MB / 0.8189 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/1.063, allocations: 1.862 MB / 0.8207 GB, free: 99.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.063, allocations: 7.688 kB / 0.8207 GB, free: 99.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01093/1.074, allocations: 5.914 MB / 0.8265 GB, free: 98.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.074, allocations: 7.469 kB / 0.8265 GB, free: 98.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.074, allocations: 5.156 kB / 0.8265 GB, free: 98.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/1.092, allocations: 6.53 MB / 0.8329 GB, free: 98.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.094, allocations: 302.6 kB / 0.8332 GB, free: 98.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.106, allocations: 6.131 MB / 0.8391 GB, free: 97.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.109, allocations: 466.7 kB / 0.8396 GB, free: 97.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.11, allocations: 77.56 kB / 0.8397 GB, free: 97.06 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.001161/1.111, allocations: 479.7 kB / 0.8401 GB, free: 96.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/1.111, allocations: 350.4 kB / 0.8405 GB, free: 96.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0327/1.144, allocations: 12.89 MB / 0.853 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/1.144, allocations: 25.91 kB / 0.8531 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.144, allocations: 0 / 0.8531 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/1.144, allocations: 12.7 kB / 0.8531 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.03774/1.182, allocations: 17.02 MB / 0.8697 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.182, allocations: 7.25 kB / 0.8697 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.184, allocations: 257.6 kB / 0.87 GB, free: 85.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.199, allocations: 5.571 MB / 0.8754 GB, free: 81.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/1.199, allocations: 47.52 kB / 0.8754 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0488/1.248, allocations: 23.27 MB / 0.8982 GB, free: 61.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.248, allocations: 0 / 0.8982 GB, free: 61.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0373/1.286, allocations: 15.42 MB / 0.9132 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.287, allocations: 0.4895 MB / 0.9137 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007025/1.288, allocations: 48 kB / 0.9138 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.29, allocations: 337.5 kB / 0.9141 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/1.292, allocations: 0.5178 MB / 0.9146 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.292, allocations: 63.7 kB / 0.9146 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002183/1.294, allocations: 1.848 MB / 0.9164 GB, free: 46.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.12e-07/1.294, allocations: 4 kB / 0.9164 GB, free: 46.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002416/1.297, allocations: 0.9861 MB / 0.9174 GB, free: 45.42 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.0005728/1.297, allocations: 339.6 kB / 0.9177 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.311, allocations: 5.711 MB / 0.9233 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.311, allocations: 0 / 0.9233 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/1.321, allocations: 4.265 MB / 0.9275 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.323, allocations: 261.2 kB / 0.9277 GB, free: 35.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/1.332, allocations: 7.525 MB / 0.9351 GB, free: 28.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/1.333, allocations: 1.91 MB / 0.9369 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001211/1.334, allocations: 247.1 kB / 0.9372 GB, free: 25.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.335, allocations: 159.4 kB / 0.9373 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/1.335, allocations: 0 / 0.9373 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.07375/1.409, allocations: 50.42 MB / 0.9866 GB, free: 7.582 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile make -j1 -f OpenIPSL_release_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_release_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_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: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); ^ 1 error generated. make: *** [: OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.o] Error 1