Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.72e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1792, allocations: 61.88 MB / 410.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002166/0.1815, allocations: 1.249 MB / 412.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.1816, allocations: 43.78 kB / 412.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.1817, allocations: 4 kB / 412.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1819, allocations: 23.91 kB / 412.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.1819, allocations: 3.938 kB / 412.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.365e-05/0.182, allocations: 15.98 kB / 412.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.1821, allocations: 31.91 kB / 412.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.1824, allocations: 97.91 kB / 412.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.986e-05/0.1824, allocations: 15.94 kB / 412.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.1825, allocations: 15.92 kB / 412.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1825, allocations: 0 / 412.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1825, allocations: 0 / 412.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.1826, allocations: 55.88 kB / 412.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1827, allocations: 11.94 kB / 412.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1828, allocations: 103.8 kB / 412.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1828, allocations: 0 / 412.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1829, allocations: 0 / 412.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1829, allocations: 3.938 kB / 412.6 MB, free: 11.21 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005527/0.1834, allocations: 407.6 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1835, allocations: 12.03 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.1836, allocations: 15.81 kB / 413 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.1838, allocations: 206.9 kB / 413.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1839, allocations: 16.33 kB / 413.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.1839, allocations: 20 kB / 413.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.1844, allocations: 184.6 kB / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1845, allocations: 8 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1845, allocations: 12 kB / 413.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1845, allocations: 7.984 kB / 413.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.1849, allocations: 123.6 kB / 413.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.1858, allocations: 0.4959 MB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1859, allocations: 42.5 kB / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.186, allocations: 3.953 kB / 414.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.186, allocations: 30.56 kB / 414.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.517e-06/0.186, allocations: 0 / 414.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003231/0.1864, allocations: 93.64 kB / 414.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1864, allocations: 51.41 kB / 414.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.1865, allocations: 101 kB / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1865, allocations: 25.7 kB / 414.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1867, allocations: 202.3 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1867, allocations: 23.73 kB / 414.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.1867, allocations: 4 kB / 414.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1868, allocations: 310.8 kB / 414.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.1869, allocations: 15.94 kB / 414.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.187, allocations: 15.98 kB / 415 MB, free: 8.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.1871, allocations: 12 kB / 415 MB, free: 8.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1871, allocations: 0 / 415 MB, free: 8.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.1873, allocations: 69.67 kB / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1873, allocations: 7.953 kB / 415.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1873, allocations: 0 / 415.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1874, allocations: 0 / 415.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1875, allocations: 12 kB / 415.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1875, allocations: 320 / 415.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.1876, allocations: 7.984 kB / 415.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1876, allocations: 0 / 415.1 MB, free: 8.508 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001354/0.1877, allocations: 138 kB / 415.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1878, allocations: 11.84 kB / 415.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.1878, allocations: 15.91 kB / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1878, allocations: 0 / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1878, allocations: 0 / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1878, allocations: 0 / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.1884, allocations: 367 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1884, allocations: 0 / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.1885, allocations: 19.98 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1885, allocations: 3.953 kB / 415.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1885, allocations: 4 kB / 415.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1885, allocations: 3.984 kB / 415.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1886, allocations: 4 kB / 415.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1888, allocations: 159.5 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1889, allocations: 85.02 kB / 415.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1889, allocations: 3.953 kB / 415.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.189, allocations: 3.938 kB / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.189, allocations: 8 kB / 415.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.189, allocations: 3.984 kB / 415.9 MB, free: 7.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.1891, allocations: 83.28 kB / 416 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1891, allocations: 4 kB / 416 MB, free: 7.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.1894, allocations: 31.69 kB / 416 MB, free: 7.477 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001183/0.1896, allocations: 99.19 kB / 416.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1898, allocations: 35.97 kB / 416.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1898, allocations: 4 kB / 416.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.1899, allocations: 20 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1901, allocations: 14.48 kB / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.1909, allocations: 352.3 kB / 416.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1913, allocations: 0.7394 MB / 417.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.1914, allocations: 7.438 kB / 417.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1914, allocations: 0 / 417.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of Templates: time 0.003683/0.1951, allocations: 1.211 MB / 418.5 MB, free: 4.938 MB / 346.7 MB