Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 1.834/1.834, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.184e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.08705, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/0.9766, allocations: 323.8 MB / 0.6304 GB, free: 47.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/0.977, allocations: 83.58 kB / 0.6305 GB, free: 47.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6894/1.667, allocations: 141.4 MB / 0.7686 GB, free: 79.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.217e-06/1.667, allocations: 0 / 0.7686 GB, free: 79.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.133e-05/1.667, allocations: 29.91 kB / 0.7687 GB, free: 79.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002904/1.67, allocations: 1.166 MB / 0.7698 GB, free: 78.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.67, allocations: 8.031 kB / 0.7698 GB, free: 78.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/1.67, allocations: 114.8 kB / 0.7699 GB, free: 78.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/1.672, allocations: 0.7071 MB / 0.7706 GB, free: 77.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.672, allocations: 99.77 kB / 0.7707 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.673, allocations: 59.36 kB / 0.7708 GB, free: 77.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.675, allocations: 0.9813 MB / 0.7717 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/1.675, allocations: 7.938 kB / 0.7717 GB, free: 76.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.675, allocations: 25.89 kB / 0.7718 GB, free: 76.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.545e-05/1.675, allocations: 57.23 kB / 0.7718 GB, free: 76.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/1.677, allocations: 0.8731 MB / 0.7727 GB, free: 75.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007371/1.684, allocations: 3.982 MB / 0.7766 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.685, allocations: 0.6169 MB / 0.7772 GB, free: 70.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/1.686, allocations: 378 kB / 0.7775 GB, free: 70.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/1.69, allocations: 2.374 MB / 0.7798 GB, free: 67.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/1.69, allocations: 433.7 kB / 0.7803 GB, free: 66.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 4.035e-06/1.69, allocations: 0 / 0.7803 GB, free: 66.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.004903/1.695, allocations: 2.014 MB / 0.7822 GB, free: 64.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.695, allocations: 162.2 kB / 0.7824 GB, free: 64.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.697, allocations: 0.6758 MB / 0.783 GB, free: 64.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.697, allocations: 33.7 kB / 0.7831 GB, free: 63.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/1.697, allocations: 441.1 kB / 0.7835 GB, free: 63.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/1.697, allocations: 174.2 kB / 0.7837 GB, free: 63.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/1.697, allocations: 12 kB / 0.7837 GB, free: 63.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/1.697, allocations: 394.8 kB / 0.784 GB, free: 62.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/1.698, allocations: 345.6 kB / 0.7844 GB, free: 62.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/1.699, allocations: 0.6212 MB / 0.785 GB, free: 61.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/1.7, allocations: 448.6 kB / 0.7854 GB, free: 61.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-06/1.7, allocations: 4 kB / 0.7854 GB, free: 61.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002654/1.702, allocations: 1.24 MB / 0.7866 GB, free: 60.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006626/1.703, allocations: 3.429 MB / 0.79 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.703, allocations: 11.94 kB / 0.79 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.704, allocations: 345.5 kB / 0.7903 GB, free: 56.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/1.705, allocations: 155.7 kB / 0.7905 GB, free: 55.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.706, allocations: 1.436 MB / 0.7919 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.708, allocations: 44.11 kB / 0.7919 GB, free: 54.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.708, allocations: 51.92 kB / 0.792 GB, free: 54.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.708, allocations: 4 kB / 0.792 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/1.71, allocations: 1.079 MB / 0.793 GB, free: 53.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.71, allocations: 8 kB / 0.793 GB, free: 53.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008397/1.711, allocations: 265.9 kB / 0.7933 GB, free: 53.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/1.712, allocations: 163.7 kB / 0.7934 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/1.714, allocations: 2.32 MB / 0.7957 GB, free: 50.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/1.715, allocations: 55.97 kB / 0.7957 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.715, allocations: 44 kB / 0.7958 GB, free: 50.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003163/1.715, allocations: 208.3 kB / 0.796 GB, free: 50.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.715, allocations: 86.97 kB / 0.7961 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.718, allocations: 1.064 MB / 0.7971 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-06/1.718, allocations: 8 kB / 0.7971 GB, free: 48.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/1.718, allocations: 3.953 kB / 0.7971 GB, free: 48.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.607e-06/1.718, allocations: 3.984 kB / 0.7971 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/1.721, allocations: 1.877 MB / 0.799 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.722, allocations: 0 / 0.799 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/1.722, allocations: 79.89 kB / 0.799 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.723, allocations: 333 kB / 0.7994 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/1.723, allocations: 19.98 kB / 0.7994 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/1.725, allocations: 1.425 MB / 0.8008 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.808e-06/1.725, allocations: 0 / 0.8008 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/1.727, allocations: 1.511 MB / 0.8022 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/1.728, allocations: 244 kB / 0.8025 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.728, allocations: 23.88 kB / 0.8025 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.729, allocations: 40.17 kB / 0.8025 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.729, allocations: 44.36 kB / 0.8026 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/1.729, allocations: 35.97 kB / 0.8026 GB, free: 43.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007962/1.73, allocations: 0.5108 MB / 0.8031 GB, free: 42.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.73, allocations: 8 kB / 0.8031 GB, free: 42.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002335/1.732, allocations: 0.6548 MB / 0.8038 GB, free: 41.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/1.734, allocations: 0.6381 MB / 0.8044 GB, free: 41.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/1.737, allocations: 1.521 MB / 0.8059 GB, free: 39.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.495e-06/1.737, allocations: 0 / 0.8059 GB, free: 39.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.738, allocations: 453.8 kB / 0.8063 GB, free: 39.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.74, allocations: 266.9 kB / 0.8066 GB, free: 39.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/1.743, allocations: 1.34 MB / 0.8079 GB, free: 37.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/1.744, allocations: 1.03 MB / 0.8089 GB, free: 36.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001725/1.745, allocations: 366.3 kB / 0.8092 GB, free: 36.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.746, allocations: 55.42 kB / 0.8093 GB, free: 36.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.721e-06/1.746, allocations: 0 / 0.8093 GB, free: 36.18 MB / 426.7 MB Notification: Performance of Templates: time 0.04118/1.787, allocations: 20.56 MB / 0.8293 GB, free: 15.66 MB / 426.7 MB