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.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.63e-05, allocations: 0 / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4109, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.02618/0.4372, allocations: 13.87 MB / 376.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4508, allocations: 5.712 MB / 382.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.4522, allocations: 31.75 kB / 382.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.4537, allocations: 322.4 kB / 382.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.4572, allocations: 0.7203 MB / 383.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006149/0.4633, allocations: 1.305 MB / 384.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.4661, allocations: 0.9304 MB / 385.7 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.4674, allocations: 472.6 kB / 386.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.4694, allocations: 0.5728 MB / 386.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.4709, allocations: 0.5065 MB / 387.3 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.4749, allocations: 1.143 MB / 388.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008849/0.4759, allocations: 99.88 kB / 388.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.4765, allocations: 259.3 kB / 388.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.477, allocations: 84 kB / 388.9 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.481, allocations: 1.38 MB / 390.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4811, allocations: 0 / 390.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4811, allocations: 0 / 390.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.4812, allocations: 0 / 390.2 MB, free: 2.422 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004319/0.4855, allocations: 1.109 MB / 391.3 MB, free: 1.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4856, allocations: 12.03 kB / 391.4 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/0.4864, allocations: 110.9 kB / 391.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.4883, allocations: 0.6128 MB / 392.1 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4886, allocations: 108.7 kB / 392.2 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.4888, allocations: 52 kB / 392.2 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.4918, allocations: 0.9988 MB / 393.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.4919, allocations: 0 / 393.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.4921, allocations: 27.98 kB / 393.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.4922, allocations: 49.28 kB / 393.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.495, allocations: 0.9029 MB / 394.2 MB, free: 14.29 MB / 330.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.01149/0.5066, allocations: 4.109 MB / 398.3 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.5085, allocations: 0.6215 MB / 398.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00562/0.5141, allocations: 2.33 MB / 401.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.5153, allocations: 435.2 kB / 401.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 4.449e-06/0.5154, allocations: 0 / 401.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.009314/0.5247, allocations: 2.532 MB / 404.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.5249, allocations: 166.6 kB / 404.4 MB, free: 3.453 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5264, allocations: 0.6873 MB / 405.1 MB, free: 2.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.5266, allocations: 33.7 kB / 405.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.5271, allocations: 457.7 kB / 405.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.5274, allocations: 173.5 kB / 405.7 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.5274, allocations: 16 kB / 405.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5276, allocations: 346.8 kB / 406.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5287, allocations: 353.8 kB / 406.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.53, allocations: 0.6242 MB / 407 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5312, allocations: 459.6 kB / 407.5 MB, free: 180 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5312, allocations: 0 / 407.5 MB, free: 180 kB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003612/0.5349, allocations: 1.173 MB / 408.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001618/0.5365, allocations: 3.52 MB / 412.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/0.5366, allocations: 12 kB / 412.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.5384, allocations: 361.4 kB / 412.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.5397, allocations: 159.7 kB / 412.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.5421, allocations: 1.448 MB / 414.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.5435, allocations: 52.09 kB / 414.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.5437, allocations: 51.94 kB / 414.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5438, allocations: 1.406 kB / 414.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003249/0.547, allocations: 1.067 MB / 415.3 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.5471, allocations: 11.94 kB / 415.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.5482, allocations: 265.9 kB / 415.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5495, allocations: 163.7 kB / 415.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.5528, allocations: 2.382 MB / 418.1 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/0.5538, allocations: 48.16 kB / 418.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.5539, allocations: 40 kB / 418.2 MB, free: 4.914 MB / 346.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: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * 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.0007683/0.5547, allocations: 319.1 kB / 418.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.555, allocations: 86.92 kB / 418.6 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.5583, allocations: 1.021 MB / 419.6 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5584, allocations: 8 kB / 419.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5584, allocations: 0 / 419.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5584, allocations: 7.984 kB / 419.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.5633, allocations: 1.835 MB / 421.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.5634, allocations: 0 / 421.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008278/0.5642, allocations: 75.89 kB / 421.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.5658, allocations: 349.4 kB / 421.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.566, allocations: 16 kB / 421.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.5682, allocations: 1.444 MB / 423.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5682, allocations: 0 / 423.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.5722, allocations: 1.465 MB / 424.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/0.573, allocations: 244 kB / 425.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.5733, allocations: 12 kB / 425.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.5742, allocations: 47.86 kB / 425.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.5745, allocations: 44.36 kB / 425.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5746, allocations: 31.98 kB / 425.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.5757, allocations: 0.5263 MB / 425.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5757, allocations: 3.938 kB / 425.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002717/0.5785, allocations: 0.5896 MB / 426.3 MB, free: 12.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.001878/0.5804, allocations: 477.3 kB / 426.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005538/0.586, allocations: 1.65 MB / 428.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.5861, allocations: 4 kB / 428.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.588, allocations: 493.8 kB / 428.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.5906, allocations: 278.4 kB / 429.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.5964, allocations: 2.044 MB / 431.2 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.5973, allocations: 1.021 MB / 432.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.5978, allocations: 79.41 kB / 432.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5979, allocations: 0 / 432.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of Templates: time 0.04938/0.6472, allocations: 21.48 MB / 453.8 MB, free: 1.027 MB / 378.7 MB