Running command: translateModel(Physiolibrary.Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate") Notification: Performance of loadModel(Physiolibrary): time 1.867/1.867, allocations: 210.4 MB / 222.5 MB, free: 4.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.551e-05, allocations: 0 / 273.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08635, allocations: 48.36 MB / 322.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.46, allocations: 95.67 MB / 417.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4603, allocations: 81.98 kB / 417.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8166/1.277, allocations: 153.4 MB / 0.5579 GB, free: 105.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.187e-06/1.277, allocations: 0 / 0.5579 GB, free: 105.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.431e-05/1.277, allocations: 23 kB / 0.5579 GB, free: 105.4 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.002581/1.28, allocations: 0.9126 MB / 0.5588 GB, free: 104.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.28, allocations: 7.438 kB / 0.5588 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/1.28, allocations: 87.83 kB / 0.5589 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.281, allocations: 0.5081 MB / 0.5594 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/1.281, allocations: 36.53 kB / 0.5595 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/1.281, allocations: 39.56 kB / 0.5595 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/1.282, allocations: 410.6 kB / 0.5599 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.282, allocations: 0 / 0.5599 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/1.282, allocations: 15.75 kB / 0.5599 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.282, allocations: 13.89 kB / 0.5599 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/1.283, allocations: 279.9 kB / 0.5602 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/1.287, allocations: 1.595 MB / 0.5617 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/1.288, allocations: 285.6 kB / 0.562 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/1.288, allocations: 160.2 kB / 0.5622 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/1.288, allocations: 8.062 kB / 0.5622 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.288, allocations: 38.33 kB / 0.5622 GB, free: 102.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.633e-06/1.288, allocations: 3.938 kB / 0.5622 GB, free: 102.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.01623/1.304, allocations: 2.826 MB / 0.565 GB, free: 102.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.304, allocations: 117.3 kB / 0.5651 GB, free: 102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/1.305, allocations: 0.5492 MB / 0.5656 GB, free: 101.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/1.305, allocations: 37.64 kB / 0.5657 GB, free: 101.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.306, allocations: 331.6 kB / 0.566 GB, free: 101.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/1.306, allocations: 159.4 kB / 0.5661 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/1.306, allocations: 15.84 kB / 0.5661 GB, free: 101.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/1.306, allocations: 378.7 kB / 0.5665 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/1.307, allocations: 300.4 kB / 0.5668 GB, free: 100.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/1.308, allocations: 0.4917 MB / 0.5673 GB, free: 100.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/1.308, allocations: 350.3 kB / 0.5676 GB, free: 100.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.308, allocations: 3.938 kB / 0.5676 GB, free: 100.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007484/1.316, allocations: 1.552 MB / 0.5691 GB, free: 99.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.316, allocations: 11.53 kB / 0.5691 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.316, allocations: 3.844 kB / 0.5691 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/1.319, allocations: 0.6819 MB / 0.5698 GB, free: 99.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.32, allocations: 126.8 kB / 0.5699 GB, free: 99.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.338, allocations: 9.184 MB / 0.5789 GB, free: 89.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.34, allocations: 47.88 kB / 0.5789 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/1.34, allocations: 35.98 kB / 0.579 GB, free: 89.82 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.0001772/1.34, allocations: 146.9 kB / 0.5791 GB, free: 89.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/1.34, allocations: 71.06 kB / 0.5792 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006689/1.347, allocations: 1.407 MB / 0.5806 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.347, allocations: 7.984 kB / 0.5806 GB, free: 88.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-06/1.347, allocations: 7.953 kB / 0.5806 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.347, allocations: 3.984 kB / 0.5806 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009708/1.357, allocations: 2.459 MB / 0.583 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.357, allocations: 4 kB / 0.583 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/1.357, allocations: 68.38 kB / 0.583 GB, free: 85.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003292/1.36, allocations: 0.6572 MB / 0.5837 GB, free: 84.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/1.361, allocations: 19.97 kB / 0.5837 GB, free: 84.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.379, allocations: 6.481 MB / 0.59 GB, free: 78.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.091e-06/1.379, allocations: 4.25 kB / 0.59 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007768/1.387, allocations: 2.256 MB / 0.5922 GB, free: 75.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.388, allocations: 224.1 kB / 0.5925 GB, free: 75.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/1.389, allocations: 23.98 kB / 0.5925 GB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.392, allocations: 31.95 kB / 0.5925 GB, free: 75.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.392, allocations: 55.81 kB / 0.5926 GB, free: 75.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.392, allocations: 23.98 kB / 0.5926 GB, free: 75.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001053/1.393, allocations: 431.1 kB / 0.593 GB, free: 74.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.131e-06/1.393, allocations: 0 / 0.593 GB, free: 74.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005375/1.399, allocations: 0.7309 MB / 0.5937 GB, free: 74.12 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.002559/1.401, allocations: 0.9079 MB / 0.5946 GB, free: 73.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003572/1.405, allocations: 1.113 MB / 0.5957 GB, free: 72.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.579e-06/1.405, allocations: 4 kB / 0.5957 GB, free: 72.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/1.407, allocations: 0.6928 MB / 0.5964 GB, free: 71.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.408, allocations: 162.8 kB / 0.5965 GB, free: 71.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.41, allocations: 1.008 MB / 0.5975 GB, free: 70.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/1.411, allocations: 0.9652 MB / 0.5984 GB, free: 69.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005053/1.411, allocations: 113.7 kB / 0.5986 GB, free: 69.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.411, allocations: 51.44 kB / 0.5986 GB, free: 68.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/1.411, allocations: 4 kB / 0.5986 GB, free: 68.98 MB / 426.7 MB Notification: Performance of Templates: time 0.04375/1.455, allocations: 21.4 MB / 0.6195 GB, free: 47.57 MB / 426.7 MB