Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.561e-05/4.575e-05, allocations: 8 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4759, allocations: 79.76 MB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4762, allocations: 75.72 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.4922, allocations: 4.017 MB / 426.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.4922, allocations: 0 / 426.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.4922, allocations: 8 kB / 426.4 MB, free: 10.96 MB / 346.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.0008009/0.4931, allocations: 481.5 kB / 426.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4931, allocations: 12.03 kB / 426.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.4932, allocations: 23.72 kB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.4936, allocations: 234.2 kB / 427.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.4936, allocations: 16 kB / 427.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.4937, allocations: 15.75 kB / 427.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.4941, allocations: 176.2 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4941, allocations: 3.938 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.4942, allocations: 11.56 kB / 427.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.129e-06/0.4942, allocations: 4 kB / 427.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.4946, allocations: 136 kB / 427.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.4963, allocations: 0.861 MB / 428.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.4967, allocations: 146.9 kB / 428.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.4969, allocations: 89.73 kB / 428.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.497, allocations: 4 kB / 428.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.497, allocations: 34.5 kB / 428.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.68e-06/0.497, allocations: 0 / 428.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006736/0.4977, allocations: 205.3 kB / 428.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4978, allocations: 63.34 kB / 428.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.498, allocations: 152 kB / 429 MB, free: 8.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4981, allocations: 29.52 kB / 429.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4982, allocations: 148.1 kB / 429.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.4983, allocations: 58.53 kB / 429.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4983, allocations: 6.875 kB / 429.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4985, allocations: 326.6 kB / 429.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4986, allocations: 44.92 kB / 429.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4988, allocations: 61.16 kB / 429.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4989, allocations: 49.3 kB / 429.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-06/0.499, allocations: 0 / 429.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005482/0.4995, allocations: 215.1 kB / 430 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4996, allocations: 8 kB / 430 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-06/0.4996, allocations: 0 / 430 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.5011, allocations: 224 kB / 430.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5013, allocations: 31.92 kB / 430.2 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006844/0.502, allocations: 0.6123 MB / 430.8 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.5022, allocations: 15.06 kB / 430.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.5023, allocations: 12.02 kB / 430.9 MB, free: 6.84 MB / 346.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.0001273/0.5024, allocations: 114.9 kB / 431 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.5025, allocations: 15.81 kB / 431 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.503, allocations: 217.1 kB / 431.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-06/0.5031, allocations: 4 kB / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-06/0.5031, allocations: 0 / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-06/0.5031, allocations: 0 / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5042, allocations: 0.581 MB / 431.8 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.28e-06/0.5043, allocations: 0 / 431.8 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.5045, allocations: 35.09 kB / 431.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.5058, allocations: 209 kB / 432 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.5059, allocations: 11.89 kB / 432 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006894/0.5066, allocations: 0.6205 MB / 432.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.5066, allocations: 8.062 kB / 432.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.5074, allocations: 401.6 kB / 433.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.5075, allocations: 92.23 kB / 433.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.5075, allocations: 0 / 433.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.5078, allocations: 19.73 kB / 433.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5078, allocations: 7.984 kB / 433.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.5079, allocations: 11.44 kB / 433.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.508, allocations: 126.8 kB / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5081, allocations: 0 / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.5085, allocations: 70.91 kB / 433.4 MB, free: 4.512 MB / 346.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.0002146/0.5087, allocations: 122.3 kB / 433.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.5092, allocations: 130.8 kB / 433.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5092, allocations: 0 / 433.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.5095, allocations: 72.55 kB / 433.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.5098, allocations: 22.73 kB / 433.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.5108, allocations: 386.3 kB / 434.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.5113, allocations: 0.7441 MB / 434.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.92e-05/0.5114, allocations: 9.328 kB / 434.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.5114, allocations: 19.44 kB / 434.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.457e-06/0.5114, allocations: 0 / 434.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of Templates: time 0.007742/0.5192, allocations: 2.278 MB / 437.1 MB, free: 0.8008 MB / 346.7 MB