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_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 2.57/2.57, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.926e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4225, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.02472/0.4473, allocations: 13.86 MB / 376.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4597, allocations: 5.722 MB / 382.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4609, allocations: 31.75 kB / 382.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.462, allocations: 314.5 kB / 382.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.4649, allocations: 0.7203 MB / 383.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.4703, allocations: 1.305 MB / 384.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.4728, allocations: 0.9343 MB / 385.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009726/0.4738, allocations: 468.6 kB / 386.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.4753, allocations: 0.5689 MB / 386.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.4766, allocations: 0.5182 MB / 387.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.4802, allocations: 1.131 MB / 388.4 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007497/0.481, allocations: 95.94 kB / 388.5 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.4815, allocations: 267.3 kB / 388.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.4819, allocations: 88 kB / 388.9 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.4853, allocations: 1.368 MB / 390.2 MB, free: 2.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4853, allocations: 3.938 kB / 390.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4854, allocations: 0 / 390.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4854, allocations: 0 / 390.2 MB, free: 2.348 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.003654/0.4891, allocations: 1.117 MB / 391.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4891, allocations: 8.031 kB / 391.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.4898, allocations: 114.8 kB / 391.5 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.4915, allocations: 0.6128 MB / 392.1 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.4918, allocations: 108.7 kB / 392.2 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.492, allocations: 55.98 kB / 392.3 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.4947, allocations: 1.003 MB / 393.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.4947, allocations: 3.938 kB / 393.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.4949, allocations: 27.98 kB / 393.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.495, allocations: 49.28 kB / 393.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.4975, allocations: 0.9067 MB / 394.2 MB, free: 14.19 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.00997/0.5075, allocations: 4.105 MB / 398.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.5092, allocations: 0.6176 MB / 399 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005066/0.5143, allocations: 2.322 MB / 401.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.5154, allocations: 435.2 kB / 401.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 3.697e-06/0.5154, allocations: 0 / 401.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.008892/0.5243, allocations: 2.54 MB / 404.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.5245, allocations: 162.6 kB / 404.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5259, allocations: 0.6873 MB / 405.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.5261, allocations: 37.7 kB / 405.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.5265, allocations: 435.2 kB / 405.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.5268, allocations: 173.5 kB / 405.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.5269, allocations: 20 kB / 405.8 MB, free: 1.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.5271, allocations: 402.6 kB / 406.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.5281, allocations: 349.8 kB / 406.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.5293, allocations: 0.6281 MB / 407.1 MB, free: 500 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5305, allocations: 451.6 kB / 407.6 MB, free: 44 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.5305, allocations: 7.984 kB / 407.6 MB, free: 36 kB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003524/0.5341, allocations: 1.216 MB / 408.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001488/0.5356, allocations: 3.52 MB / 412.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.5356, allocations: 12 kB / 412.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.5373, allocations: 361.4 kB / 412.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.5386, allocations: 167.7 kB / 412.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5407, allocations: 1.44 MB / 414.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.542, allocations: 59.94 kB / 414.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5421, allocations: 47.94 kB / 414.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5422, allocations: 4 kB / 414.4 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00302/0.5452, allocations: 1.059 MB / 415.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.5452, allocations: 8 kB / 415.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5463, allocations: 277.9 kB / 415.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5475, allocations: 167.7 kB / 415.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.5508, allocations: 2.378 MB / 418.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.552, allocations: 52.16 kB / 418.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.5521, allocations: 40 kB / 418.4 MB, free: 4.719 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.000747/0.5529, allocations: 311.2 kB / 418.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.5531, allocations: 94.91 kB / 418.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.5564, allocations: 1.013 MB / 419.8 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5565, allocations: 4 kB / 419.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5565, allocations: 0 / 419.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.5565, allocations: 12.06 kB / 419.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.5612, allocations: 1.831 MB / 421.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5613, allocations: 0 / 421.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.5621, allocations: 79.89 kB / 421.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.5635, allocations: 349.4 kB / 422 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.5637, allocations: 19.98 kB / 422 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.5659, allocations: 1.444 MB / 423.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5659, allocations: 0 / 423.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.5698, allocations: 1.468 MB / 425 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/0.5706, allocations: 244 kB / 425.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.5708, allocations: 12 kB / 425.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/0.5718, allocations: 43.77 kB / 425.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.5721, allocations: 52.36 kB / 425.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5722, allocations: 24.05 kB / 425.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.5733, allocations: 0.5302 MB / 425.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5733, allocations: 0 / 425.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002606/0.5759, allocations: 0.5896 MB / 426.4 MB, free: 12.4 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.001842/0.5778, allocations: 472.9 kB / 426.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005455/0.5833, allocations: 1.682 MB / 428.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5834, allocations: 0 / 428.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.5853, allocations: 485.8 kB / 429.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.5879, allocations: 284.9 kB / 429.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.5934, allocations: 2.004 MB / 431.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.5943, allocations: 1.034 MB / 432.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002341/0.5967, allocations: 390.2 kB / 432.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.597, allocations: 59.41 kB / 432.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.597, allocations: 0 / 432.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of Templates: time 0.05437/0.6514, allocations: 19.56 MB / 452.4 MB, free: 2.422 MB / 378.7 MB