Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.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.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004543/0.004543, allocations: 171.9 kB / 15.12 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.176/1.176, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008614, allocations: 98.81 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4339/0.4339, allocations: 79.43 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8 kB / 0.489 GB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 69.52 MB / 0.5569 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.4034, allocations: 104.7 MB / 0.6592 GB, free: 12.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4036, allocations: 77.09 kB / 0.6593 GB, free: 12.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1173/0.521, allocations: 45.48 MB / 0.7037 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.521, allocations: 5.969 kB / 0.7037 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.147e-05/0.5211, allocations: 28 kB / 0.7037 GB, free: 14.83 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00657/0.5277, allocations: 2.603 MB / 0.7063 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5277, allocations: 8.031 kB / 0.7063 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.5331, allocations: 0.9617 MB / 0.7072 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.5351, allocations: 1.237 MB / 0.7084 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.5354, allocations: 260.2 kB / 0.7087 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.5356, allocations: 99.84 kB / 0.7088 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.5376, allocations: 1.128 MB / 0.7099 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5377, allocations: 0 / 0.7099 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5378, allocations: 36 kB / 0.7099 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.5378, allocations: 20 kB / 0.7099 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.5401, allocations: 1.23 MB / 0.7111 GB, free: 7.109 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.009114/0.5492, allocations: 4.712 MB / 0.7157 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.5523, allocations: 2.191 MB / 0.7179 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.5524, allocations: 25.27 kB / 0.7179 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.5525, allocations: 51.88 kB / 0.7179 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 2.725e-06/0.5525, allocations: 0 / 0.7179 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.02758/0.5801, allocations: 7.907 MB / 0.7257 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5802, allocations: 68.72 kB / 0.7257 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.5826, allocations: 1.546 MB / 0.7272 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.5827, allocations: 52.89 kB / 0.7273 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.5832, allocations: 0.6217 MB / 0.7279 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.5836, allocations: 469.1 kB / 0.7283 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.5837, allocations: 24 kB / 0.7284 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5838, allocations: 345.9 kB / 0.7287 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.5851, allocations: 0.678 MB / 0.7294 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5864, allocations: 0.7774 MB / 0.7301 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5877, allocations: 0.7249 MB / 0.7308 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5877, allocations: 0 / 0.7308 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004533/0.5923, allocations: 2.387 MB / 0.7332 GB, free: 24 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5923, allocations: 11.95 kB / 0.7332 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5923, allocations: 0 / 0.7332 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.6026, allocations: 3.073 MB / 0.7362 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.6034, allocations: 179.8 kB / 0.7363 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.6086, allocations: 2.695 MB / 0.739 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6105, allocations: 170.9 kB / 0.7391 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6106, allocations: 43.98 kB / 0.7392 GB, free: 9.828 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 (87): * Single equations (assignments): 86 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005354/0.6111, allocations: 266.4 kB / 0.7394 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.6114, allocations: 169.8 kB / 0.7396 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.6222, allocations: 4.152 MB / 0.7436 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6222, allocations: 12 kB / 0.7437 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6222, allocations: 3.938 kB / 0.7437 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.6222, allocations: 15.95 kB / 0.7437 GB, free: 5.191 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.01299/0.6352, allocations: 6.381 MB / 0.7499 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6353, allocations: 0 / 0.7499 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.6362, allocations: 167.8 kB / 0.7501 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/0.6414, allocations: 1.695 MB / 0.7517 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.6415, allocations: 28 kB / 0.7517 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.6591, allocations: 8.171 MB / 0.7597 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6592, allocations: 4 kB / 0.7597 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.6718, allocations: 5.186 MB / 0.7648 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/0.6727, allocations: 342.8 kB / 0.7651 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.6729, allocations: 24 kB / 0.7651 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.6744, allocations: 107.9 kB / 0.7652 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/0.6749, allocations: 194.9 kB / 0.7654 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.675, allocations: 35.98 kB / 0.7655 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001657/0.6766, allocations: 1.219 MB / 0.7667 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6767, allocations: 0 / 0.7667 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001106/0.6778, allocations: 491.5 kB / 0.7671 GB, free: 12.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003015/0.6781, allocations: 183.9 kB / 0.7673 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006264/0.6843, allocations: 2.311 MB / 0.7696 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6844, allocations: 4 kB / 0.7696 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.6887, allocations: 1.657 MB / 0.7712 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6897, allocations: 137.6 kB / 0.7713 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.6954, allocations: 4.134 MB / 0.7754 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.6961, allocations: 1.269 MB / 0.7766 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006041/0.6968, allocations: 145.3 kB / 0.7767 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.6972, allocations: 91.42 kB / 0.7768 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.6972, allocations: 0 / 0.7768 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of Templates: time 0.2297/0.9269, allocations: 26 MB / 0.8022 GB, free: 145.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.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_RaPIdExperiments_Generator_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.o OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.c In file included from OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_model.h:24: ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.o] Error 1