Running command: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") Notification: Performance of loadModel(Chemical): time 1.993/1.993, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.087e-05, allocations: 5.406 kB / 280.4 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08453, allocations: 50.01 MB / 330.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4502, allocations: 87.53 MB / 418 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4504, allocations: 67.72 kB / 418 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05704/0.5075, allocations: 14.69 MB / 432.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.5075, allocations: 0 / 432.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.5076, allocations: 8 kB / 432.7 MB, free: 13.79 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001368/0.509, allocations: 0.6793 MB / 433.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.509, allocations: 8.031 kB / 433.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5092, allocations: 51.38 kB / 433.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.5101, allocations: 426 kB / 433.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.5102, allocations: 35.22 kB / 433.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5103, allocations: 38.5 kB / 434 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5115, allocations: 454.5 kB / 434.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5115, allocations: 0 / 434.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.5116, allocations: 17.94 kB / 434.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.5116, allocations: 8 kB / 434.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.5132, allocations: 0.6643 MB / 435.1 MB, free: 11.83 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003821/0.517, allocations: 1.638 MB / 436.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.5186, allocations: 0.5697 MB / 437.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.5191, allocations: 208.2 kB / 437.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.5208, allocations: 1.286 MB / 438.8 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.5208, allocations: 42.69 kB / 438.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.56e-06/0.5209, allocations: 0 / 438.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.008477/0.5293, allocations: 2.298 MB / 441.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.5294, allocations: 55.84 kB / 441.2 MB, free: 6.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.5298, allocations: 221.6 kB / 441.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.5299, allocations: 37.58 kB / 441.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.53, allocations: 213.7 kB / 441.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.5303, allocations: 182.6 kB / 441.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.5303, allocations: 11.06 kB / 441.8 MB, free: 6.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5305, allocations: 347.9 kB / 442.2 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.5311, allocations: 220.6 kB / 442.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.5317, allocations: 314.1 kB / 442.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.5324, allocations: 260.4 kB / 442.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-06/0.5324, allocations: 0 / 442.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002741/0.5351, allocations: 0.8596 MB / 443.8 MB, free: 4.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5352, allocations: 4 kB / 443.8 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5352, allocations: 4 kB / 443.8 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.5368, allocations: 268.3 kB / 444.1 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.5375, allocations: 103.1 kB / 444.2 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006855/0.5443, allocations: 5.186 MB / 449.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.5449, allocations: 22.95 kB / 449.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.545, allocations: 26.88 kB / 449.4 MB, free: 15.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.5452, allocations: 138.4 kB / 449.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5453, allocations: 35.53 kB / 449.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/0.5483, allocations: 0.9587 MB / 450.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.5484, allocations: 4 kB / 450.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.139e-06/0.5484, allocations: 7.938 kB / 450.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5484, allocations: 7.984 kB / 450.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.5525, allocations: 1.614 MB / 452.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5525, allocations: 3.953 kB / 452.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.5532, allocations: 94.7 kB / 452.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.5547, allocations: 250 kB / 452.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.5548, allocations: 26.98 kB / 452.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.5598, allocations: 3.732 MB / 456.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.422e-06/0.5599, allocations: 7.984 kB / 456.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.5633, allocations: 1.355 MB / 457.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.5637, allocations: 184.6 kB / 457.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.5638, allocations: 16 kB / 457.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5642, allocations: 19.98 kB / 457.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5644, allocations: 52.27 kB / 457.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.5645, allocations: 31.98 kB / 457.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.5648, allocations: 183.1 kB / 458.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.006e-06/0.5648, allocations: 0 / 458.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001092/0.5659, allocations: 275.7 kB / 458.4 MB, free: 6.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (solution.T,solution.freeInternalEnergy,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000741/0.5666, allocations: 343.2 kB / 458.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.5688, allocations: 0.845 MB / 459.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/0.5688, allocations: 4 kB / 459.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5701, allocations: 0.5716 MB / 460.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.5708, allocations: 96.5 kB / 460.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.573, allocations: 0.8167 MB / 461.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.5736, allocations: 0.8327 MB / 461.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006047/0.5742, allocations: 146.9 kB / 462 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.5745, allocations: 63.34 kB / 462.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-05/0.5745, allocations: 0 / 462.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of Templates: time 0.0242/0.5987, allocations: 9.636 MB / 471.7 MB, free: 9.508 MB / 394.7 MB