Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004432/0.004432, 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.77 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.0008525/0.0008524, allocations: 106.5 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3908/0.3908, allocations: 78.51 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 499.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2847, allocations: 69.36 MB / 0.5557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3868, allocations: 103.4 MB / 0.6567 GB, free: 2.988 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.387, allocations: 75.97 kB / 0.6567 GB, free: 2.914 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08713/0.4742, allocations: 36.16 MB / 0.6921 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4742, allocations: 0 / 0.6921 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.4742, allocations: 27.94 kB / 0.6921 GB, free: 14.55 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004733/0.479, allocations: 1.994 MB / 0.694 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.479, allocations: 8.031 kB / 0.694 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.4808, allocations: 378.1 kB / 0.6944 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4819, allocations: 0.8124 MB / 0.6952 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.4822, allocations: 221.8 kB / 0.6954 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4823, allocations: 68 kB / 0.6955 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.4841, allocations: 0.9356 MB / 0.6964 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4841, allocations: 3.953 kB / 0.6964 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.4842, allocations: 23.94 kB / 0.6964 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4842, allocations: 19.98 kB / 0.6964 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.4863, allocations: 1.063 MB / 0.6975 GB, free: 8.883 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.004242/0.4906, allocations: 2.759 MB / 0.7002 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.4932, allocations: 1.164 MB / 0.7013 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.4933, allocations: 16.98 kB / 0.7013 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4933, allocations: 51.45 kB / 0.7014 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 2.254e-06/0.4934, allocations: 4 kB / 0.7014 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.02234/0.5157, allocations: 6.808 MB / 0.708 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5158, allocations: 64.41 kB / 0.7081 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.517, allocations: 0.9405 MB / 0.709 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.5171, allocations: 41.64 kB / 0.709 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.5174, allocations: 441.9 kB / 0.7095 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.5177, allocations: 339 kB / 0.7098 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.5178, allocations: 12 kB / 0.7098 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5179, allocations: 341.9 kB / 0.7101 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.5191, allocations: 0.5993 MB / 0.7107 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.5203, allocations: 0.6022 MB / 0.7113 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5216, allocations: 0.6199 MB / 0.7119 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.5216, allocations: 3.938 kB / 0.7119 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004141/0.5257, allocations: 2.04 MB / 0.7139 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5257, allocations: 8 kB / 0.7139 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5258, allocations: 0 / 0.7139 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00857/0.5343, allocations: 2.522 MB / 0.7164 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.5348, allocations: 115.8 kB / 0.7165 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/0.5395, allocations: 2.452 MB / 0.7189 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.5408, allocations: 163.2 kB / 0.719 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.5409, allocations: 27.98 kB / 0.7191 GB, free: 2.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (54): * Single equations (assignments): 53 * 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.0003939/0.5413, allocations: 213.8 kB / 0.7193 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.5415, allocations: 114.6 kB / 0.7194 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.5519, allocations: 3.926 MB / 0.7232 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5519, allocations: 12 kB / 0.7232 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5519, allocations: 0 / 0.7232 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5519, allocations: 3.984 kB / 0.7232 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.5534, allocations: 1.203 MB / 0.7244 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5534, allocations: 4 kB / 0.7244 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.554, allocations: 111.9 kB / 0.7245 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004979/0.559, allocations: 1.669 MB / 0.7261 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.5591, allocations: 20 kB / 0.7261 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5766, allocations: 8.21 MB / 0.7342 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5766, allocations: 4 kB / 0.7342 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.5883, allocations: 4.78 MB / 0.7388 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.5888, allocations: 235.4 kB / 0.7391 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.589, allocations: 16 kB / 0.7391 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.5902, allocations: 115.9 kB / 0.7392 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.5906, allocations: 184.7 kB / 0.7394 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.5907, allocations: 23.98 kB / 0.7394 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009997/0.5917, allocations: 0.7485 MB / 0.7401 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5917, allocations: 0 / 0.7401 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008803/0.5926, allocations: 359.6 kB / 0.7405 GB, free: 12.31 MB / 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 (62): * Single equations (assignments): 61 * 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.0002934/0.5929, allocations: 169.7 kB / 0.7406 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005377/0.5983, allocations: 1.942 MB / 0.7425 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5983, allocations: 0 / 0.7425 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.6021, allocations: 1.45 MB / 0.7439 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.6028, allocations: 96.3 kB / 0.744 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.6074, allocations: 2.895 MB / 0.7469 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.6081, allocations: 1.085 MB / 0.7479 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.6085, allocations: 94.69 kB / 0.748 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.6088, allocations: 71.42 kB / 0.7481 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of SimCode: time 5.72e-07/0.6089, allocations: 0 / 0.7481 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of Templates: time 0.02644/0.6353, allocations: 18.95 MB / 0.7666 GB, free: 1.504 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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_Generator_Aggregation_Aggregated_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.Generator_Aggregation.Aggregated_system.o OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.c In file included from OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system_model.h:24: ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system.o] Error 1