Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007726/0.007726, allocations: 99.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 239.5 MB, free: 4.789 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.001398/0.001399, allocations: 196.4 kB / 289.8 MB, free: 2.531 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.487/0.487, allocations: 78.51 MB / 418.5 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.89 kB / 497.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1804, allocations: 68.18 MB / 0.5523 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.3353/0.5157, allocations: 7.175 MB / 0.5593 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.5217, allocations: 2.327 MB / 0.5616 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.5229, allocations: 12.12 kB / 0.5616 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.5237, allocations: 198.3 kB / 0.5618 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.5269, allocations: 1.141 MB / 0.5629 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5281, allocations: 462.2 kB / 0.5634 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002378/0.5305, allocations: 1.921 MB / 0.5652 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.5309, allocations: 231.5 kB / 0.5655 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.5318, allocations: 0.6992 MB / 0.5661 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.5328, allocations: 0.976 MB / 0.5671 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.533, allocations: 92.53 kB / 0.5672 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006427/0.5336, allocations: 262.9 kB / 0.5674 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.5339, allocations: 337.8 kB / 0.5678 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.5345, allocations: 0.7105 MB / 0.5684 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.5357, allocations: 1.426 MB / 0.5698 GB, free: 34.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5357, allocations: 0 / 0.5698 GB, free: 34.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5357, allocations: 0 / 0.5698 GB, free: 34.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.5357, allocations: 2.156 kB / 0.5698 GB, free: 34.3 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01485/0.5506, allocations: 3.896 MB / 0.5736 GB, free: 33.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5506, allocations: 8.25 kB / 0.5737 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.5537, allocations: 0.5209 MB / 0.5742 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.5552, allocations: 0.9842 MB / 0.5751 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.5555, allocations: 237.8 kB / 0.5753 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.5556, allocations: 83.03 kB / 0.5754 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.5577, allocations: 0.9832 MB / 0.5764 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5577, allocations: 4 kB / 0.5764 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.5578, allocations: 23.94 kB / 0.5764 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.5578, allocations: 15.81 kB / 0.5764 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.5603, allocations: 1.09 MB / 0.5775 GB, free: 32.53 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.006167/0.5664, allocations: 3.749 MB / 0.5812 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.5696, allocations: 1.669 MB / 0.5828 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.5712, allocations: 0.7097 MB / 0.5835 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.5713, allocations: 24 kB / 0.5835 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5713, allocations: 44.91 kB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.895e-06/0.5713, allocations: 0 / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02285/0.5942, allocations: 5.591 MB / 0.589 GB, free: 28.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.5943, allocations: 63.42 kB / 0.5891 GB, free: 28.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.5971, allocations: 1.28 MB / 0.5903 GB, free: 27.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.5976, allocations: 53.3 kB / 0.5904 GB, free: 27.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.5981, allocations: 475.5 kB / 0.5908 GB, free: 27.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/0.5988, allocations: 395 kB / 0.5912 GB, free: 26.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.6002, allocations: 384.6 kB / 0.5916 GB, free: 26.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.6003, allocations: 302.9 kB / 0.5919 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.6028, allocations: 0.9422 MB / 0.5928 GB, free: 25.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.6055, allocations: 1.107 MB / 0.5939 GB, free: 25.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.6101, allocations: 1.929 MB / 0.5957 GB, free: 24.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.6101, allocations: 3.938 kB / 0.5957 GB, free: 24.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007909/0.618, allocations: 3.041 MB / 0.5987 GB, free: 23.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.6181, allocations: 10.69 kB / 0.5987 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6181, allocations: 2 kB / 0.5987 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009673/0.6278, allocations: 2.274 MB / 0.6009 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.6299, allocations: 357.3 kB / 0.6013 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.6356, allocations: 2.27 MB / 0.6035 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.6384, allocations: 222.2 kB / 0.6037 GB, free: 21.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/0.6388, allocations: 67.14 kB / 0.6038 GB, free: 21.73 MB / 430.1 MB 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 (204): * Single equations (assignments): 203 * 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.0008792/0.6397, allocations: 265.1 kB / 0.604 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/0.6403, allocations: 136.9 kB / 0.6042 GB, free: 21.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.652, allocations: 3.349 MB / 0.6074 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.6521, allocations: 14.7 kB / 0.6074 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.6521, allocations: 6.188 kB / 0.6075 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.6521, allocations: 5.203 kB / 0.6075 GB, free: 20.56 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 postOpt removeSimpleEquations (simulation): time 0.0144/0.6665, allocations: 5.033 MB / 0.6124 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6666, allocations: 1.656 kB / 0.6124 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.6675, allocations: 135.6 kB / 0.6125 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/0.6723, allocations: 1.439 MB / 0.6139 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.6725, allocations: 20 kB / 0.6139 GB, free: 16.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.6901, allocations: 7.157 MB / 0.6209 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6901, allocations: 0 / 0.6209 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.7023, allocations: 4.227 MB / 0.625 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/0.7032, allocations: 251.1 kB / 0.6253 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005508/0.7037, allocations: 20 kB / 0.6253 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.7055, allocations: 96.7 kB / 0.6254 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/0.7061, allocations: 176.6 kB / 0.6256 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7063, allocations: 31.98 kB / 0.6256 GB, free: 4.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.7078, allocations: 0.8473 MB / 0.6264 GB, free: 3.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7078, allocations: 0 / 0.6264 GB, free: 3.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00232/0.7101, allocations: 479.7 kB / 0.6269 GB, free: 2.973 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 (71): * Single equations (assignments): 70 * 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.0003902/0.7105, allocations: 149.3 kB / 0.627 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007464/0.718, allocations: 2.438 MB / 0.6294 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.718, allocations: 4 kB / 0.6294 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004524/0.7226, allocations: 1.33 MB / 0.6307 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.7246, allocations: 111.7 kB / 0.6308 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.7319, allocations: 3.119 MB / 0.6339 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7331, allocations: 1.12 MB / 0.635 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/0.7339, allocations: 87.42 kB / 0.635 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7339, allocations: 0 / 0.635 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Templates: time 0.03576/0.7697, allocations: 21.25 MB / 0.6558 GB, free: 5.512 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_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.Line_Aggregation.Reference_systemCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_systemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_systemCalcHelperMain.o] Error 1