Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005534/0.005534, allocations: 171.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008463/0.0008464, allocations: 102.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06754/0.06754, allocations: 12.59 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4168/0.4168, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005611, allocations: 18.22 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 69.34 MB / 0.5962 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5944, allocations: 104.9 MB / 0.6987 GB, free: 37.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5947, allocations: 76.86 kB / 0.6987 GB, free: 37.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08701/0.6817, allocations: 35.33 MB / 0.7332 GB, free: 33.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6817, allocations: 3.906 kB / 0.7332 GB, free: 33.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.247e-05/0.6818, allocations: 15.62 kB / 0.7332 GB, free: 33.3 MB / 474.7 MB 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.004786/0.6866, allocations: 1.996 MB / 0.7352 GB, free: 32.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.6866, allocations: 15.67 kB / 0.7352 GB, free: 32.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.6886, allocations: 379.7 kB / 0.7356 GB, free: 32.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6899, allocations: 0.8109 MB / 0.7364 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.6902, allocations: 225.8 kB / 0.7366 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.6903, allocations: 68.03 kB / 0.7366 GB, free: 31.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.692, allocations: 0.9472 MB / 0.7376 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.692, allocations: 0 / 0.7376 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.6921, allocations: 22.16 kB / 0.7376 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6921, allocations: 15.59 kB / 0.7376 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.6941, allocations: 1.061 MB / 0.7386 GB, free: 31.72 MB / 474.7 MB 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.004195/0.6983, allocations: 2.759 MB / 0.7413 GB, free: 30.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.7008, allocations: 1.165 MB / 0.7425 GB, free: 30.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.464e-05/0.7009, allocations: 20.64 kB / 0.7425 GB, free: 30.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.7009, allocations: 50.47 kB / 0.7425 GB, free: 30.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.665e-06/0.7009, allocations: 0 / 0.7425 GB, free: 30.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.02233/0.7233, allocations: 6.809 MB / 0.7492 GB, free: 27.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.7234, allocations: 60.19 kB / 0.7492 GB, free: 27.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.7248, allocations: 0.9383 MB / 0.7502 GB, free: 27.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.7251, allocations: 40.8 kB / 0.7502 GB, free: 27.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.7253, allocations: 449 kB / 0.7506 GB, free: 27.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.7256, allocations: 341.4 kB / 0.751 GB, free: 26.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.7257, allocations: 18.09 kB / 0.751 GB, free: 26.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.7258, allocations: 347.8 kB / 0.7513 GB, free: 26.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.7269, allocations: 0.5895 MB / 0.7519 GB, free: 26.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.728, allocations: 0.6049 MB / 0.7525 GB, free: 26.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7291, allocations: 0.6226 MB / 0.7531 GB, free: 26.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7291, allocations: 0 / 0.7531 GB, free: 26.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003925/0.7331, allocations: 2.038 MB / 0.7551 GB, free: 26.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7331, allocations: 3.906 kB / 0.7551 GB, free: 26.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.7331, allocations: 0 / 0.7551 GB, free: 26.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008179/0.7413, allocations: 2.528 MB / 0.7575 GB, free: 25.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.7419, allocations: 106.6 kB / 0.7576 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.7469, allocations: 2.454 MB / 0.76 GB, free: 24.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.7487, allocations: 151.7 kB / 0.7602 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.7488, allocations: 27.06 kB / 0.7602 GB, free: 24.36 MB / 474.7 MB 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.0005338/0.7494, allocations: 217.5 kB / 0.7604 GB, free: 24.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.7496, allocations: 119.8 kB / 0.7605 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.7597, allocations: 3.911 MB / 0.7644 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.7597, allocations: 13.58 kB / 0.7644 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.7597, allocations: 0 / 0.7644 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/0.7598, allocations: 7.984 kB / 0.7644 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.7615, allocations: 1.22 MB / 0.7656 GB, free: 22.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7615, allocations: 0 / 0.7656 GB, free: 22.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.7622, allocations: 112.9 kB / 0.7657 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/0.7671, allocations: 1.665 MB / 0.7673 GB, free: 21.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.7672, allocations: 22.56 kB / 0.7673 GB, free: 21.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/0.7837, allocations: 8.203 MB / 0.7753 GB, free: 18.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7838, allocations: 0 / 0.7753 GB, free: 18.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.7952, allocations: 4.788 MB / 0.78 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.796, allocations: 232.1 kB / 0.7802 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.7961, allocations: 22.2 kB / 0.7802 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7974, allocations: 114.8 kB / 0.7804 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/0.7979, allocations: 177.5 kB / 0.7805 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.798, allocations: 31.05 kB / 0.7806 GB, free: 14.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009897/0.799, allocations: 0.7456 MB / 0.7813 GB, free: 13.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.799, allocations: 0 / 0.7813 GB, free: 13.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009359/0.7999, allocations: 354.4 kB / 0.7816 GB, free: 13.37 MB / 474.7 MB 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.8002, allocations: 175.4 kB / 0.7818 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005203/0.8054, allocations: 1.937 MB / 0.7837 GB, free: 11.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8055, allocations: 4 kB / 0.7837 GB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.8091, allocations: 1.457 MB / 0.7851 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009763/0.8101, allocations: 95.92 kB / 0.7852 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.8143, allocations: 2.893 MB / 0.788 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.8148, allocations: 1.077 MB / 0.7891 GB, free: 6.621 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000518/0.8153, allocations: 94.69 kB / 0.7892 GB, free: 6.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.8156, allocations: 66.86 kB / 0.7892 GB, free: 6.461 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8156, allocations: 0 / 0.7892 GB, free: 6.461 MB / 474.7 MB Notification: Performance of Templates: time 0.02873/0.8443, allocations: 18.96 MB / 0.8077 GB, free: 3.578 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.o OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.c In file included from OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system_model.h:24: ./OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.o] Error 1