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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007429/0.0007428, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 180.5 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5328/0.5328, allocations: 78.54 MB / 420.9 MB, free: 4.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004333, allocations: 12 kB / 0.4893 GB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.149, allocations: 69.37 MB / 0.557 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.3113/0.4603, allocations: 5.88 MB / 0.5628 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.465, allocations: 2.114 MB / 0.5648 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4663, allocations: 8.438 kB / 0.5648 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.4671, allocations: 182.3 kB / 0.565 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.4708, allocations: 1.063 MB / 0.5661 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.4721, allocations: 448.8 kB / 0.5665 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.4749, allocations: 1.741 MB / 0.5682 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.4754, allocations: 183.5 kB / 0.5684 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.4766, allocations: 0.6222 MB / 0.569 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4777, allocations: 0.8745 MB / 0.5698 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.4779, allocations: 78.03 kB / 0.5699 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008103/0.4788, allocations: 247.2 kB / 0.5701 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.4791, allocations: 308.5 kB / 0.5704 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.4798, allocations: 0.6397 MB / 0.5711 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.4812, allocations: 1.268 MB / 0.5723 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4812, allocations: 3.938 kB / 0.5723 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4812, allocations: 0 / 0.5723 GB, free: 33.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.4812, allocations: 3.094 kB / 0.5723 GB, free: 33.74 MB / 430.1 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.01442/0.4956, allocations: 3.595 MB / 0.5758 GB, free: 32.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4957, allocations: 9.969 kB / 0.5758 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.4991, allocations: 0.4962 MB / 0.5763 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.5009, allocations: 0.8999 MB / 0.5772 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.5012, allocations: 238.7 kB / 0.5774 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.5014, allocations: 78.62 kB / 0.5775 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.5033, allocations: 0.9518 MB / 0.5784 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5033, allocations: 0 / 0.5784 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.5034, allocations: 27.19 kB / 0.5784 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.5035, allocations: 13.72 kB / 0.5785 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.5058, allocations: 1.06 MB / 0.5795 GB, free: 32.14 MB / 430.1 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.005372/0.5112, allocations: 2.965 MB / 0.5824 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.514, allocations: 1.163 MB / 0.5835 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.5154, allocations: 0.7226 MB / 0.5842 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.5155, allocations: 29.53 kB / 0.5843 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5156, allocations: 42.78 kB / 0.5843 GB, free: 30.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.276e-06/0.5156, allocations: 0 / 0.5843 GB, free: 30.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03053/0.5461, allocations: 7.702 MB / 0.5918 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.5462, allocations: 62.47 kB / 0.5919 GB, free: 29.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.5491, allocations: 1.139 MB / 0.593 GB, free: 28.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004579/0.5496, allocations: 50.23 kB / 0.593 GB, free: 28.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.55, allocations: 394.3 kB / 0.5934 GB, free: 28.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.5505, allocations: 362.8 kB / 0.5938 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.5509, allocations: 193.5 kB / 0.5939 GB, free: 27.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.551, allocations: 305.9 kB / 0.5942 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.5533, allocations: 0.9601 MB / 0.5952 GB, free: 27.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.5555, allocations: 0.9882 MB / 0.5961 GB, free: 26.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/0.5596, allocations: 1.925 MB / 0.598 GB, free: 25.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.5596, allocations: 0 / 0.598 GB, free: 25.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008371/0.568, allocations: 3.268 MB / 0.6012 GB, free: 24.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5681, allocations: 6.031 kB / 0.6012 GB, free: 24.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5681, allocations: 1.078 kB / 0.6012 GB, free: 24.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.5785, allocations: 2.533 MB / 0.6037 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.5806, allocations: 321.8 kB / 0.604 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.5871, allocations: 2.463 MB / 0.6064 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.59, allocations: 229.9 kB / 0.6066 GB, free: 23.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004332/0.5904, allocations: 62.69 kB / 0.6067 GB, free: 23.1 MB / 430.1 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0009214/0.5914, allocations: 241.2 kB / 0.6069 GB, free: 22.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/0.5919, allocations: 119.3 kB / 0.607 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.6054, allocations: 3.916 MB / 0.6108 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.6054, allocations: 14.94 kB / 0.6109 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.6055, allocations: 1.25 kB / 0.6109 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.261e-05/0.6055, allocations: 9.141 kB / 0.6109 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.6083, allocations: 1.207 MB / 0.6121 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.6084, allocations: 0 / 0.6121 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.6092, allocations: 117.2 kB / 0.6122 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.6145, allocations: 1.678 MB / 0.6138 GB, free: 19.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.6148, allocations: 20 kB / 0.6138 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.6326, allocations: 7.838 MB / 0.6215 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6326, allocations: 0 / 0.6215 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.6454, allocations: 4.8 MB / 0.6262 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.6461, allocations: 239.4 kB / 0.6264 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006056/0.6468, allocations: 16 kB / 0.6264 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.6485, allocations: 115.9 kB / 0.6265 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/0.6491, allocations: 168.7 kB / 0.6267 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.6493, allocations: 32.88 kB / 0.6267 GB, free: 6.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001226/0.6505, allocations: 0.7602 MB / 0.6275 GB, free: 5.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6505, allocations: 1.781 kB / 0.6275 GB, free: 5.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001803/0.6524, allocations: 439.8 kB / 0.6279 GB, free: 5.016 MB / 430.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003554/0.6527, allocations: 151.1 kB / 0.628 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006943/0.6597, allocations: 2.558 MB / 0.6305 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.6597, allocations: 0 / 0.6305 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.6638, allocations: 1.444 MB / 0.6319 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6653, allocations: 89 kB / 0.632 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.6708, allocations: 3.029 MB / 0.635 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.6715, allocations: 1.054 MB / 0.636 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.6721, allocations: 71.42 kB / 0.6361 GB, free: 12.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6721, allocations: 0 / 0.6361 GB, free: 12.64 MB / 446.1 MB Notification: Performance of Templates: time 0.02989/0.702, allocations: 18.94 MB / 0.6546 GB, free: 9.828 MB / 462.1 MB 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_systemCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_systemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_systemCalcHelperMain.o] Error 1