Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004518/0.004518, allocations: 168.5 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.184/1.184, allocations: 223.2 MB / 239 MB, free: 1.789 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.000812/0.0008119, allocations: 103.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4183/0.4183, allocations: 79.44 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 0.489 GB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2916, allocations: 69.5 MB / 0.5569 GB, free: 39.16 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4261, allocations: 113.3 MB / 0.6676 GB, free: 8.223 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4263, allocations: 80.81 kB / 0.6677 GB, free: 8.145 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5303/0.9567, allocations: 123.9 MB / 0.7887 GB, free: 101 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9567, allocations: 0 / 0.7887 GB, free: 101 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004096/0.9571, allocations: 87.69 kB / 0.7888 GB, free: 100.9 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.0193/0.9764, allocations: 6.622 MB / 0.7952 GB, free: 98.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.9765, allocations: 8.469 kB / 0.7952 GB, free: 98.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.9877, allocations: 1.957 MB / 0.7972 GB, free: 98.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008292/0.996, allocations: 3.299 MB / 0.8004 GB, free: 97.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008249/0.9969, allocations: 1.007 MB / 0.8014 GB, free: 97.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008088/0.9977, allocations: 298.5 kB / 0.8016 GB, free: 97 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008219/1.006, allocations: 4.106 MB / 0.8057 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/1.006, allocations: 4.938 kB / 0.8057 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/1.006, allocations: 111.5 kB / 0.8058 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/1.006, allocations: 64.62 kB / 0.8058 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008043/1.014, allocations: 3.982 MB / 0.8097 GB, free: 96.7 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.0282/1.043, allocations: 15.66 MB / 0.825 GB, free: 92.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/1.057, allocations: 7.201 MB / 0.832 GB, free: 90.03 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/1.058, allocations: 0.7606 MB / 0.8328 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004915/1.063, allocations: 3.036 MB / 0.8357 GB, free: 88.08 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 4.369e-06/1.063, allocations: 3.281 kB / 0.8358 GB, free: 88.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.1134/1.177, allocations: 33.85 MB / 0.8688 GB, free: 83.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/1.177, allocations: 190.7 kB / 0.869 GB, free: 83.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007065/1.184, allocations: 4.052 MB / 0.8729 GB, free: 81.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.185, allocations: 90.97 kB / 0.873 GB, free: 81.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/1.186, allocations: 1.87 MB / 0.8749 GB, free: 80.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.188, allocations: 1.16 MB / 0.876 GB, free: 79.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.188, allocations: 75.31 kB / 0.8761 GB, free: 79.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.188, allocations: 454 kB / 0.8765 GB, free: 78.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/1.193, allocations: 2.419 MB / 0.8789 GB, free: 77.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/1.197, allocations: 2.789 MB / 0.8816 GB, free: 76.63 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/1.202, allocations: 2.551 MB / 0.8841 GB, free: 74.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.202, allocations: 4 kB / 0.8841 GB, free: 74.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01505/1.217, allocations: 7.821 MB / 0.8917 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.217, allocations: 4.125 kB / 0.8917 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/1.217, allocations: 16.75 kB / 0.8917 GB, free: 67.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02271/1.24, allocations: 11.1 MB / 0.9026 GB, free: 58.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/1.243, allocations: 0.5871 MB / 0.9031 GB, free: 57.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.257, allocations: 6.962 MB / 0.9099 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/1.263, allocations: 0.6985 MB / 0.9106 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005412/1.264, allocations: 134.7 kB / 0.9108 GB, free: 50.91 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.001768/1.265, allocations: 0.7034 MB / 0.9114 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.267, allocations: 481.5 kB / 0.9119 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03493/1.302, allocations: 14.07 MB / 0.9256 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/1.302, allocations: 32 kB / 0.9257 GB, free: 38.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.302, allocations: 3.844 kB / 0.9257 GB, free: 38.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/1.302, allocations: 18.77 kB / 0.9257 GB, free: 38.64 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.04318/1.345, allocations: 20.17 MB / 0.9454 GB, free: 19.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.345, allocations: 2.875 kB / 0.9454 GB, free: 19.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/1.348, allocations: 427.5 kB / 0.9458 GB, free: 18.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.362, allocations: 5.593 MB / 0.9513 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007826/1.363, allocations: 79.97 kB / 0.9513 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04816/1.411, allocations: 23.26 MB / 0.9741 GB, free: 5.566 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.412, allocations: 0 / 0.9741 GB, free: 5.566 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0483/1.46, allocations: 17.4 MB / 0.991 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.462, allocations: 0.7514 MB / 0.9918 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.464, allocations: 68 kB / 0.9918 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005075/1.469, allocations: 499.5 kB / 0.9923 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002495/1.471, allocations: 0.6158 MB / 0.9929 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005999/1.472, allocations: 95.97 kB / 0.993 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.2553/1.727, allocations: 3.097 MB / 0.996 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.11e-07/1.727, allocations: 0 / 0.996 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005875/1.733, allocations: 1.279 MB / 0.9973 GB, free: 125.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.0009302/1.734, allocations: 394.8 kB / 0.9977 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01894/1.753, allocations: 7.346 MB / 1.005 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.753, allocations: 4.125 kB / 1.005 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/1.765, allocations: 4.97 MB / 1.01 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.768, allocations: 393.3 kB / 1.01 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.783, allocations: 10.86 MB / 1.021 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/1.785, allocations: 2.426 MB / 1.023 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002316/1.787, allocations: 403.9 kB / 1.023 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.788, allocations: 241.4 kB / 1.024 GB, free: 119 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/1.788, allocations: 4 kB / 1.024 GB, free: 119 MB / 0.5886 GB Notification: Performance of Templates: time 0.08928/1.878, allocations: 68.96 MB / 1.091 GB, free: 115.4 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR -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_AVR.o OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c In file included from OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_model.h:24: ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_functions.h:587: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_AVR.o] Error 1