Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadModel(ModelicaTest): time 2.156/2.156, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.389e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 54.85 MB / 359.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4558, allocations: 84.15 MB / 443.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4561, allocations: 56.86 kB / 444 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0253/0.4814, allocations: 6.037 MB / 450 MB, free: 6.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.987e-06/0.4814, allocations: 3.938 kB / 450 MB, free: 6.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4814, allocations: 4 kB / 450 MB, free: 6.672 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006587/0.4821, allocations: 479.1 kB / 450.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4822, allocations: 15.97 kB / 450.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.4832, allocations: 68.19 kB / 450.5 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.4834, allocations: 186.8 kB / 450.7 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.4835, allocations: 20.56 kB / 450.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.4835, allocations: 28 kB / 450.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.4839, allocations: 183.3 kB / 451 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.484, allocations: 4 kB / 451 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.484, allocations: 12.56 kB / 451 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.484, allocations: 11.94 kB / 451 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.4844, allocations: 133 kB / 451.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.4856, allocations: 0.5889 MB / 451.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.4863, allocations: 220.5 kB / 451.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4864, allocations: 65.33 kB / 452 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4865, allocations: 2.766 kB / 452 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4865, allocations: 38.8 kB / 452 MB, free: 4.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.403e-06/0.4865, allocations: 0 / 452 MB, free: 4.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004065/0.4869, allocations: 152.1 kB / 452.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.487, allocations: 55.41 kB / 452.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.4871, allocations: 100.9 kB / 452.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.4872, allocations: 29.69 kB / 452.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4873, allocations: 202.7 kB / 452.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.4874, allocations: 94.64 kB / 452.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.4874, allocations: 4 kB / 452.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4876, allocations: 326.8 kB / 453 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.4877, allocations: 32 kB / 453 MB, free: 3.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.4878, allocations: 36 kB / 453 MB, free: 3.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.488, allocations: 47.95 kB / 453.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-06/0.488, allocations: 4 kB / 453.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003391/0.4883, allocations: 150.3 kB / 453.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4884, allocations: 5.719 kB / 453.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-06/0.4884, allocations: 0 / 453.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4884, allocations: 0 / 453.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.4889, allocations: 107.9 kB / 453.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.232e-06/0.489, allocations: 0 / 453.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4891, allocations: 19.84 kB / 453.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4891, allocations: 4 kB / 453.4 MB, free: 3.098 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0001156/0.4892, allocations: 124.4 kB / 453.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.4893, allocations: 7.906 kB / 453.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.4894, allocations: 25.12 kB / 453.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-06/0.4894, allocations: 0 / 453.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4894, allocations: 1.781 kB / 453.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4894, allocations: 7.984 kB / 453.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.4902, allocations: 273.3 kB / 453.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.74e-06/0.4902, allocations: 3.984 kB / 453.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.4907, allocations: 95.89 kB / 453.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-06/0.4907, allocations: 0 / 453.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4908, allocations: 8 kB / 453.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4908, allocations: 2.031 kB / 453.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4908, allocations: 256 / 453.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.4912, allocations: 267.3 kB / 454.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.4913, allocations: 92.94 kB / 454.3 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4913, allocations: 8 kB / 454.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4915, allocations: 4 kB / 454.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.4915, allocations: 15.98 kB / 454.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.4916, allocations: 7.984 kB / 454.3 MB, free: 2.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.4916, allocations: 87.28 kB / 454.4 MB, free: 2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4916, allocations: 0 / 454.4 MB, free: 2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.4921, allocations: 51.75 kB / 454.4 MB, free: 1.949 MB / 378.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 (27): * Single equations (assignments): 27 * 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.000131/0.4922, allocations: 99.19 kB / 454.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4925, allocations: 117.3 kB / 454.6 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.781e-06/0.4925, allocations: 0 / 454.6 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.4927, allocations: 67.92 kB / 454.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.4929, allocations: 11.95 kB / 454.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.4935, allocations: 266.3 kB / 455 MB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.494, allocations: 0.7362 MB / 455.7 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.4941, allocations: 23.44 kB / 455.7 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of SimCode: time 1.499e-06/0.4941, allocations: 0 / 455.7 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of Templates: time 0.00406/0.4981, allocations: 1.689 MB / 457.4 MB, free: 14.89 MB / 394.7 MB