Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.863e-05, allocations: 8 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03611/0.3217, allocations: 24.26 MB / 327.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.347, allocations: 12.46 MB / 340 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.3491, allocations: 63.5 kB / 340.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.3509, allocations: 0.5012 MB / 340.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.3566, allocations: 1.6 MB / 342.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00893/0.3655, allocations: 2.447 MB / 344.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004328/0.3699, allocations: 1.742 MB / 346.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3714, allocations: 0.8206 MB / 347.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.3735, allocations: 0.9859 MB / 348.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.3756, allocations: 1.021 MB / 349.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.3816, allocations: 2.189 MB / 351.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009611/0.3826, allocations: 164 kB / 351.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.3834, allocations: 490.7 kB / 352 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006394/0.3841, allocations: 156 kB / 352.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006145/0.3902, allocations: 2.619 MB / 354.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3903, allocations: 0 / 354.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3903, allocations: 0 / 354.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.3903, allocations: 0 / 354.8 MB, free: 9.988 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.006722/0.3971, allocations: 1.742 MB / 356.5 MB, free: 8.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3971, allocations: 8.031 kB / 356.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/0.3979, allocations: 174.1 kB / 356.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.4005, allocations: 0.9723 MB / 357.7 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.4007, allocations: 175.1 kB / 357.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.401, allocations: 99.97 kB / 358 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/0.4057, allocations: 1.741 MB / 359.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4057, allocations: 0 / 359.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.406, allocations: 43.92 kB / 359.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002741/0.4062, allocations: 113.9 kB / 359.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.4112, allocations: 1.78 MB / 361.6 MB, free: 2.973 MB / 298.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.01949/0.4307, allocations: 6.835 MB / 368.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.4341, allocations: 1.238 MB / 369.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.4448, allocations: 4.349 MB / 374.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.4449, allocations: 51.56 kB / 374.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001389/0.4463, allocations: 202.7 kB / 374.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 4.338e-06/0.4463, allocations: 0 / 374.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=112): time 0.03313/0.4795, allocations: 5.666 MB / 380 MB, free: 15.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4796, allocations: 141.5 kB / 380.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.4821, allocations: 1.11 MB / 381.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003365/0.4824, allocations: 45.7 kB / 381.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.4831, allocations: 0.6131 MB / 381.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005748/0.4837, allocations: 386.4 kB / 382.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4839, allocations: 32 kB / 382.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4841, allocations: 357.9 kB / 382.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.4862, allocations: 0.7027 MB / 383.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.4886, allocations: 1.044 MB / 384.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.4911, allocations: 0.8105 MB / 385.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4912, allocations: 4 kB / 385.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006936/0.4981, allocations: 2.253 MB / 387.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001637/0.4998, allocations: 3.772 MB / 391.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.4998, allocations: 8 kB / 391.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/0.5134, allocations: 1.288 MB / 392.5 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.5159, allocations: 299.6 kB / 392.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.5202, allocations: 1.606 MB / 394.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.5227, allocations: 91.73 kB / 394.5 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.5229, allocations: 71.97 kB / 394.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.523, allocations: 4 kB / 394.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005718/0.5287, allocations: 1.922 MB / 396.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.5288, allocations: 8 kB / 396.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.5406, allocations: 1.015 MB / 397.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.5432, allocations: 307.5 kB / 397.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.5462, allocations: 1.304 MB / 399.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.5483, allocations: 83.86 kB / 399.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.5486, allocations: 71.95 kB / 399.3 MB, free: 11.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 18} Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.5497, allocations: 388.3 kB / 399.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.5501, allocations: 146.2 kB / 399.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006835/0.557, allocations: 2.082 MB / 401.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.557, allocations: 16 kB / 401.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.557, allocations: 3.938 kB / 401.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.5571, allocations: 11.97 kB / 401.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009669/0.5668, allocations: 3.59 MB / 405.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5668, allocations: 0 / 405.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.5686, allocations: 195.8 kB / 405.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007408/0.5761, allocations: 0.9877 MB / 406.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/0.5764, allocations: 39.92 kB / 406.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.5815, allocations: 1.6 MB / 408.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.5816, allocations: 3.953 kB / 408.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.5931, allocations: 2.895 MB / 411.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/0.5949, allocations: 427 kB / 411.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/0.5955, allocations: 28 kB / 411.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/0.5981, allocations: 83.78 kB / 411.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.5986, allocations: 101.1 kB / 411.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/0.5989, allocations: 51.97 kB / 411.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002545/0.6014, allocations: 0.8324 MB / 412.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.6014, allocations: 0 / 412.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006127/0.6076, allocations: 1.152 MB / 413.9 MB, free: 13.18 MB / 362.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: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.003783/0.6114, allocations: 0.8418 MB / 414.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0143/0.6258, allocations: 2.788 MB / 417.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.6258, allocations: 4 kB / 417.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00481/0.6307, allocations: 0.8791 MB / 418.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006722/0.6374, allocations: 0.585 MB / 419 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.65, allocations: 3.553 MB / 422.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.6516, allocations: 1.329 MB / 423.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004638/0.6563, allocations: 0.6991 MB / 424.6 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.6569, allocations: 115.3 kB / 424.7 MB, free: 2.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6569, allocations: 0 / 424.7 MB, free: 2.324 MB / 362.7 MB Notification: Performance of Templates: time 0.3225/0.9794, allocations: 41.25 MB / 465.9 MB, free: 79.64 MB / 362.7 MB