Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.127/2.127, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.853e-05, allocations: 4 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 50.01 MB / 330.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5839, allocations: 87.52 MB / 418.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5842, allocations: 66.16 kB / 418.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0742/0.6585, allocations: 14.68 MB / 432.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6585, allocations: 0 / 432.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.6586, allocations: 8 kB / 432.8 MB, free: 13.77 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.00167/0.6603, allocations: 0.6922 MB / 433.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6603, allocations: 8.031 kB / 433.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.6605, allocations: 79.7 kB / 433.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.6606, allocations: 47.44 kB / 433.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.6616, allocations: 430.4 kB / 434.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.6617, allocations: 30.16 kB / 434.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6618, allocations: 37.44 kB / 434.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.663, allocations: 460.4 kB / 434.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6631, allocations: 0 / 434.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.6631, allocations: 24.98 kB / 434.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.6632, allocations: 8 kB / 434.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.6649, allocations: 0.6627 MB / 435.3 MB, free: 11.73 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.004644/0.6696, allocations: 1.634 MB / 436.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.6716, allocations: 0.5713 MB / 437.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.6722, allocations: 218.4 kB / 437.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.6742, allocations: 1.279 MB / 439 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.6742, allocations: 42.25 kB / 439 MB, free: 8.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.085e-06/0.6743, allocations: 0 / 439 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.01116/0.6854, allocations: 2.283 MB / 441.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.6855, allocations: 55.84 kB / 441.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.6859, allocations: 223.6 kB / 441.6 MB, free: 6.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.686, allocations: 41.02 kB / 441.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.6862, allocations: 206.6 kB / 441.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.6865, allocations: 183.2 kB / 442 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.6865, allocations: 10.75 kB / 442 MB, free: 6.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6867, allocations: 351.2 kB / 442.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.6874, allocations: 224.5 kB / 442.6 MB, free: 5.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.6881, allocations: 307.8 kB / 442.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.6889, allocations: 258.9 kB / 443.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6889, allocations: 4 kB / 443.1 MB, free: 5.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003514/0.6924, allocations: 0.858 MB / 444 MB, free: 4.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6925, allocations: 4 kB / 444 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6925, allocations: 4 kB / 444 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.6946, allocations: 273 kB / 444.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.6956, allocations: 106.3 kB / 444.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00774/0.7033, allocations: 5.171 MB / 449.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.704, allocations: 17.91 kB / 449.5 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7042, allocations: 29.92 kB / 449.6 MB, free: 14.97 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.0002372/0.7044, allocations: 138.3 kB / 449.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.7045, allocations: 35.53 kB / 449.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.7084, allocations: 0.9699 MB / 450.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.7085, allocations: 4 kB / 450.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7085, allocations: 8 kB / 450.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7085, allocations: 3.984 kB / 450.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.7135, allocations: 1.63 MB / 452.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7135, allocations: 0 / 452.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.7143, allocations: 94.77 kB / 452.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.7164, allocations: 248.5 kB / 452.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.7165, allocations: 23.73 kB / 452.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/0.7222, allocations: 3.731 MB / 456.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.7223, allocations: 4 kB / 456.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.7265, allocations: 1.367 MB / 457.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.7269, allocations: 184.6 kB / 458 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.7271, allocations: 12 kB / 458 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.7276, allocations: 19.98 kB / 458 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.7278, allocations: 56.27 kB / 458.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.7279, allocations: 31.98 kB / 458.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002936/0.7282, allocations: 179.1 kB / 458.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7282, allocations: 3.938 kB / 458.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001235/0.7294, allocations: 267.8 kB / 458.6 MB, free: 6.773 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.005487/0.7349, allocations: 2.669 MB / 461.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.7375, allocations: 0.8411 MB / 462.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7376, allocations: 3.938 kB / 462.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.7391, allocations: 0.5756 MB / 462.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.74, allocations: 108.3 kB / 462.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.7432, allocations: 0.9744 MB / 463.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.7438, allocations: 0.8328 MB / 464.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006919/0.7445, allocations: 142.9 kB / 464.7 MB, free: 428 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.7449, allocations: 175.4 kB / 464.9 MB, free: 252 kB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7449, allocations: 0 / 464.9 MB, free: 252 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.7992, allocations: 13.45 MB / 478.3 MB, free: 2.867 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.7997, allocations: 156.1 kB / 478.5 MB, free: 2.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.709, allocations: 3.938 kB / 478.5 MB, free: 2.641 MB / 394.7 MB