Running command: translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.109e-05, allocations: 4 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3546, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4856, allocations: 84.49 MB / 466.7 MB, free: 8.039 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4859, allocations: 59.98 kB / 466.7 MB, free: 7.98 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.005182/0.4911, allocations: 1.425 MB / 468.2 MB, free: 6.551 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.028e-06/0.4911, allocations: 0 / 468.2 MB, free: 6.551 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.996e-06/0.4911, allocations: 0 / 468.2 MB, free: 6.551 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003393/0.4915, allocations: 340.3 kB / 468.5 MB, free: 6.168 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4915, allocations: 12.03 kB / 468.5 MB, free: 6.156 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.4916, allocations: 11.89 kB / 468.5 MB, free: 6.145 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4917, allocations: 167 kB / 468.7 MB, free: 5.941 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4917, allocations: 0 / 468.7 MB, free: 5.941 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-06/0.4918, allocations: 0 / 468.7 MB, free: 5.941 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.163e-05/0.4919, allocations: 33.64 kB / 468.7 MB, free: 5.902 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-06/0.4919, allocations: 0 / 468.7 MB, free: 5.902 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-06/0.4919, allocations: 0 / 468.7 MB, free: 5.902 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-06/0.4919, allocations: 0 / 468.7 MB, free: 5.902 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.4919, allocations: 0 / 468.7 MB, free: 5.902 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.4921, allocations: 161.6 kB / 468.9 MB, free: 5.695 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.4922, allocations: 14.58 kB / 468.9 MB, free: 5.672 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.4922, allocations: 8.953 kB / 468.9 MB, free: 5.66 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-06/0.4922, allocations: 0 / 468.9 MB, free: 5.66 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.4923, allocations: 60.27 kB / 469 MB, free: 5.586 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/0.4923, allocations: 0 / 469 MB, free: 5.586 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.4925, allocations: 67.33 kB / 469 MB, free: 5.508 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.4926, allocations: 81.14 kB / 469.1 MB, free: 5.41 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.4926, allocations: 85 kB / 469.2 MB, free: 5.32 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4927, allocations: 25.7 kB / 469.2 MB, free: 5.289 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.4927, allocations: 84.08 kB / 469.3 MB, free: 5.203 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.4927, allocations: 0 / 469.3 MB, free: 5.203 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-06/0.4927, allocations: 3.828 kB / 469.3 MB, free: 5.203 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4929, allocations: 318.8 kB / 469.6 MB, free: 4.883 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.4929, allocations: 0 / 469.6 MB, free: 4.883 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.493, allocations: 4 kB / 469.6 MB, free: 4.879 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.493, allocations: 29.7 kB / 469.6 MB, free: 4.844 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-06/0.493, allocations: 0 / 469.6 MB, free: 4.844 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.4931, allocations: 63.34 kB / 469.7 MB, free: 4.77 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.4932, allocations: 33.7 kB / 469.7 MB, free: 4.73 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-06/0.4932, allocations: 3.938 kB / 469.7 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4932, allocations: 0 / 469.7 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-06/0.4932, allocations: 0 / 469.7 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.294e-06/0.4933, allocations: 0 / 469.7 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.4933, allocations: 96 / 469.7 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-06/0.4933, allocations: 4 kB / 469.7 MB, free: 4.723 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.911e-05/0.4934, allocations: 133.3 kB / 469.9 MB, free: 4.582 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.4934, allocations: 3.953 kB / 469.9 MB, free: 4.578 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.4935, allocations: 7.109 kB / 469.9 MB, free: 4.566 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4935, allocations: 0 / 469.9 MB, free: 4.566 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-06/0.4935, allocations: 8 kB / 469.9 MB, free: 4.559 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-06/0.4935, allocations: 0 / 469.9 MB, free: 4.559 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4937, allocations: 145.7 kB / 470 MB, free: 4.367 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-06/0.4937, allocations: 0 / 470 MB, free: 4.367 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-06/0.4937, allocations: 4 kB / 470 MB, free: 4.363 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4937, allocations: 3.953 kB / 470 MB, free: 4.359 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4937, allocations: 7.984 kB / 470 MB, free: 4.352 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-06/0.4937, allocations: 0 / 470 MB, free: 4.352 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-06/0.4937, allocations: 0 / 470 MB, free: 4.352 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.4939, allocations: 86.84 kB / 470.1 MB, free: 4.242 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.4939, allocations: 77.11 kB / 470.2 MB, free: 4.148 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.494, allocations: 11.88 kB / 470.2 MB, free: 4.137 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.494, allocations: 4.031 kB / 470.2 MB, free: 4.133 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.494, allocations: 0 / 470.2 MB, free: 4.133 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-06/0.494, allocations: 4 kB / 470.2 MB, free: 4.129 MB / 394.8 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.4941, allocations: 75.28 kB / 470.3 MB, free: 4.055 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.966e-06/0.4941, allocations: 0 / 470.3 MB, free: 4.055 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000302/0.4944, allocations: 23.92 kB / 470.3 MB, free: 4.031 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005379/0.495, allocations: 211.7 kB / 470.5 MB, free: 3.855 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4951, allocations: 67.41 kB / 470.6 MB, free: 3.777 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4951, allocations: 0 / 470.6 MB, free: 3.777 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.4952, allocations: 51.41 kB / 470.6 MB, free: 3.715 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.872e-05/0.4953, allocations: 10.89 kB / 470.7 MB, free: 3.707 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.4955, allocations: 48.97 kB / 470.7 MB, free: 3.641 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4958, allocations: 0.6731 MB / 471.4 MB, free: 2.941 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 5.982e-06/0.4958, allocations: 0 / 471.4 MB, free: 2.941 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.4959, allocations: 7.438 kB / 471.4 MB, free: 2.934 MB / 394.8 MB Notification: Performance of SimCode: time 1.296e-06/0.4959, allocations: 0 / 471.4 MB, free: 2.934 MB / 394.8 MB Notification: Performance of Templates: time 0.003525/0.4994, allocations: 0.5596 MB / 471.9 MB, free: 2.375 MB / 394.8 MB