Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.269e-05, allocations: 7.984 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1828, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0007686/0.1837, allocations: 200.7 kB / 411.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1863, allocations: 1.169 MB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.1864, allocations: 0 / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.1865, allocations: 0 / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1866, allocations: 3.938 kB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.1873, allocations: 147.6 kB / 412.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.1874, allocations: 0 / 412.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.1874, allocations: 3.938 kB / 412.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.1874, allocations: 0 / 412.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1876, allocations: 10.81 kB / 412.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.1884, allocations: 299.7 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.1885, allocations: 12 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-06/0.1885, allocations: 0 / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.144e-05/0.1885, allocations: 0 / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1888, allocations: 123.7 kB / 412.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.1889, allocations: 4 kB / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1889, allocations: 0 / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1889, allocations: 4 kB / 412.9 MB, free: 10.91 MB / 346.7 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.0004468/0.1893, allocations: 377 kB / 413.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1894, allocations: 8.031 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.1895, allocations: 4 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1896, allocations: 163.1 kB / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1896, allocations: 0 / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1896, allocations: 0 / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.96e-05/0.1897, allocations: 41.66 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1898, allocations: 0 / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1898, allocations: 0 / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1898, allocations: 0 / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.1898, allocations: 7.938 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.19, allocations: 145.7 kB / 413.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.19, allocations: 22.55 kB / 413.6 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1901, allocations: 4 kB / 413.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.1901, allocations: 64.2 kB / 413.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1901, allocations: 0 / 413.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001984/0.1904, allocations: 71.34 kB / 413.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1904, allocations: 81.11 kB / 413.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.1905, allocations: 89 kB / 413.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1905, allocations: 25.7 kB / 414 MB, free: 9.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.1906, allocations: 150.8 kB / 414.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1906, allocations: 8 kB / 414.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.1906, allocations: 0 / 414.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1908, allocations: 310.8 kB / 414.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.1908, allocations: 0 / 414.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/0.1908, allocations: 0 / 414.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.1908, allocations: 33.69 kB / 414.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1909, allocations: 0 / 414.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.191, allocations: 67.34 kB / 414.5 MB, free: 9.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.191, allocations: 33.8 kB / 414.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.191, allocations: 0 / 414.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1911, allocations: 3.953 kB / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.1911, allocations: 4 kB / 414.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1911, allocations: 0 / 414.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.1911, allocations: 0 / 414.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1911, allocations: 3.984 kB / 414.6 MB, free: 8.977 MB / 346.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: 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.394e-05/0.1912, allocations: 135.5 kB / 414.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.1913, allocations: 0 / 414.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.1913, allocations: 15.08 kB / 414.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1913, allocations: 0 / 414.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1913, allocations: 3.953 kB / 414.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1913, allocations: 0 / 414.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1915, allocations: 153.7 kB / 414.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1915, allocations: 0 / 414.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.1915, allocations: 0 / 414.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1915, allocations: 3.984 kB / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1915, allocations: 0 / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1915, allocations: 4 kB / 414.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1915, allocations: 3.938 kB / 414.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1917, allocations: 106.6 kB / 415 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.1917, allocations: 77.39 kB / 415.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1918, allocations: 0 / 415.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.1918, allocations: 0 / 415.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.1918, allocations: 4 kB / 415.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1918, allocations: 0 / 415.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.1919, allocations: 87.25 kB / 415.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1919, allocations: 3.938 kB / 415.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.1923, allocations: 59.98 kB / 415.2 MB, free: 8.223 MB / 346.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: 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.0009048/0.1932, allocations: 344.6 kB / 415.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1934, allocations: 55.41 kB / 415.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1934, allocations: 4 kB / 415.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.1935, allocations: 59.47 kB / 415.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.1936, allocations: 4 kB / 415.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.1938, allocations: 112.3 kB / 415.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1941, allocations: 0.6731 MB / 416.4 MB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.1941, allocations: 11.44 kB / 416.5 MB, free: 6.938 MB / 346.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1941, allocations: 0 / 416.5 MB, free: 6.938 MB / 346.7 MB Notification: Performance of Templates: time 0.005546/0.1997, allocations: 1.817 MB / 418.3 MB, free: 5.125 MB / 346.7 MB