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.86/1.86, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.607e-05, allocations: 2.531 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07699/0.07705, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5053, allocations: 71.32 MB / 371.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5056, allocations: 64.22 kB / 371.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00473/0.5103, allocations: 1.25 MB / 372.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5103, allocations: 1.438 kB / 372.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.762e-06/0.5104, allocations: 3.438 kB / 372.5 MB, free: 21.05 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.0004063/0.5108, allocations: 374.5 kB / 372.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5108, allocations: 8.875 kB / 372.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.5109, allocations: 2.875 kB / 372.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.511, allocations: 180.7 kB / 373 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.511, allocations: 3.375 kB / 373 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.511, allocations: 7.188 kB / 373 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.5112, allocations: 58.7 kB / 373.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5112, allocations: 4 kB / 373.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5112, allocations: 1.062 kB / 373.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-06/0.5113, allocations: 1.438 kB / 373.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.5114, allocations: 32.42 kB / 373.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.5118, allocations: 308.8 kB / 373.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.512, allocations: 50.3 kB / 373.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.5121, allocations: 25.73 kB / 373.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5121, allocations: 1.281 kB / 373.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.5121, allocations: 36.56 kB / 373.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 3.132e-06/0.5121, allocations: 5.734 kB / 373.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002132/0.5124, allocations: 66.94 kB / 373.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.5124, allocations: 53.03 kB / 373.7 MB, free: 20 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.5125, allocations: 104.2 kB / 373.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5125, allocations: 30.92 kB / 373.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.5125, allocations: 164.4 kB / 374 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.5126, allocations: 16.67 kB / 374 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-06/0.5126, allocations: 0 / 374 MB, free: 19.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.5127, allocations: 313.2 kB / 374.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.5127, allocations: 15.56 kB / 374.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.5128, allocations: 12.98 kB / 374.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.5128, allocations: 13.23 kB / 374.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5128, allocations: 0 / 374.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001497/0.513, allocations: 71.94 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.513, allocations: 6.875 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.976e-06/0.5131, allocations: 2.141 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5131, allocations: 0.7969 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.5133, allocations: 23.7 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.385e-06/0.5133, allocations: 1 kB / 374.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5134, allocations: 24.72 kB / 374.5 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5134, allocations: 9.562 kB / 374.5 MB, free: 19.34 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 4.832e-05/0.5135, allocations: 103 kB / 374.6 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.5136, allocations: 5.812 kB / 374.6 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5138, allocations: 91.47 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-06/0.5138, allocations: 1.125 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-06/0.5138, allocations: 1.156 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-06/0.5138, allocations: 1.641 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.514, allocations: 189.4 kB / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.514, allocations: 0.5625 kB / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.5142, allocations: 27.14 kB / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.856e-06/0.5142, allocations: 3.938 kB / 374.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5143, allocations: 4.5 kB / 374.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.179e-06/0.5143, allocations: 4.734 kB / 374.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5143, allocations: 1.625 kB / 374.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.5145, allocations: 181.1 kB / 375.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.5145, allocations: 82.89 kB / 375.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5146, allocations: 1.641 kB / 375.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.5147, allocations: 20.3 kB / 375.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.5148, allocations: 5.844 kB / 375.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-06/0.5148, allocations: 2.094 kB / 375.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.5149, allocations: 92.11 kB / 375.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.5149, allocations: 0 / 375.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.5152, allocations: 14.5 kB / 375.3 MB, free: 18.66 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.0001227/0.5153, allocations: 104.8 kB / 375.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.5155, allocations: 40 kB / 375.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.167e-06/0.5155, allocations: 0 / 375.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.5156, allocations: 32.41 kB / 375.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5158, allocations: 10.58 kB / 375.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.5161, allocations: 125.2 kB / 375.6 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.5163, allocations: 0.6907 MB / 376.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.5163, allocations: 11.2 kB / 376.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.358e-06/0.5163, allocations: 0 / 376.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Templates: time 0.002828/0.5192, allocations: 0.9441 MB / 377.2 MB, free: 17.7 MB / 314.7 MB