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_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.343e-05, allocations: 4 kB / 255.4 MB, free: 2.719 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08175, allocations: 44.5 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.3979, allocations: 71.32 MB / 371.2 MB, free: 21.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3981, allocations: 66.84 kB / 371.3 MB, free: 21.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00462/0.4028, allocations: 1.254 MB / 372.5 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4028, allocations: 0 / 372.5 MB, free: 21.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4028, allocations: 1.094 kB / 372.5 MB, free: 21.49 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.0004329/0.4033, allocations: 374.6 kB / 372.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4033, allocations: 8.531 kB / 372.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.4034, allocations: 2.844 kB / 372.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.788e-05/0.4035, allocations: 183.6 kB / 373.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4035, allocations: 1.469 kB / 373.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4035, allocations: 5.938 kB / 373.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4037, allocations: 59.42 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.893e-06/0.4037, allocations: 4.875 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4037, allocations: 1.156 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-06/0.4037, allocations: 1 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4039, allocations: 35.05 kB / 373.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4043, allocations: 303.3 kB / 373.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.4044, allocations: 51.91 kB / 373.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.4045, allocations: 22.16 kB / 373.5 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4046, allocations: 3.281 kB / 373.5 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.4046, allocations: 36.47 kB / 373.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.769e-06/0.4046, allocations: 0 / 373.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002166/0.4048, allocations: 72.11 kB / 373.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.4049, allocations: 51.41 kB / 373.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.4049, allocations: 110.4 kB / 373.8 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.405, allocations: 29.7 kB / 373.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.405, allocations: 99.59 kB / 373.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.4051, allocations: 12.2 kB / 373.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4051, allocations: 1.031 kB / 373.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.4051, allocations: 317.3 kB / 374.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.4052, allocations: 12.64 kB / 374.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.4052, allocations: 15.81 kB / 374.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.4053, allocations: 12.05 kB / 374.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-06/0.4053, allocations: 0 / 374.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001533/0.4055, allocations: 73.77 kB / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4055, allocations: 6.5 kB / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.837e-06/0.4055, allocations: 3.109 kB / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4056, allocations: 0 / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4057, allocations: 22.56 kB / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.557e-06/0.4058, allocations: 2.031 kB / 374.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4059, allocations: 28.7 kB / 374.4 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4059, allocations: 1.188 kB / 374.4 MB, free: 19.84 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.789e-05/0.406, allocations: 106.5 kB / 374.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.406, allocations: 2.219 kB / 374.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.4062, allocations: 92.94 kB / 374.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-06/0.4063, allocations: 1.969 kB / 374.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-06/0.4063, allocations: 1.031 kB / 374.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4063, allocations: 1.078 kB / 374.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.4065, allocations: 192.9 kB / 374.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-06/0.4065, allocations: 0 / 374.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.4067, allocations: 25.73 kB / 374.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-06/0.4067, allocations: 5.281 kB / 374.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4067, allocations: 0.75 kB / 374.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.139e-06/0.4067, allocations: 1.188 kB / 374.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.736e-06/0.4067, allocations: 0 / 374.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.4069, allocations: 176.5 kB / 375 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.407, allocations: 86.03 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.407, allocations: 5.812 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4072, allocations: 16.3 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4073, allocations: 13 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-06/0.4073, allocations: 2.312 kB / 375.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.013e-05/0.4073, allocations: 94.97 kB / 375.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4073, allocations: 0 / 375.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.4077, allocations: 15.16 kB / 375.3 MB, free: 19.16 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.0001277/0.4078, allocations: 103.4 kB / 375.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.408, allocations: 40.44 kB / 375.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.531e-06/0.408, allocations: 1.156 kB / 375.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.4081, allocations: 31.27 kB / 375.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.4083, allocations: 10.89 kB / 375.4 MB, free: 19.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.4086, allocations: 95.95 kB / 375.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4087, allocations: 0.6899 MB / 376.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.4088, allocations: 3.828 kB / 376.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4089, allocations: 18.3 kB / 376.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.428e-06/0.4089, allocations: 1.094 kB / 376.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003791/0.4127, allocations: 0.779 MB / 377 MB, free: 18.21 MB / 314.7 MB