Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.859e-05, allocations: 0 / 249.6 MB, free: 15.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2488, allocations: 44.51 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3575, allocations: 70.65 MB / 364.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3578, allocations: 63.91 kB / 364.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004686/0.3625, allocations: 1.241 MB / 366.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.311e-06/0.3625, allocations: 0 / 366.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.969e-06/0.3626, allocations: 7.938 kB / 366.1 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005363/0.3631, allocations: 370.4 kB / 366.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3632, allocations: 12.03 kB / 366.4 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.3632, allocations: 0 / 366.4 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3634, allocations: 182.8 kB / 366.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3634, allocations: 4 kB / 366.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3634, allocations: 0 / 366.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.3636, allocations: 32 kB / 366.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3637, allocations: 57.61 kB / 366.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3638, allocations: 8 kB / 366.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3638, allocations: 0 / 366.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.089e-06/0.3638, allocations: 0 / 366.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3643, allocations: 281.4 kB / 367 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3644, allocations: 46.58 kB / 367 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3645, allocations: 21.02 kB / 367.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3646, allocations: 4 kB / 367.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3646, allocations: 34.56 kB / 367.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.16e-06/0.3646, allocations: 0 / 367.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002269/0.3648, allocations: 69.59 kB / 367.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3649, allocations: 51.41 kB / 367.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.365, allocations: 101 kB / 367.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.365, allocations: 25.7 kB / 367.3 MB, free: 8.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.3652, allocations: 163.1 kB / 367.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3652, allocations: 11.81 kB / 367.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-06/0.3652, allocations: 384 / 367.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3654, allocations: 318.8 kB / 367.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.3654, allocations: 20 kB / 367.8 MB, free: 8.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.3655, allocations: 12 kB / 367.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.3655, allocations: 23.81 kB / 367.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-06/0.3656, allocations: 0 / 367.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.3657, allocations: 61.69 kB / 367.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3658, allocations: 4 kB / 367.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.458e-06/0.3658, allocations: 0 / 367.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3658, allocations: 0 / 367.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.366, allocations: 31.97 kB / 368 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.413e-06/0.366, allocations: 0 / 368 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3661, allocations: 15.98 kB / 368 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-06/0.3662, allocations: 0 / 368 MB, free: 7.926 MB / 314.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 9.255e-05/0.3663, allocations: 108.7 kB / 368.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3663, allocations: 11.91 kB / 368.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3665, allocations: 89.94 kB / 368.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3666, allocations: 0 / 368.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-06/0.3666, allocations: 0 / 368.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-06/0.3666, allocations: 0 / 368.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3668, allocations: 162.2 kB / 368.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-06/0.3668, allocations: 0 / 368.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.367, allocations: 31.97 kB / 368.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.367, allocations: 0 / 368.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3671, allocations: 4.25 kB / 368.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.283e-06/0.3671, allocations: 4 kB / 368.4 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.3671, allocations: 0 / 368.4 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3673, allocations: 179.4 kB / 368.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3674, allocations: 81.02 kB / 368.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3674, allocations: 3.984 kB / 368.6 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3676, allocations: 19.98 kB / 368.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3677, allocations: 8 kB / 368.7 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3677, allocations: 7.984 kB / 368.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.3678, allocations: 83.28 kB / 368.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3678, allocations: 0 / 368.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.3681, allocations: 12 kB / 368.8 MB, free: 7.055 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0001772/0.3683, allocations: 103.2 kB / 368.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3685, allocations: 44.2 kB / 368.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.989e-06/0.3685, allocations: 0 / 368.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.3686, allocations: 24 kB / 368.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3688, allocations: 10.8 kB / 369 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.3692, allocations: 127.2 kB / 369.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3696, allocations: 0.6924 MB / 369.8 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3696, allocations: 11.44 kB / 369.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.318e-06/0.3696, allocations: 0 / 369.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of Templates: time 0.002872/0.3725, allocations: 0.9228 MB / 370.7 MB, free: 5.055 MB / 314.7 MB