Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.231e-05, allocations: 4 kB / 269.4 MB, free: 6.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08829, allocations: 47.58 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4668, allocations: 77.95 MB / 394.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4671, allocations: 72.33 kB / 394.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.4836, allocations: 3.907 MB / 398.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4836, allocations: 0 / 398.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.4837, allocations: 4 kB / 398.9 MB, free: 6.77 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007899/0.4845, allocations: 480.2 kB / 399.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4845, allocations: 11.97 kB / 399.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.4846, allocations: 23.72 kB / 399.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.485, allocations: 228.6 kB / 399.6 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.485, allocations: 23.56 kB / 399.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.4851, allocations: 23.5 kB / 399.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.4855, allocations: 176.2 kB / 399.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4855, allocations: 2.188 kB / 399.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.4856, allocations: 6.062 kB / 399.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.851e-06/0.4856, allocations: 8 kB / 399.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.486, allocations: 132.5 kB / 399.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4877, allocations: 0.866 MB / 400.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4881, allocations: 140.8 kB / 401 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.4884, allocations: 92.78 kB / 401 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.4884, allocations: 4 kB / 401 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4884, allocations: 34.56 kB / 401.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 5.123e-06/0.4885, allocations: 3.984 kB / 401.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006741/0.4891, allocations: 196.1 kB / 401.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4892, allocations: 51.41 kB / 401.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.4894, allocations: 157.3 kB / 401.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.4895, allocations: 29.52 kB / 401.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4896, allocations: 154.6 kB / 401.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.4897, allocations: 62.86 kB / 401.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.4897, allocations: 8.516 kB / 401.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4899, allocations: 326.5 kB / 402 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.49, allocations: 43.48 kB / 402.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4902, allocations: 57.53 kB / 402.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.4904, allocations: 59.23 kB / 402.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-06/0.4904, allocations: 4 kB / 402.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005625/0.4909, allocations: 204.5 kB / 402.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.491, allocations: 15.53 kB / 402.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.165e-06/0.491, allocations: 0 / 402.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.4926, allocations: 227.5 kB / 402.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.4928, allocations: 31.86 kB / 402.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006882/0.4935, allocations: 0.6089 MB / 403.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.4937, allocations: 11.84 kB / 403.3 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4938, allocations: 15.92 kB / 403.3 MB, free: 2.645 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.4939, allocations: 111.5 kB / 403.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.494, allocations: 15.81 kB / 403.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.4945, allocations: 211.6 kB / 403.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4945, allocations: 0 / 403.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4946, allocations: 3.953 kB / 403.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4946, allocations: 4 kB / 403.7 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4957, allocations: 0.5807 MB / 404.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-06/0.4958, allocations: 4 kB / 404.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.496, allocations: 27.97 kB / 404.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.4974, allocations: 216.2 kB / 404.5 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4974, allocations: 0 / 404.5 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006827/0.4981, allocations: 0.6246 MB / 405.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.851e-06/0.4981, allocations: 0 / 405.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.4989, allocations: 395.4 kB / 405.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.499, allocations: 92.98 kB / 405.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.4991, allocations: 11.5 kB / 405.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4993, allocations: 15.94 kB / 405.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4994, allocations: 11.73 kB / 405.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4994, allocations: 8.062 kB / 405.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.4996, allocations: 122.7 kB / 405.7 MB, free: 400 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4996, allocations: 0 / 405.7 MB, free: 400 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004426/0.5001, allocations: 67.47 kB / 405.8 MB, free: 336 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.5003, allocations: 115 kB / 405.9 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.5008, allocations: 140 kB / 406.1 MB, free: 112 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/0.5008, allocations: 4.062 kB / 406.1 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.5011, allocations: 82.78 kB / 406.1 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5015, allocations: 31.69 kB / 406.2 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.5025, allocations: 370.5 kB / 406.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.5029, allocations: 0.7402 MB / 407.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.655e-05/0.5031, allocations: 13.33 kB / 407.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.5031, allocations: 11.44 kB / 407.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of SimCode: time 4.459e-06/0.5031, allocations: 0 / 407.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Templates: time 0.007874/0.511, allocations: 2.288 MB / 409.6 MB, free: 12.61 MB / 330.7 MB