Running command: "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.112/2.112, allocations: 215.4 MB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.424e-05/5.448e-05, allocations: 5.25 kB / 280.5 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 50.02 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/0.6138, allocations: 88.25 MB / 418.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6141, allocations: 68.09 kB / 418.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2883/0.9025, allocations: 64.53 MB / 483.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.9025, allocations: 0 / 483.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.9027, allocations: 36 kB / 483.4 MB, free: 15.28 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.007689/0.9104, allocations: 1.92 MB / 485.3 MB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.9105, allocations: 8.031 kB / 485.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008471/0.9113, allocations: 248.2 kB / 485.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.912, allocations: 181.8 kB / 485.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.917, allocations: 1.382 MB / 487.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.9174, allocations: 131.2 kB / 487.3 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.9186, allocations: 179.8 kB / 487.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/0.9269, allocations: 2.29 MB / 489.7 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.927, allocations: 3.938 kB / 489.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.9274, allocations: 67.98 kB / 489.8 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.9275, allocations: 43.98 kB / 489.9 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.9387, allocations: 3.619 MB / 493.5 MB, free: 5.082 MB / 410.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.02561/0.9644, allocations: 7.902 MB / 0.4896 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/0.9806, allocations: 4.258 MB / 0.4938 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/0.9849, allocations: 1.27 MB / 0.495 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/1.003, allocations: 7.688 MB / 0.5025 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/1.003, allocations: 68.55 kB / 0.5026 GB, free: 14.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=215): time 9.268e-06/1.003, allocations: 0 / 0.5026 GB, free: 14.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=281): time 0.06579/1.069, allocations: 10.13 MB / 0.5125 GB, free: 3.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.069, allocations: 111.7 kB / 0.5126 GB, free: 3.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.07, allocations: 0.6097 MB / 0.5132 GB, free: 3.148 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008352/1.071, allocations: 69.7 kB / 0.5133 GB, free: 3.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.072, allocations: 0.5139 MB / 0.5138 GB, free: 2.551 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.073, allocations: 0.9316 MB / 0.5147 GB, free: 1.605 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/1.074, allocations: 56 kB / 0.5147 GB, free: 1.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002735/1.074, allocations: 407.1 kB / 0.5151 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.343/1.417, allocations: 1.164 MB / 0.5163 GB, free: 109.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005058/1.422, allocations: 1.472 MB / 0.5177 GB, free: 109.6 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.T = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/1.445, allocations: 3.785 MB / 0.5214 GB, free: 109.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/1.445, allocations: 2.469 kB / 0.5214 GB, free: 109.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01449/1.459, allocations: 3.617 MB / 0.5249 GB, free: 109.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.459, allocations: 10.38 kB / 0.5249 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/1.459, allocations: 11.48 kB / 0.5249 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004413/1.464, allocations: 0.6193 MB / 0.5255 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005443/1.469, allocations: 0.588 MB / 0.5261 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.486, allocations: 16.07 MB / 0.5418 GB, free: 95.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.489, allocations: 93.27 kB / 0.5419 GB, free: 95.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009949/1.49, allocations: 164.6 kB / 0.5421 GB, free: 95.04 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: solution_at_constant_temperature.T = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 279 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009954/1.491, allocations: 240.7 kB / 0.5423 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.492, allocations: 156.5 kB / 0.5424 GB, free: 94.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.51, allocations: 4.514 MB / 0.5468 GB, free: 94.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/1.51, allocations: 26.62 kB / 0.5469 GB, free: 94.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/1.51, allocations: 6.75 kB / 0.5469 GB, free: 94.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/1.51, allocations: 16.56 kB / 0.5469 GB, free: 94.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02224/1.532, allocations: 6.961 MB / 0.5537 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/1.532, allocations: 5.188 kB / 0.5537 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004146/1.536, allocations: 0.5054 MB / 0.5542 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/1.54, allocations: 0.6217 MB / 0.5548 GB, free: 93.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00085/1.541, allocations: 105.5 kB / 0.5549 GB, free: 93.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.552, allocations: 8.242 MB / 0.5629 GB, free: 87.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.552, allocations: 10.78 kB / 0.563 GB, free: 87.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.568, allocations: 5.858 MB / 0.5687 GB, free: 84.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.57, allocations: 0.6124 MB / 0.5693 GB, free: 83.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/1.57, allocations: 54.66 kB / 0.5693 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.572, allocations: 86.75 kB / 0.5694 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/1.573, allocations: 233.8 kB / 0.5696 GB, free: 83.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004136/1.573, allocations: 154.9 kB / 0.5698 GB, free: 83.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008417/1.574, allocations: 466.9 kB / 0.5702 GB, free: 83.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.574, allocations: 2.25 kB / 0.5702 GB, free: 83.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005737/1.58, allocations: 1.324 MB / 0.5715 GB, free: 83.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 9 (solution_at_constant_temperature.freeInternalEnergy,A1.log10n,B1.log10n,H2O.log10n,thermal_isolated_solution.T,thermal_isolated_solution.freeInternalEnergy,A.log10n,B.log10n,H2O1.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 249 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 4 {1 3,1 6,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/1.598, allocations: 9.478 MB / 0.5808 GB, free: 77.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009374/1.608, allocations: 3.449 MB / 0.5841 GB, free: 75.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.608, allocations: 0 / 0.5841 GB, free: 75.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004689/1.613, allocations: 2.048 MB / 0.5861 GB, free: 74.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.616, allocations: 336.8 kB / 0.5865 GB, free: 74.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.628, allocations: 3.891 MB / 0.5903 GB, free: 72.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000943/1.629, allocations: 1.337 MB / 0.5916 GB, free: 72.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003773/1.633, allocations: 0.7865 MB / 0.5923 GB, free: 71.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/1.636, allocations: 0.8129 MB / 0.5931 GB, free: 71.46 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/1.636, allocations: 0 / 0.5931 GB, free: 71.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/1.803, allocations: 56.63 MB / 0.6484 GB, free: 28.55 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/1.803, allocations: 159.6 kB / 0.6486 GB, free: 28.33 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.183/6.986, allocations: 0 / 0.6486 GB, free: 28.33 MB / 442.7 MB