Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 1.909/1.909, allocations: 210.4 MB / 222.5 MB, free: 4.801 MB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.596e-05, allocations: 7.984 kB / 273.9 MB, free: 1.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 48.35 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.569, allocations: 96.05 MB / 418.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5693, allocations: 75.66 kB / 418.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7695/1.339, allocations: 123.1 MB / 0.5288 GB, free: 109.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.339, allocations: 0 / 0.5288 GB, free: 109.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.239e-05/1.339, allocations: 30.2 kB / 0.5288 GB, free: 109.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002873/1.342, allocations: 0.8034 MB / 0.5296 GB, free: 108.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.342, allocations: 11.81 kB / 0.5296 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/1.342, allocations: 63.08 kB / 0.5297 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/1.343, allocations: 66.7 kB / 0.5297 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/1.344, allocations: 443.3 kB / 0.5302 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/1.344, allocations: 27.72 kB / 0.5302 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/1.344, allocations: 34.12 kB / 0.5302 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/1.345, allocations: 331.2 kB / 0.5305 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.345, allocations: 0 / 0.5305 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/1.345, allocations: 15.19 kB / 0.5305 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.345, allocations: 7.75 kB / 0.5305 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/1.345, allocations: 221.2 kB / 0.5308 GB, free: 108.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/1.349, allocations: 1.339 MB / 0.5321 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/1.35, allocations: 209 kB / 0.5323 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.35, allocations: 115.3 kB / 0.5324 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/1.35, allocations: 6.375 kB / 0.5324 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/1.35, allocations: 41.59 kB / 0.5324 GB, free: 107.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.314e-06/1.35, allocations: 224 / 0.5324 GB, free: 107.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0159/1.366, allocations: 1.998 MB / 0.5344 GB, free: 107.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.366, allocations: 85 kB / 0.5345 GB, free: 107.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/1.367, allocations: 470.3 kB / 0.5349 GB, free: 107.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/1.367, allocations: 31.27 kB / 0.5349 GB, free: 107.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/1.367, allocations: 296 kB / 0.5352 GB, free: 107 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/1.368, allocations: 120.9 kB / 0.5353 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/1.368, allocations: 9.969 kB / 0.5353 GB, free: 106.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/1.368, allocations: 364.2 kB / 0.5357 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/1.369, allocations: 218.1 kB / 0.5359 GB, free: 106.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/1.369, allocations: 356.1 kB / 0.5362 GB, free: 106.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/1.37, allocations: 251 kB / 0.5365 GB, free: 106.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.37, allocations: 3.938 kB / 0.5365 GB, free: 106.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.007475/1.377, allocations: 1.123 MB / 0.5376 GB, free: 106.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.377, allocations: 6.969 kB / 0.5376 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.377, allocations: 3.656 kB / 0.5376 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003762/1.381, allocations: 0.4958 MB / 0.5381 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/1.382, allocations: 83.33 kB / 0.5381 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/1.401, allocations: 9.874 MB / 0.5478 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.403, allocations: 39.28 kB / 0.5478 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/1.403, allocations: 28.58 kB / 0.5479 GB, free: 100.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/1.404, allocations: 134.4 kB / 0.548 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.404, allocations: 60.53 kB / 0.548 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/1.404, allocations: 73.33 kB / 0.5481 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.404, allocations: 7.891 kB / 0.5481 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.404, allocations: 3.844 kB / 0.5481 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.404, allocations: 3.891 kB / 0.5481 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008812/1.413, allocations: 1.678 MB / 0.5498 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.413, allocations: 0 / 0.5498 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/1.413, allocations: 33.81 kB / 0.5498 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.417, allocations: 0.4988 MB / 0.5503 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/1.417, allocations: 7.578 kB / 0.5503 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/1.434, allocations: 7.913 MB / 0.558 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.434, allocations: 0 / 0.558 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007843/1.442, allocations: 1.518 MB / 0.5595 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/1.442, allocations: 186.6 kB / 0.5597 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/1.443, allocations: 8 kB / 0.5597 GB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.444, allocations: 27.02 kB / 0.5597 GB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.444, allocations: 35.38 kB / 0.5597 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/1.444, allocations: 18.8 kB / 0.5598 GB, free: 94.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006089/1.445, allocations: 359.5 kB / 0.5601 GB, free: 93.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.445, allocations: 0 / 0.5601 GB, free: 93.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003264/1.448, allocations: 0.6493 MB / 0.5607 GB, free: 93.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (electroneutrality.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/1.459, allocations: 2.945 MB / 0.5636 GB, free: 92.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004647/1.463, allocations: 1.127 MB / 0.5647 GB, free: 91.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.463, allocations: 0 / 0.5647 GB, free: 91.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.467, allocations: 0.8456 MB / 0.5655 GB, free: 91.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.468, allocations: 139.8 kB / 0.5657 GB, free: 91.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/1.471, allocations: 0.8981 MB / 0.5666 GB, free: 90.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/1.472, allocations: 0.9007 MB / 0.5674 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004491/1.472, allocations: 76.81 kB / 0.5675 GB, free: 89.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.473, allocations: 187.7 kB / 0.5677 GB, free: 89.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.473, allocations: 0 / 0.5677 GB, free: 89.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05993/1.533, allocations: 21.39 MB / 0.5886 GB, free: 77.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.533, allocations: 247.2 kB / 0.5888 GB, free: 77.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/5.136, allocations: 0 / 0.5888 GB, free: 77.12 MB / 426.7 MB