Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.208/2.208, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.894e-05, allocations: 4 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5584, allocations: 87.78 MB / 418.3 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5588, allocations: 67.78 kB / 418.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3037/0.8625, allocations: 67.4 MB / 485.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8626, allocations: 0 / 485.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001228/0.8627, allocations: 39.98 kB / 485.8 MB, free: 12.58 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.007306/0.87, allocations: 1.884 MB / 487.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.8701, allocations: 12.03 kB / 487.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000834/0.8709, allocations: 231.7 kB / 487.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.8715, allocations: 173.9 kB / 488.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/0.8762, allocations: 1.359 MB / 489.5 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.8764, allocations: 115.1 kB / 489.6 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.8776, allocations: 179.8 kB / 489.8 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007642/0.8852, allocations: 2.245 MB / 492 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.8853, allocations: 0 / 492 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/0.8857, allocations: 68 kB / 492.1 MB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.8859, allocations: 36 kB / 492.1 MB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.8972, allocations: 3.615 MB / 495.7 MB, free: 2.523 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.02509/0.9224, allocations: 7.841 MB / 0.4918 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/0.9425, allocations: 5.073 MB / 0.4967 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/0.9467, allocations: 1.335 MB / 0.498 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/0.9598, allocations: 7.684 MB / 0.5055 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.313e-05/0.9599, allocations: 56.56 kB / 0.5056 GB, free: 10.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 6.172e-06/0.96, allocations: 0 / 0.5056 GB, free: 10.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.08858/1.049, allocations: 10.53 MB / 0.5159 GB, free: 92 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.322/1.371, allocations: 107.9 kB / 0.516 GB, free: 110.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/1.373, allocations: 0.5147 MB / 0.5165 GB, free: 110.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.374, allocations: 74.98 kB / 0.5165 GB, free: 110.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/1.375, allocations: 467.2 kB / 0.517 GB, free: 110.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002372/1.377, allocations: 0.9697 MB / 0.5179 GB, free: 109.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/1.378, allocations: 53.66 kB / 0.518 GB, free: 109.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006087/1.379, allocations: 448.2 kB / 0.5184 GB, free: 109.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006815/1.386, allocations: 1.215 MB / 0.5196 GB, free: 109.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/1.393, allocations: 1.465 MB / 0.521 GB, free: 109.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/1.4, allocations: 1.368 MB / 0.5224 GB, free: 109.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/1.401, allocations: 1.656 kB / 0.5224 GB, free: 109.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.02163/1.422, allocations: 3.55 MB / 0.5258 GB, free: 108.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.422, allocations: 9.312 kB / 0.5258 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/1.422, allocations: 6.859 kB / 0.5259 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004703/1.427, allocations: 474.2 kB / 0.5263 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008968/1.436, allocations: 0.6002 MB / 0.5269 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.454, allocations: 15.2 MB / 0.5417 GB, free: 94.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/1.459, allocations: 94.69 kB / 0.5418 GB, free: 94.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.46, allocations: 155.9 kB / 0.542 GB, free: 94.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 288 * 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 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001632/1.462, allocations: 243.7 kB / 0.5422 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009955/1.463, allocations: 155.2 kB / 0.5424 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/1.489, allocations: 4.633 MB / 0.5469 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/1.489, allocations: 30.72 kB / 0.5469 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-05/1.489, allocations: 4.594 kB / 0.5469 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/1.489, allocations: 14.3 kB / 0.5469 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/1.519, allocations: 7.05 MB / 0.5538 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/1.52, allocations: 9.672 kB / 0.5538 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006371/1.526, allocations: 0.5492 MB / 0.5544 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/1.53, allocations: 475.8 kB / 0.5548 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.531, allocations: 110.4 kB / 0.5549 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008559/1.539, allocations: 7.553 MB / 0.5623 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.539, allocations: 3.844 kB / 0.5623 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.557, allocations: 5.91 MB / 0.5681 GB, free: 84.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.559, allocations: 0.6133 MB / 0.5687 GB, free: 83.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009176/1.56, allocations: 60.97 kB / 0.5687 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.563, allocations: 79.06 kB / 0.5688 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009632/1.564, allocations: 238.5 kB / 0.569 GB, free: 83.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007666/1.565, allocations: 144.5 kB / 0.5692 GB, free: 83.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007391/1.565, allocations: 413.5 kB / 0.5696 GB, free: 83.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.565, allocations: 2.562 kB / 0.5696 GB, free: 83.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006236/1.572, allocations: 1.309 MB / 0.5708 GB, free: 83.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 10 (solution1.T,solution1.freeInternalEnergy,H_.log10n,OH_.log10n,H2O_.log10n,solution.T,solution.freeInternalEnergy,H3O.log10n,OH.log10n,H2O.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 272 * 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,(1,100.0%) 3} * 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.02264/1.594, allocations: 8.99 MB / 0.5796 GB, free: 78.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.606, allocations: 3.54 MB / 0.5831 GB, free: 76.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.606, allocations: 2.219 kB / 0.5831 GB, free: 76.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00549/1.612, allocations: 2.114 MB / 0.5851 GB, free: 75.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.615, allocations: 321.1 kB / 0.5855 GB, free: 75.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.63, allocations: 3.983 MB / 0.5893 GB, free: 73.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/1.631, allocations: 1.32 MB / 0.5906 GB, free: 72.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004491/1.635, allocations: 0.7965 MB / 0.5914 GB, free: 72.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/1.638, allocations: 0.7913 MB / 0.5922 GB, free: 72.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/1.638, allocations: 0 / 0.5922 GB, free: 72.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/1.773, allocations: 55.62 MB / 0.6465 GB, free: 31.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.773, allocations: 182.2 kB / 0.6467 GB, free: 30.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.047/6.82, allocations: 0 / 0.6467 GB, free: 30.91 MB / 442.7 MB