Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadModel(Modelica): time 1.049/1.049, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.743e-05, allocations: 0 / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06856/0.06862, allocations: 25.17 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.1952/0.2638, allocations: 25.94 MB / 205.6 MB, free: 4.102 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.2871, allocations: 12.02 MB / 217.6 MB, free: 3.941 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.2893, allocations: 62.12 kB / 217.7 MB, free: 3.938 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.2914, allocations: 484.6 kB / 218.2 MB, free: 3.832 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005957/0.2975, allocations: 1.369 MB / 219.6 MB, free: 3.73 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.3079, allocations: 2.408 MB / 222 MB, free: 3.191 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.004453/0.3124, allocations: 1.563 MB / 223.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.3141, allocations: 0.7183 MB / 224.2 MB, free: 2.074 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.3171, allocations: 0.8845 MB / 225.1 MB, free: 1.656 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.3199, allocations: 0.8616 MB / 226 MB, free: 1.199 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006395/0.3264, allocations: 1.597 MB / 227.6 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.3277, allocations: 136.2 kB / 227.7 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3289, allocations: 444.4 kB / 228.2 MB, free: 248 kB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.33, allocations: 147.2 kB / 228.3 MB, free: 248 kB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006532/0.3366, allocations: 2.214 MB / 230.5 MB, free: 15 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3366, allocations: 0 / 230.5 MB, free: 15 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3367, allocations: 0 / 230.5 MB, free: 15 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.625e-05/0.3368, allocations: 0 / 230.5 MB, free: 15 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.007047/0.3438, allocations: 1.601 MB / 232.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3439, allocations: 10.12 kB / 232.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.3447, allocations: 157.8 kB / 232.3 MB, free: 13.77 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.3476, allocations: 0.9066 MB / 233.2 MB, free: 13.09 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.348, allocations: 184.9 kB / 233.4 MB, free: 12.95 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.3484, allocations: 93.55 kB / 233.5 MB, free: 12.93 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.3537, allocations: 1.639 MB / 235.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.3538, allocations: 0 / 235.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.3541, allocations: 38.41 kB / 235.1 MB, free: 11.54 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/0.3544, allocations: 105.9 kB / 235.2 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005556/0.3599, allocations: 1.62 MB / 236.9 MB, free: 9.812 MB / 186.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.01891/0.3789, allocations: 6.226 MB / 243.1 MB, free: 3.32 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.3831, allocations: 1.205 MB / 244.3 MB, free: 2.109 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.3939, allocations: 4.028 MB / 248.3 MB, free: 13.74 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.394, allocations: 51.55 kB / 248.4 MB, free: 13.68 MB / 202.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001484/0.3955, allocations: 198.7 kB / 248.6 MB, free: 13.48 MB / 202.7 MB Notification: Performance of pre-optimization done (n=91): time 5.21e-06/0.3956, allocations: 3.938 kB / 248.6 MB, free: 13.48 MB / 202.7 MB Notification: Performance of matching and sorting (n=103): time 0.03757/0.4332, allocations: 5.864 MB / 254.4 MB, free: 7.586 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.4333, allocations: 137.5 kB / 254.6 MB, free: 7.422 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.4357, allocations: 0.9973 MB / 255.6 MB, free: 6.414 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.4361, allocations: 45.7 kB / 255.6 MB, free: 6.363 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/0.4367, allocations: 0.559 MB / 256.2 MB, free: 5.805 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007097/0.4375, allocations: 365.1 kB / 256.5 MB, free: 5.449 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.4376, allocations: 24 kB / 256.5 MB, free: 5.426 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.4379, allocations: 366.8 kB / 256.9 MB, free: 5.059 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.4407, allocations: 0.6623 MB / 257.6 MB, free: 4.395 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.4436, allocations: 0.979 MB / 258.5 MB, free: 3.281 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.4464, allocations: 0.7681 MB / 259.3 MB, free: 2.512 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.4465, allocations: 8 kB / 259.3 MB, free: 2.504 MB / 202.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.007711/0.4542, allocations: 2.094 MB / 261.4 MB, free: 412 kB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.4543, allocations: 8 kB / 261.4 MB, free: 404 kB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.4543, allocations: 8 kB / 261.4 MB, free: 396 kB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/0.4685, allocations: 1.312 MB / 262.7 MB, free: 15.07 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.4708, allocations: 263.6 kB / 263 MB, free: 14.82 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.4761, allocations: 1.711 MB / 264.7 MB, free: 13.08 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.4786, allocations: 91.78 kB / 264.8 MB, free: 12.99 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.479, allocations: 63.97 kB / 264.9 MB, free: 12.93 MB / 218.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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 {8 15} Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.4801, allocations: 365.3 kB / 265.2 MB, free: 12.56 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/0.4805, allocations: 142.3 kB / 265.4 MB, free: 12.42 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008349/0.4889, allocations: 2.113 MB / 267.5 MB, free: 10.29 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.489, allocations: 12 kB / 267.5 MB, free: 10.28 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.489, allocations: 0 / 267.5 MB, free: 10.28 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/0.489, allocations: 7.969 kB / 267.5 MB, free: 10.27 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.5007, allocations: 3.525 MB / 271 MB, free: 6.711 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5008, allocations: 3.938 kB / 271 MB, free: 6.707 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.5027, allocations: 183.8 kB / 271.2 MB, free: 6.523 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007304/0.5101, allocations: 1.039 MB / 272.2 MB, free: 5.48 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/0.5104, allocations: 31.98 kB / 272.3 MB, free: 5.449 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005155/0.5156, allocations: 1.727 MB / 274 MB, free: 3.695 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5157, allocations: 0 / 274 MB, free: 3.695 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/0.5252, allocations: 2.897 MB / 276.9 MB, free: 0.7891 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006821/0.526, allocations: 219.4 kB / 277.1 MB, free: 0.5547 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/0.5265, allocations: 20.09 kB / 277.1 MB, free: 0.5352 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.5288, allocations: 95.78 kB / 277.2 MB, free: 452 kB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.5293, allocations: 100.8 kB / 277.3 MB, free: 348 kB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/0.5296, allocations: 47.97 kB / 277.4 MB, free: 300 kB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001763/0.5314, allocations: 0.7643 MB / 278.1 MB, free: 15.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5314, allocations: 0 / 278.1 MB, free: 15.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003061/0.5345, allocations: 0.7105 MB / 278.8 MB, free: 14.81 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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 {9 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/0.5369, allocations: 0.6469 MB / 279.5 MB, free: 14.19 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.007603/0.5445, allocations: 1.747 MB / 281.2 MB, free: 12.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5446, allocations: 0 / 281.2 MB, free: 12.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.5494, allocations: 0.9431 MB / 282.2 MB, free: 11.51 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/0.5554, allocations: 0.6365 MB / 282.8 MB, free: 10.87 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.5668, allocations: 3.51 MB / 286.3 MB, free: 7.336 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.5681, allocations: 1.275 MB / 287.6 MB, free: 6.027 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/0.5689, allocations: 123.4 kB / 287.7 MB, free: 5.906 MB / 234.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5689, allocations: 0 / 287.7 MB, free: 5.906 MB / 234.7 MB Notification: Performance of Templates: time 0.2505/0.8194, allocations: 31.8 MB / 319.5 MB, free: 65.64 MB / 234.7 MB