Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.Phosphate,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_Phosphate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 1.901/1.901, allocations: 210.4 MB / 222.5 MB, free: 4.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.308e-05, allocations: 0 / 273.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 48.35 MB / 322.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5435, allocations: 95.67 MB / 417.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5439, allocations: 82.55 kB / 418 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8891/1.433, allocations: 153.4 MB / 0.558 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.433, allocations: 0 / 0.558 GB, free: 105.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.894e-05/1.433, allocations: 30.77 kB / 0.5581 GB, free: 105.6 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.003165/1.436, allocations: 0.918 MB / 0.559 GB, free: 104.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.436, allocations: 7.875 kB / 0.559 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/1.437, allocations: 77.83 kB / 0.559 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/1.437, allocations: 78.44 kB / 0.5591 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.438, allocations: 0.513 MB / 0.5596 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/1.438, allocations: 29.34 kB / 0.5596 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/1.438, allocations: 43 kB / 0.5597 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/1.439, allocations: 403.2 kB / 0.5601 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.439, allocations: 7.938 kB / 0.5601 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/1.439, allocations: 15.97 kB / 0.5601 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/1.44, allocations: 18.7 kB / 0.5601 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/1.44, allocations: 284.4 kB / 0.5604 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/1.445, allocations: 1.593 MB / 0.5619 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/1.446, allocations: 277.2 kB / 0.5622 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/1.446, allocations: 163.8 kB / 0.5624 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/1.446, allocations: 240 / 0.5624 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.446, allocations: 46.61 kB / 0.5624 GB, free: 103 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/1.446, allocations: 0 / 0.5624 GB, free: 103 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.02363/1.47, allocations: 2.815 MB / 0.5651 GB, free: 102.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/1.47, allocations: 116.7 kB / 0.5653 GB, free: 102.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.471, allocations: 0.556 MB / 0.5658 GB, free: 101.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.471, allocations: 33.55 kB / 0.5658 GB, free: 101.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/1.472, allocations: 343 kB / 0.5662 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/1.472, allocations: 147.1 kB / 0.5663 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/1.472, allocations: 15.84 kB / 0.5663 GB, free: 101.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/1.472, allocations: 384.1 kB / 0.5667 GB, free: 101 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/1.473, allocations: 301.5 kB / 0.567 GB, free: 100.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/1.474, allocations: 0.4943 MB / 0.5675 GB, free: 100.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/1.475, allocations: 352 kB / 0.5678 GB, free: 100.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.475, allocations: 0 / 0.5678 GB, free: 100.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01186/1.486, allocations: 1.555 MB / 0.5693 GB, free: 99.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.487, allocations: 8 kB / 0.5693 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.487, allocations: 8 kB / 0.5693 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005436/1.492, allocations: 0.6719 MB / 0.57 GB, free: 99.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/1.493, allocations: 131.7 kB / 0.5701 GB, free: 99.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/1.517, allocations: 9.192 MB / 0.5791 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.519, allocations: 47.97 kB / 0.5791 GB, free: 89.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/1.519, allocations: 27.98 kB / 0.5792 GB, free: 89.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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 {(5,64.0%) 4} * Non-linear torn systems: 1 {5 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/1.52, allocations: 140.8 kB / 0.5793 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/1.52, allocations: 71.06 kB / 0.5794 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.531, allocations: 1.414 MB / 0.5807 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.531, allocations: 7.953 kB / 0.5807 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/1.531, allocations: 4 kB / 0.5807 GB, free: 87.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.531, allocations: 3.984 kB / 0.5808 GB, free: 87.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.546, allocations: 2.463 MB / 0.5832 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.546, allocations: 4 kB / 0.5832 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/1.547, allocations: 63.84 kB / 0.5832 GB, free: 85.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/1.552, allocations: 0.6615 MB / 0.5839 GB, free: 84.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/1.552, allocations: 27.88 kB / 0.5839 GB, free: 84.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/1.57, allocations: 6.481 MB / 0.5902 GB, free: 77.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.57, allocations: 11.94 kB / 0.5902 GB, free: 77.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.582, allocations: 2.252 MB / 0.5924 GB, free: 75.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008649/1.583, allocations: 224.1 kB / 0.5926 GB, free: 75.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/1.583, allocations: 11.98 kB / 0.5927 GB, free: 75.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.585, allocations: 35.89 kB / 0.5927 GB, free: 75.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/1.586, allocations: 59.81 kB / 0.5927 GB, free: 75.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/1.586, allocations: 19.98 kB / 0.5928 GB, free: 75.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007003/1.586, allocations: 431.1 kB / 0.5932 GB, free: 74.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.586, allocations: 0 / 0.5932 GB, free: 74.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004198/1.591, allocations: 0.7225 MB / 0.5939 GB, free: 73.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (electroneutrality.state[1],tP04.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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 {(5,64.0%) 4} * Non-linear torn systems: 1 {5 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01547/1.606, allocations: 4.798 MB / 0.5986 GB, free: 69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005573/1.612, allocations: 1.117 MB / 0.5997 GB, free: 67.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.612, allocations: 0 / 0.5997 GB, free: 67.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003409/1.615, allocations: 0.7005 MB / 0.6003 GB, free: 67.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.617, allocations: 170.7 kB / 0.6005 GB, free: 66.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/1.621, allocations: 1.22 MB / 0.6017 GB, free: 65.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/1.621, allocations: 0.9615 MB / 0.6026 GB, free: 64.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005513/1.622, allocations: 101.8 kB / 0.6027 GB, free: 64.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.622, allocations: 239.4 kB / 0.603 GB, free: 64.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.622, allocations: 0 / 0.603 GB, free: 64.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/1.696, allocations: 28.21 MB / 0.6305 GB, free: 36.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.696, allocations: 219.4 kB / 0.6307 GB, free: 35.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.02/5.716, allocations: 3.938 kB / 0.6307 GB, free: 35.89 MB / 426.7 MB