Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.004602/0.004602, allocations: 171.2 kB / 15.11 MB, free: 5.973 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.146/1.146, allocations: 223.2 MB / 239.1 MB, free: 1.777 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.0008101/0.0008101, allocations: 101.5 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.4142/0.4142, allocations: 78.51 MB / 419.8 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 16 kB / 499.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 69.34 MB / 0.5557 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3868, allocations: 104.1 MB / 0.6574 GB, free: 2.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3871, allocations: 79.89 kB / 0.6575 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1198/0.5069, allocations: 50.87 MB / 0.7071 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5069, allocations: 0 / 0.7071 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.692e-05/0.507, allocations: 32 kB / 0.7072 GB, free: 14.99 MB / 0.5105 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.005765/0.5127, allocations: 2.549 MB / 0.7096 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.5128, allocations: 12.03 kB / 0.7097 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.5149, allocations: 477.3 kB / 0.7101 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5164, allocations: 1.081 MB / 0.7112 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.5167, allocations: 256.2 kB / 0.7114 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5168, allocations: 91.91 kB / 0.7115 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.5188, allocations: 1.139 MB / 0.7126 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5188, allocations: 0 / 0.7126 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.5189, allocations: 32 kB / 0.7126 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.519, allocations: 23.94 kB / 0.7127 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.5212, allocations: 1.23 MB / 0.7139 GB, free: 7.965 MB / 0.5105 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.006224/0.5274, allocations: 4.349 MB / 0.7181 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.5303, allocations: 2.202 MB / 0.7203 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5304, allocations: 21.28 kB / 0.7203 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5305, allocations: 51.88 kB / 0.7203 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 2.044e-06/0.5305, allocations: 0 / 0.7203 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.02654/0.557, allocations: 7.915 MB / 0.7281 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.5571, allocations: 64.72 kB / 0.7281 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.5587, allocations: 1.363 MB / 0.7295 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/0.5588, allocations: 45.7 kB / 0.7295 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.5593, allocations: 0.6218 MB / 0.7301 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.5596, allocations: 477.1 kB / 0.7306 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.5597, allocations: 20 kB / 0.7306 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5598, allocations: 353.9 kB / 0.7309 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5611, allocations: 0.6663 MB / 0.7316 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.5624, allocations: 0.7813 MB / 0.7323 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.5637, allocations: 0.721 MB / 0.733 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5637, allocations: 0 / 0.733 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004295/0.568, allocations: 2.391 MB / 0.7354 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5681, allocations: 11.95 kB / 0.7354 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5681, allocations: 0 / 0.7354 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/0.578, allocations: 3.081 MB / 0.7384 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.5787, allocations: 179.7 kB / 0.7386 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.5835, allocations: 2.68 MB / 0.7412 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5849, allocations: 166.9 kB / 0.7413 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.5851, allocations: 51.97 kB / 0.7414 GB, free: 11.22 MB / 0.5417 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.0004412/0.5855, allocations: 261.6 kB / 0.7416 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.5858, allocations: 169.8 kB / 0.7418 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.5963, allocations: 4.156 MB / 0.7459 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5964, allocations: 12 kB / 0.7459 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5964, allocations: 0 / 0.7459 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5964, allocations: 7.969 kB / 0.7459 GB, free: 6.594 MB / 0.5417 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.01241/0.6088, allocations: 6.268 MB / 0.752 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6088, allocations: 0 / 0.752 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.6098, allocations: 167.7 kB / 0.7522 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005227/0.615, allocations: 1.695 MB / 0.7538 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.6152, allocations: 27.98 kB / 0.7538 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/0.6328, allocations: 8.171 MB / 0.7618 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6328, allocations: 0 / 0.7618 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.6451, allocations: 5.19 MB / 0.7669 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.6458, allocations: 314.8 kB / 0.7672 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.646, allocations: 23.94 kB / 0.7672 GB, free: 408 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.6475, allocations: 111.9 kB / 0.7673 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/0.6479, allocations: 185.4 kB / 0.7675 GB, free: 112 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.648, allocations: 35.98 kB / 0.7675 GB, free: 76 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2083/0.8563, allocations: 1.072 MB / 0.7686 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.322e-06/0.8563, allocations: 0 / 0.7686 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002015/0.8583, allocations: 486.1 kB / 0.769 GB, free: 138.7 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.0004224/0.8588, allocations: 167.2 kB / 0.7692 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006756/0.8655, allocations: 2.317 MB / 0.7715 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8656, allocations: 0 / 0.7715 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004176/0.8697, allocations: 1.649 MB / 0.7731 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.8707, allocations: 143.8 kB / 0.7732 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.8755, allocations: 4.132 MB / 0.7772 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.876, allocations: 1.268 MB / 0.7785 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005162/0.8766, allocations: 127.2 kB / 0.7786 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.8769, allocations: 101 kB / 0.7787 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.8769, allocations: 2.875 kB / 0.7787 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03112/0.9081, allocations: 24.43 MB / 0.8026 GB, free: 134.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile make -j1 -f OpenIPSL_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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_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_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.o OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.c In file included from OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_model.h:24: ./OpenIPSL_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_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.o] Error 1