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.963/1.963, allocations: 209.3 MB / 223.8 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.167e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3626, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.02782/0.3905, allocations: 13.83 MB / 338.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.4042, allocations: 5.7 MB / 344.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.4056, allocations: 31 kB / 344.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.4072, allocations: 318 kB / 344.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.4108, allocations: 0.7229 MB / 345.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006513/0.4173, allocations: 1.312 MB / 346.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.4201, allocations: 0.9194 MB / 347.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.4215, allocations: 472.2 kB / 348.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.4237, allocations: 0.5684 MB / 348.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.4257, allocations: 0.5174 MB / 349.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004519/0.4304, allocations: 1.134 MB / 350.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.4312, allocations: 95.28 kB / 350.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.4318, allocations: 259.5 kB / 350.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.4323, allocations: 84.81 kB / 350.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.4361, allocations: 1.364 MB / 352.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4362, allocations: 4 kB / 352.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4362, allocations: 4 kB / 352.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.53e-05/0.4362, allocations: 0 / 352.2 MB, free: 1.355 MB / 282.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.004112/0.4404, allocations: 1.114 MB / 353.3 MB, free: 480 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4404, allocations: 9.125 kB / 353.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.4412, allocations: 104.5 kB / 353.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.443, allocations: 0.6069 MB / 354 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.4432, allocations: 103.8 kB / 354.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.4434, allocations: 56.59 kB / 354.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.4462, allocations: 0.9928 MB / 355.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.4463, allocations: 1.969 kB / 355.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.4464, allocations: 27.64 kB / 355.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.4466, allocations: 53.78 kB / 355.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.4492, allocations: 0.8991 MB / 356.1 MB, free: 14.71 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.01181/0.461, allocations: 4.096 MB / 360.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4633, allocations: 0.6251 MB / 360.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.4701, allocations: 2.319 MB / 363.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.4712, allocations: 425.8 kB / 363.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 3.496e-06/0.4713, allocations: 0 / 363.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.009143/0.4804, allocations: 2.546 MB / 366.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.4806, allocations: 170.2 kB / 366.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.482, allocations: 0.6873 MB / 367 MB, free: 4.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.4822, allocations: 33.7 kB / 367 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.4827, allocations: 439.1 kB / 367.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.483, allocations: 173.7 kB / 367.6 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.4831, allocations: 16 kB / 367.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.4834, allocations: 398.7 kB / 368 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.4844, allocations: 345.8 kB / 368.4 MB, free: 3.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4857, allocations: 0.6281 MB / 369 MB, free: 2.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.4869, allocations: 439.6 kB / 369.4 MB, free: 1.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4869, allocations: 8 kB / 369.4 MB, free: 1.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003841/0.4908, allocations: 1.247 MB / 370.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.4925, allocations: 3.519 MB / 374.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.4926, allocations: 8 kB / 374.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.4943, allocations: 361.4 kB / 374.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4956, allocations: 163.7 kB / 374.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.4981, allocations: 1.456 MB / 376.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4996, allocations: 51.91 kB / 376.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.4998, allocations: 36 kB / 376.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4998, allocations: 7.594 kB / 376.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00353/0.5034, allocations: 1.094 MB / 377.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.5035, allocations: 16.03 kB / 377.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.5047, allocations: 265.5 kB / 377.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.506, allocations: 167.7 kB / 377.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.5096, allocations: 2.374 MB / 380.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.5109, allocations: 43.89 kB / 380.2 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.5113, allocations: 43.98 kB / 380.3 MB, free: 6.535 MB / 314.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: 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 (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.001135/0.5124, allocations: 318.7 kB / 380.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.5128, allocations: 90.95 kB / 380.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.5169, allocations: 1.037 MB / 381.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.517, allocations: 4 kB / 381.7 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.517, allocations: 0 / 381.7 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.5171, allocations: 7.922 kB / 381.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/0.5229, allocations: 1.839 MB / 383.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.523, allocations: 4 kB / 383.6 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.5238, allocations: 75.89 kB / 383.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.5252, allocations: 349.4 kB / 384 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.5253, allocations: 12 kB / 384 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.5275, allocations: 1.444 MB / 385.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5275, allocations: 0 / 385.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.5314, allocations: 1.476 MB / 386.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.5322, allocations: 243.9 kB / 387.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5325, allocations: 12 kB / 387.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.5334, allocations: 44.03 kB / 387.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5337, allocations: 48.36 kB / 387.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/0.5338, allocations: 23.98 kB / 387.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.5349, allocations: 0.5224 MB / 387.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5349, allocations: 0 / 387.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002665/0.5376, allocations: 0.5896 MB / 388.4 MB, free: 14.21 MB / 330.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: 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.001795/0.5394, allocations: 477.7 kB / 388.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005039/0.5445, allocations: 1.608 MB / 390.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.5445, allocations: 4.812 kB / 390.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.5464, allocations: 465.8 kB / 390.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.549, allocations: 278.3 kB / 391.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.5548, allocations: 1.979 MB / 393.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/0.5557, allocations: 1.026 MB / 394.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002337/0.5581, allocations: 378.2 kB / 394.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.5584, allocations: 67.34 kB / 394.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5584, allocations: 8 kB / 394.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of Templates: time 0.05688/0.6153, allocations: 19.36 MB / 414 MB, free: 4.547 MB / 346.7 MB