Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.034/2.034, 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 4.899e-05/4.915e-05, allocations: 4 kB / 273.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.34 MB / 322.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5514, allocations: 95.4 MB / 417.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5517, allocations: 72.41 kB / 417.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4237/0.9754, allocations: 92.47 MB / 0.4982 GB, free: 8.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9755, allocations: 0 / 0.4982 GB, free: 8.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.131e-05/0.9756, allocations: 12 kB / 0.4982 GB, free: 8.777 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002692/0.9783, allocations: 0.6539 MB / 0.4989 GB, free: 8.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.9784, allocations: 8.031 kB / 0.4989 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.9785, allocations: 58.53 kB / 0.4989 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.9789, allocations: 43.48 kB / 0.499 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.9802, allocations: 343.6 kB / 0.4993 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.9803, allocations: 16.44 kB / 0.4993 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.9804, allocations: 24 kB / 0.4993 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.9813, allocations: 229.8 kB / 0.4996 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.9813, allocations: 0.5625 kB / 0.4996 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.9814, allocations: 11.94 kB / 0.4996 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.9814, allocations: 8 kB / 0.4996 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.982, allocations: 128.8 kB / 0.4997 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.9865, allocations: 1.039 MB / 0.5007 GB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.9873, allocations: 167.8 kB / 0.5009 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.9876, allocations: 70.48 kB / 0.5009 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.9876, allocations: 4 kB / 0.501 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.9877, allocations: 38.5 kB / 0.501 GB, free: 5.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 4.408e-06/0.9877, allocations: 0 / 0.501 GB, free: 5.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.01265/1, allocations: 1.171 MB / 0.5021 GB, free: 4.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.001, allocations: 106.8 kB / 0.5022 GB, free: 4.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/1.001, allocations: 331.1 kB / 0.5025 GB, free: 4.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/1.002, allocations: 29.7 kB / 0.5026 GB, free: 4.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.002, allocations: 219.8 kB / 0.5028 GB, free: 3.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/1.002, allocations: 86.83 kB / 0.5029 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/1.002, allocations: 12 kB / 0.5029 GB, free: 3.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/1.003, allocations: 355 kB / 0.5032 GB, free: 3.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/1.003, allocations: 124.7 kB / 0.5033 GB, free: 3.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/1.004, allocations: 285.3 kB / 0.5036 GB, free: 2.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/1.004, allocations: 165.5 kB / 0.5038 GB, free: 2.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.004, allocations: 0 / 0.5038 GB, free: 2.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.006165/1.011, allocations: 0.7208 MB / 0.5045 GB, free: 2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.011, allocations: 10.34 kB / 0.5045 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.011, allocations: 8 kB / 0.5045 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/1.013, allocations: 305.5 kB / 0.5048 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/1.014, allocations: 71.84 kB / 0.5048 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2851/1.299, allocations: 6.055 MB / 0.5108 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.3, allocations: 32.36 kB / 0.5108 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/1.3, allocations: 20.45 kB / 0.5108 GB, free: 109.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001567/1.301, allocations: 127.2 kB / 0.5109 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/1.301, allocations: 40.58 kB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/1.301, allocations: 48.08 kB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.301, allocations: 6.812 kB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.301, allocations: 1.156 kB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.301, allocations: 3.469 kB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/1.303, allocations: 449.4 kB / 0.5115 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.303, allocations: 1.094 kB / 0.5115 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/1.303, allocations: 24.5 kB / 0.5115 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.306, allocations: 292.1 kB / 0.5118 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/1.306, allocations: 10.31 kB / 0.5118 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009011/1.315, allocations: 4.113 MB / 0.5158 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.315, allocations: 2.25 kB / 0.5158 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/1.32, allocations: 1.009 MB / 0.5168 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/1.321, allocations: 145.2 kB / 0.5169 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/1.321, allocations: 8.594 kB / 0.5169 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.322, allocations: 16.66 kB / 0.5169 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.322, allocations: 23.97 kB / 0.517 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/1.322, allocations: 7.906 kB / 0.517 GB, free: 106.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004651/1.323, allocations: 261.5 kB / 0.5172 GB, free: 106.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.323, allocations: 2.953 kB / 0.5172 GB, free: 106.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001153/1.324, allocations: 135.7 kB / 0.5174 GB, free: 106.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (electroneutrality.state[1],tH2O.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005421/1.329, allocations: 1.72 MB / 0.519 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/1.332, allocations: 0.614 MB / 0.5196 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.332, allocations: 0 / 0.5196 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.334, allocations: 447.6 kB / 0.5201 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/1.335, allocations: 78.81 kB / 0.5201 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/1.336, allocations: 0.5706 MB / 0.5207 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/1.337, allocations: 0.8253 MB / 0.5215 GB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003817/1.337, allocations: 53.59 kB / 0.5215 GB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/1.338, allocations: 116.5 kB / 0.5217 GB, free: 104.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.452e-06/1.338, allocations: 2.516 kB / 0.5217 GB, free: 104.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/1.386, allocations: 12.29 MB / 0.5337 GB, free: 103.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.386, allocations: 190.9 kB / 0.5338 GB, free: 103.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/4.29, allocations: 3.938 kB / 0.5338 GB, free: 103.4 MB / 426.7 MB