Running command: translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") Notification: Performance of loadModel(SystemDynamics): time 2.358/2.358, allocations: 234.7 MB / 246.8 MB, free: 14.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.215e-05, allocations: 7.984 kB / 304.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 54.62 MB / 358.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4356, allocations: 78.29 MB / 437.2 MB, free: 2.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.4358, allocations: 55.97 kB / 437.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02122/0.4571, allocations: 5.915 MB / 443.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4571, allocations: 0 / 443.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.4572, allocations: 12 kB / 443.2 MB, free: 12.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.0009179/0.4581, allocations: 0.6232 MB / 443.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4582, allocations: 8.031 kB / 443.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.4583, allocations: 59.25 kB / 443.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.4588, allocations: 311.4 kB / 444.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.4589, allocations: 41.31 kB / 444.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.459, allocations: 51.95 kB / 444.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/0.4599, allocations: 469.6 kB / 444.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.46, allocations: 0 / 444.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.46, allocations: 24 kB / 444.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.46, allocations: 12 kB / 444.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.4606, allocations: 237.9 kB / 445 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.4633, allocations: 1.76 MB / 446.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.4639, allocations: 206.8 kB / 447 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4641, allocations: 68.8 kB / 447 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4641, allocations: 4 kB / 447.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4642, allocations: 38.56 kB / 447.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.425e-06/0.4642, allocations: 0 / 447.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004336/0.4646, allocations: 173.6 kB / 447.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4647, allocations: 55.41 kB / 447.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.4651, allocations: 295.5 kB / 447.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4652, allocations: 25.7 kB / 447.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.4654, allocations: 263.6 kB / 447.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.4655, allocations: 71 kB / 448 MB, free: 7.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.4655, allocations: 4 kB / 448 MB, free: 7.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4657, allocations: 346.8 kB / 448.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4659, allocations: 56 kB / 448.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.4661, allocations: 117 kB / 448.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4663, allocations: 83.83 kB / 448.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.757e-06/0.4663, allocations: 3.938 kB / 448.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005401/0.4669, allocations: 252 kB / 448.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4669, allocations: 4 kB / 448.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4669, allocations: 4 kB / 448.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.467, allocations: 4 kB / 448.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4673, allocations: 47.91 kB / 448.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.4673, allocations: 3.984 kB / 448.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4675, allocations: 35.59 kB / 448.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4675, allocations: 8 kB / 448.9 MB, free: 6.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (Water_Inside.Integrator1.local_reset,Water_Outside.Integrator1.local_reset,Sucrose_Outside.Integrator1.local_reset,Sucrose_Inside.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4676, allocations: 127.7 kB / 449 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.4677, allocations: 31.58 kB / 449.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.4678, allocations: 43.11 kB / 449.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-06/0.4678, allocations: 4 kB / 449.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-06/0.4679, allocations: 0 / 449.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-06/0.4679, allocations: 0 / 449.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.4685, allocations: 393.3 kB / 449.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-06/0.4685, allocations: 0 / 449.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.4688, allocations: 31.92 kB / 449.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.4688, allocations: 7.953 kB / 449.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4688, allocations: 4 kB / 449.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4689, allocations: 4 kB / 449.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.844e-06/0.4689, allocations: 3.984 kB / 449.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.4695, allocations: 335.1 kB / 449.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4696, allocations: 124.5 kB / 450 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.4697, allocations: 7.953 kB / 450 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4698, allocations: 0 / 450 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4699, allocations: 15.98 kB / 450 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4699, allocations: 4 kB / 450 MB, free: 5.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003307/0.4702, allocations: 230.2 kB / 450.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.4703, allocations: 0 / 450.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004672/0.4707, allocations: 75.59 kB / 450.3 MB, free: 5.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Sucrose_Inside.Integrator1.y,Sucrose_Outside.Integrator1.y,Water_Outside.Integrator1.y,Water_Inside.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.4709, allocations: 111.1 kB / 450.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.4713, allocations: 147.9 kB / 450.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.797e-06/0.4713, allocations: 0.5 kB / 450.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4715, allocations: 75.89 kB / 450.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4719, allocations: 41.19 kB / 450.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.473, allocations: 478.5 kB / 451.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.4735, allocations: 0.8186 MB / 452 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.4737, allocations: 34.97 kB / 452 MB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.4738, allocations: 27.38 kB / 452 MB, free: 3.453 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4738, allocations: 0 / 452 MB, free: 3.453 MB / 378.7 MB Notification: Performance of Templates: time 0.007609/0.4814, allocations: 1.85 MB / 453.9 MB, free: 1.609 MB / 378.7 MB