Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.131/2.131, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.341e-05, allocations: 0 / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6062, allocations: 87.71 MB / 418.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6066, allocations: 63.66 kB / 418.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1066/0.7132, allocations: 24.88 MB / 443.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7133, allocations: 0 / 443.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.7133, allocations: 12 kB / 443.2 MB, free: 4.684 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002474/0.7158, allocations: 0.8939 MB / 444.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7159, allocations: 15.97 kB / 444.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.7161, allocations: 98.12 kB / 444.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.7163, allocations: 71.16 kB / 444.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.7179, allocations: 0.5868 MB / 444.9 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.718, allocations: 47.3 kB / 444.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.7183, allocations: 65.84 kB / 445 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.7207, allocations: 0.8201 MB / 445.8 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.7208, allocations: 3.984 kB / 445.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7209, allocations: 23.12 kB / 445.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.7209, allocations: 16 kB / 445.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.7244, allocations: 1.22 MB / 447.1 MB, free: 1.625 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.007931/0.7324, allocations: 2.784 MB / 449.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/0.7377, allocations: 1.566 MB / 451.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.739, allocations: 448.1 kB / 451.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003828/0.7429, allocations: 2.561 MB / 454.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.743, allocations: 46.03 kB / 454.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 4.429e-06/0.743, allocations: 0 / 454.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.01773/0.7607, allocations: 3.804 MB / 458.3 MB, free: 7.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.7609, allocations: 68.34 kB / 458.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.7614, allocations: 275.6 kB / 458.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.7616, allocations: 45.64 kB / 458.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.7619, allocations: 252.8 kB / 458.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/0.7623, allocations: 358.8 kB / 459.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.7625, allocations: 16 kB / 459.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7627, allocations: 370.8 kB / 459.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.7639, allocations: 422 kB / 460 MB, free: 5.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.7653, allocations: 0.5313 MB / 460.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.7667, allocations: 484.7 kB / 461 MB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7667, allocations: 0 / 461 MB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005223/0.772, allocations: 1.413 MB / 462.4 MB, free: 3.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.7721, allocations: 8 kB / 462.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7721, allocations: 0 / 462.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.7746, allocations: 334.6 kB / 462.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.7764, allocations: 207.8 kB / 463 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.7865, allocations: 6.975 MB / 470 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.7876, allocations: 32.02 kB / 470 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.7878, allocations: 64.03 kB / 470 MB, free: 11.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.7881, allocations: 156.7 kB / 470.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.7884, allocations: 59.25 kB / 470.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006176/0.7945, allocations: 1.678 MB / 471.9 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.7946, allocations: 8 kB / 471.9 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7946, allocations: 7.953 kB / 471.9 MB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.7947, allocations: 3.984 kB / 472 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008085/0.8028, allocations: 2.661 MB / 474.6 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.8028, allocations: 4 kB / 474.6 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.8043, allocations: 183.7 kB / 474.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.8066, allocations: 322.7 kB / 475.1 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.8069, allocations: 39.98 kB / 475.2 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/0.8137, allocations: 4.26 MB / 479.4 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.8138, allocations: 12 kB / 479.4 MB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006945/0.8207, allocations: 2.258 MB / 481.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/0.8216, allocations: 272.2 kB / 481.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.8218, allocations: 27.95 kB / 482 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.8225, allocations: 27.98 kB / 482 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.8228, allocations: 88.61 kB / 482.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.823, allocations: 59.97 kB / 482.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004108/0.8234, allocations: 218.2 kB / 482.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8235, allocations: 0 / 482.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002287/0.8257, allocations: 483.5 kB / 482.8 MB, free: 13.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (solution.T,solution.freeInternalEnergy,Ethanol.log10n,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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%) 10} * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008728/0.8345, allocations: 4.122 MB / 487 MB, free: 9.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.8388, allocations: 1.331 MB / 488.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8388, allocations: 3.938 kB / 488.3 MB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.8411, allocations: 0.8386 MB / 489.1 MB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.8425, allocations: 144.7 kB / 489.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.8475, allocations: 1.512 MB / 490.8 MB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.8482, allocations: 0.9137 MB / 491.7 MB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.8496, allocations: 276.6 kB / 492 MB, free: 4.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/0.8504, allocations: 283.2 kB / 492.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8504, allocations: 0 / 492.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08716/0.9376, allocations: 21.93 MB / 0.5021 GB, free: 14.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/0.938, allocations: 161.4 kB / 0.5023 GB, free: 14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/4.368, allocations: 8 kB / 0.5023 GB, free: 13.99 MB / 442.7 MB