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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.118e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.3479/0.4769, allocations: 13.98 MB / 424.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.4888, allocations: 5.791 MB / 430.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.4899, allocations: 26.53 kB / 430.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.4911, allocations: 327.2 kB / 431 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.4944, allocations: 0.7232 MB / 431.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006253/0.5007, allocations: 1.323 MB / 433.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.5034, allocations: 0.9433 MB / 434 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5047, allocations: 470.6 kB / 434.5 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.5065, allocations: 0.5747 MB / 435.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.5081, allocations: 0.5221 MB / 435.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.5122, allocations: 1.15 MB / 436.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008017/0.5131, allocations: 92.69 kB / 436.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005153/0.5136, allocations: 266.7 kB / 437.1 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.5142, allocations: 86.62 kB / 437.2 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.5183, allocations: 1.394 MB / 438.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5183, allocations: 0 / 438.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.5183, allocations: 1.156 kB / 438.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.5184, allocations: 0 / 438.6 MB, free: 1.965 MB / 346.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.003859/0.5222, allocations: 1.123 MB / 439.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5223, allocations: 13.34 kB / 439.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.523, allocations: 112.4 kB / 439.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.5246, allocations: 0.5931 MB / 440.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5248, allocations: 111.1 kB / 440.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5249, allocations: 54.86 kB / 440.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.5275, allocations: 1.005 MB / 441.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.5276, allocations: 3.938 kB / 441.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.5277, allocations: 31.19 kB / 441.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.5278, allocations: 50.53 kB / 441.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.5308, allocations: 0.9333 MB / 442.6 MB, free: 15.98 MB / 362.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.01088/0.5417, allocations: 4.122 MB / 446.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.5436, allocations: 0.6465 MB / 447.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005699/0.5493, allocations: 2.374 MB / 449.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.5507, allocations: 0.4965 MB / 450.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.156e-06/0.5507, allocations: 0 / 450.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.009709/0.5604, allocations: 2.698 MB / 452.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.5606, allocations: 239.2 kB / 453.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5623, allocations: 0.7445 MB / 453.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.5626, allocations: 37.98 kB / 453.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.563, allocations: 431.1 kB / 454.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.5633, allocations: 173.1 kB / 454.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.5634, allocations: 15.59 kB / 454.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5636, allocations: 347.4 kB / 454.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.5647, allocations: 361.5 kB / 455.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.566, allocations: 0.6118 MB / 455.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5673, allocations: 445 kB / 456.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.5673, allocations: 2.844 kB / 456.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003676/0.571, allocations: 1.205 MB / 457.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001257/0.5723, allocations: 2.559 MB / 460.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.5724, allocations: 6.031 kB / 460.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.574, allocations: 361.3 kB / 460.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.5753, allocations: 149.1 kB / 460.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.5775, allocations: 1.456 MB / 462 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.5791, allocations: 45.09 kB / 462.1 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.5793, allocations: 41.02 kB / 462.1 MB, free: 1.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5793, allocations: 7.875 kB / 462.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003571/0.5829, allocations: 1.177 MB / 463.3 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.583, allocations: 10.47 kB / 463.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.5842, allocations: 330 kB / 463.6 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5854, allocations: 149.2 kB / 463.8 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.5875, allocations: 1.431 MB / 465.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5886, allocations: 52.94 kB / 465.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.5888, allocations: 43.7 kB / 465.3 MB, free: 14.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (85): * Single equations (assignments): 82 * 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.0008472/0.5896, allocations: 311.4 kB / 465.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.5899, allocations: 93.77 kB / 465.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.5933, allocations: 1.092 MB / 466.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.5933, allocations: 5.625 kB / 466.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5933, allocations: 0 / 466.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.5934, allocations: 7.266 kB / 466.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.5983, allocations: 1.945 MB / 468.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5983, allocations: 4 kB / 468.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.5991, allocations: 83.89 kB / 468.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.6006, allocations: 353.4 kB / 469.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.6007, allocations: 16 kB / 469.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.6028, allocations: 1.45 MB / 470.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6028, allocations: 8.062 kB / 470.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/0.6071, allocations: 1.56 MB / 472.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/0.608, allocations: 264 kB / 472.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.6083, allocations: 12 kB / 472.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.6094, allocations: 47.97 kB / 472.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.6096, allocations: 48.36 kB / 472.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6097, allocations: 27.97 kB / 472.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00127/0.611, allocations: 0.5771 MB / 473.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.611, allocations: 0 / 473.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00282/0.6138, allocations: 0.6208 MB / 473.8 MB, free: 7.645 MB / 378.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 (44): * Single equations (assignments): 41 * 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,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/0.6159, allocations: 0.4905 MB / 474.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005209/0.6211, allocations: 1.553 MB / 475.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.6212, allocations: 3.906 kB / 475.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.6229, allocations: 0.4964 MB / 476.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.6258, allocations: 336.1 kB / 476.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.6311, allocations: 2.025 MB / 478.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/0.632, allocations: 1.023 MB / 479.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6326, allocations: 79.41 kB / 479.8 MB, free: 1.578 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6326, allocations: 0 / 479.8 MB, free: 1.578 MB / 378.7 MB Notification: Performance of Templates: time 0.04986/0.6825, allocations: 22.64 MB / 0.4907 GB, free: 11.01 MB / 410.7 MB