Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.137e-05, allocations: 4 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3814, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5202, allocations: 89.26 MB / 499.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5204, allocations: 59.97 kB / 499.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06036/0.5808, allocations: 13.04 MB / 0.5006 GB, free: 4.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5808, allocations: 0 / 0.5006 GB, free: 4.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.668e-06/0.5809, allocations: 0 / 0.5006 GB, free: 4.207 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006303/0.5815, allocations: 447.9 kB / 0.501 GB, free: 3.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5816, allocations: 8.031 kB / 0.501 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.5816, allocations: 75.28 kB / 0.5011 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.5818, allocations: 234.4 kB / 0.5013 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.5819, allocations: 154.5 kB / 0.5015 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.582, allocations: 162.5 kB / 0.5016 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.5821, allocations: 108.9 kB / 0.5017 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.5821, allocations: 79.28 kB / 0.5018 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.5822, allocations: 150.6 kB / 0.502 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.54e-05/0.5823, allocations: 150.6 kB / 0.5021 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.5824, allocations: 150.6 kB / 0.5023 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.5828, allocations: 446 kB / 0.5027 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5829, allocations: 173.1 kB / 0.5028 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.583, allocations: 80.14 kB / 0.5029 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.583, allocations: 75.28 kB / 0.503 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.099e-05/0.5831, allocations: 139.5 kB / 0.5031 GB, free: 1.445 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.085e-06/0.5832, allocations: 4 kB / 0.5031 GB, free: 1.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.348e-05/0.5832, allocations: 29.7 kB / 0.5032 GB, free: 1.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.5834, allocations: 152.4 kB / 0.5033 GB, free: 1.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.5834, allocations: 85 kB / 0.5034 GB, free: 1.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5834, allocations: 25.7 kB / 0.5034 GB, free: 1.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.5835, allocations: 80.14 kB / 0.5035 GB, free: 1.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-06/0.5835, allocations: 4 kB / 0.5035 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-07/0.5835, allocations: 0 / 0.5035 GB, free: 1.031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5837, allocations: 318.8 kB / 0.5038 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-06/0.5837, allocations: 3.938 kB / 0.5038 GB, free: 0.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.5837, allocations: 0 / 0.5038 GB, free: 0.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.5838, allocations: 75.28 kB / 0.5039 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-05/0.5838, allocations: 79.28 kB / 0.5039 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.907e-05/0.5839, allocations: 33.69 kB / 0.504 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.584, allocations: 83.28 kB / 0.5041 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/0.584, allocations: 75.28 kB / 0.5041 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.363e-05/0.5841, allocations: 166.5 kB / 0.5043 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.5842, allocations: 75.28 kB / 0.5044 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.572e-05/0.5843, allocations: 150.6 kB / 0.5045 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.5844, allocations: 83.22 kB / 0.5046 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.5845, allocations: 75.28 kB / 0.5047 GB, free: 15.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001602/0.5846, allocations: 263.5 kB / 0.5049 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.5847, allocations: 112.9 kB / 0.505 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.5848, allocations: 111.8 kB / 0.5051 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-05/0.5849, allocations: 180.2 kB / 0.5053 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.928e-05/0.585, allocations: 184.2 kB / 0.5055 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.476e-05/0.5851, allocations: 180.2 kB / 0.5056 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5855, allocations: 401.2 kB / 0.506 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.759e-05/0.5855, allocations: 105 kB / 0.5061 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.5856, allocations: 108.9 kB / 0.5062 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.913e-05/0.5857, allocations: 176.3 kB / 0.5064 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.5858, allocations: 181.1 kB / 0.5066 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001275/0.5859, allocations: 180.2 kB / 0.5067 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000167/0.5861, allocations: 192.2 kB / 0.5069 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.5865, allocations: 303.8 kB / 0.5072 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5867, allocations: 182.1 kB / 0.5074 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.5869, allocations: 176.3 kB / 0.5076 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.5872, allocations: 113.3 kB / 0.5077 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.5874, allocations: 176.3 kB / 0.5078 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5875, allocations: 108.9 kB / 0.5079 GB, free: 12.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.5876, allocations: 79.33 kB / 0.508 GB, free: 12.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.441e-06/0.5876, allocations: 0 / 0.508 GB, free: 12.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001879/0.5895, allocations: 171.7 kB / 0.5082 GB, free: 11.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.002184/0.5917, allocations: 472.8 kB / 0.5086 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.5918, allocations: 4 kB / 0.5086 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5918, allocations: 0 / 0.5086 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-06/0.5919, allocations: 4 kB / 0.5086 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.5927, allocations: 0.5185 MB / 0.5091 GB, free: 11.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.5929, allocations: 128.3 kB / 0.5093 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.5935, allocations: 0.6731 MB / 0.5099 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.017e-05/0.5936, allocations: 0 / 0.5099 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.5936, allocations: 15.44 kB / 0.5099 GB, free: 10.14 MB / 442.7 MB Notification: Performance of SimCode: time 2.27e-06/0.5937, allocations: 0 / 0.5099 GB, free: 10.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01895/0.6126, allocations: 2.938 MB / 0.5128 GB, free: 7.207 MB / 442.7 MB