Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003894/0.003894, 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 4.0.0+maint.om/package.mo): time 1.14/1.14, 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.0007972/0.0007972, allocations: 95.62 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3872/0.3872, allocations: 78.5 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 499.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 69.35 MB / 0.5557 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3924, allocations: 104.1 MB / 0.6574 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.3927, allocations: 79.95 kB / 0.6574 GB, free: 2.238 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09621/0.4889, allocations: 39.34 MB / 0.6958 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4889, allocations: 0 / 0.6958 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.489, allocations: 20 kB / 0.6959 GB, free: 10.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.005103/0.4941, allocations: 2.146 MB / 0.698 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4941, allocations: 8.031 kB / 0.698 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.4961, allocations: 409.8 kB / 0.6984 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.4974, allocations: 0.8656 MB / 0.6992 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.4977, allocations: 238.4 kB / 0.6994 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4978, allocations: 72 kB / 0.6995 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.4998, allocations: 1.038 MB / 0.7005 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4998, allocations: 0 / 0.7005 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.4999, allocations: 32 kB / 0.7005 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4999, allocations: 20 kB / 0.7006 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.5023, allocations: 1.163 MB / 0.7017 GB, free: 4.52 MB / 0.4948 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.005413/0.5077, allocations: 3.563 MB / 0.7052 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.5107, allocations: 1.748 MB / 0.7069 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.241e-05/0.5108, allocations: 28.91 kB / 0.7069 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5108, allocations: 43.56 kB / 0.707 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=103): time 2.976e-06/0.5108, allocations: 0 / 0.707 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.02334/0.5342, allocations: 7.058 MB / 0.7138 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5342, allocations: 60.41 kB / 0.7139 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.5359, allocations: 1.059 MB / 0.7149 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.5361, allocations: 45.7 kB / 0.715 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.5364, allocations: 0.5142 MB / 0.7155 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.5368, allocations: 370.5 kB / 0.7158 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.5368, allocations: 20 kB / 0.7159 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.537, allocations: 345.9 kB / 0.7162 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.5383, allocations: 0.6305 MB / 0.7168 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.5397, allocations: 0.7388 MB / 0.7175 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.5411, allocations: 0.6746 MB / 0.7182 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5411, allocations: 3.938 kB / 0.7182 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00461/0.5457, allocations: 2.188 MB / 0.7203 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5457, allocations: 13.86 kB / 0.7203 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5457, allocations: 0 / 0.7203 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008932/0.5547, allocations: 2.522 MB / 0.7228 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.5554, allocations: 147.7 kB / 0.7229 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004956/0.5604, allocations: 2.46 MB / 0.7253 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.562, allocations: 179.2 kB / 0.7255 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.5621, allocations: 35.97 kB / 0.7255 GB, free: 11.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (69): * Single equations (assignments): 68 * 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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0004769/0.5626, allocations: 237.6 kB / 0.7258 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.5628, allocations: 134.3 kB / 0.7259 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.5737, allocations: 4.002 MB / 0.7298 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5738, allocations: 8 kB / 0.7298 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5738, allocations: 7.938 kB / 0.7298 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.5738, allocations: 7.984 kB / 0.7298 GB, free: 7.242 MB / 0.5261 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.01316/0.587, allocations: 5.688 MB / 0.7354 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.5871, allocations: 7.984 kB / 0.7354 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.588, allocations: 135.8 kB / 0.7355 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005351/0.5934, allocations: 1.664 MB / 0.7372 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.5936, allocations: 20 kB / 0.7372 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.6121, allocations: 8.216 MB / 0.7452 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6121, allocations: 0 / 0.7452 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.625, allocations: 4.964 MB / 0.75 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.6257, allocations: 255.1 kB / 0.7503 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/0.6261, allocations: 16 kB / 0.7503 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.6275, allocations: 131.9 kB / 0.7504 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/0.6281, allocations: 176.7 kB / 0.7506 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.6282, allocations: 24 kB / 0.7506 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001401/0.6296, allocations: 0.8356 MB / 0.7514 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6296, allocations: 0 / 0.7514 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001338/0.631, allocations: 391.9 kB / 0.7518 GB, free: 428 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * 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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003438/0.6313, allocations: 175 kB / 0.752 GB, free: 244 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006018/0.6374, allocations: 2.047 MB / 0.754 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6374, allocations: 0 / 0.754 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.6415, allocations: 1.499 MB / 0.7554 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/0.6425, allocations: 111.3 kB / 0.7555 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.6476, allocations: 3.143 MB / 0.7586 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.6484, allocations: 1.14 MB / 0.7597 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005106/0.6489, allocations: 99.25 kB / 0.7598 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.6492, allocations: 79.42 kB / 0.7599 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of SimCode: time 5.92e-07/0.6492, allocations: 0 / 0.7599 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of Templates: time 0.2118/0.861, allocations: 19.69 MB / 0.7791 GB, free: 142.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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_RaPIdExperiments_Line_Aggregation_Reference_system -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.RaPIdExperiments.Line_Aggregation.Reference_system.o OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.c In file included from OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_model.h:24: ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_functions.h:153: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.RaPIdExperiments.Line_Aggregation.Reference_system.o] Error 1