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.2_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.72e-05, allocations: 4 kB / 255.3 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 44.49 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4657, allocations: 73.82 MB / 373.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.4661, allocations: 70.52 kB / 373.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.4911, allocations: 3.961 MB / 377.7 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4911, allocations: 1 kB / 377.7 MB, free: 21.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.4911, allocations: 3.656 kB / 377.7 MB, free: 21.56 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000682/0.4918, allocations: 485.2 kB / 378.2 MB, free: 21.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4919, allocations: 8.906 kB / 378.2 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.492, allocations: 25.56 kB / 378.2 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.4923, allocations: 239.9 kB / 378.4 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.4923, allocations: 12.25 kB / 378.4 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.4924, allocations: 24.75 kB / 378.5 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.4928, allocations: 211 kB / 378.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4929, allocations: 4.609 kB / 378.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4929, allocations: 8.812 kB / 378.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4929, allocations: 4.844 kB / 378.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.4933, allocations: 138.8 kB / 378.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.4949, allocations: 0.8526 MB / 379.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.4952, allocations: 140.8 kB / 379.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.4955, allocations: 89.84 kB / 379.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4955, allocations: 10.47 kB / 379.9 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4956, allocations: 39.95 kB / 380 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.956e-06/0.4956, allocations: 1.219 kB / 380 MB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006554/0.4962, allocations: 198.5 kB / 380.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.4963, allocations: 56.38 kB / 380.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.4965, allocations: 159.2 kB / 380.4 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4965, allocations: 30.64 kB / 380.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.4966, allocations: 209.8 kB / 380.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.4967, allocations: 62.36 kB / 380.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.4967, allocations: 1.281 kB / 380.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.4968, allocations: 324.9 kB / 381 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4969, allocations: 45.31 kB / 381 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4971, allocations: 73.8 kB / 381.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4972, allocations: 55.91 kB / 381.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-06/0.4972, allocations: 0 / 381.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005376/0.4978, allocations: 213.1 kB / 381.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4978, allocations: 4.906 kB / 381.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.481e-06/0.4979, allocations: 1 kB / 381.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.4994, allocations: 218 kB / 381.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4996, allocations: 36.64 kB / 381.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/0.5001, allocations: 0.6095 MB / 382.2 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.5003, allocations: 22.69 kB / 382.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5004, allocations: 10.78 kB / 382.2 MB, free: 18.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 8.115e-05/0.5005, allocations: 107.9 kB / 382.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.5005, allocations: 23.11 kB / 382.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.5011, allocations: 214.2 kB / 382.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.522e-06/0.5011, allocations: 1.906 kB / 382.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5012, allocations: 3.938 kB / 382.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.262e-06/0.5012, allocations: 5.219 kB / 382.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5023, allocations: 0.5885 MB / 383.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-06/0.5023, allocations: 5.219 kB / 383.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.5025, allocations: 31.08 kB / 383.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.504, allocations: 218.4 kB / 383.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5041, allocations: 2.281 kB / 383.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004853/0.5046, allocations: 0.6221 MB / 384.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5046, allocations: 4.25 kB / 384.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.5053, allocations: 395.4 kB / 384.4 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5054, allocations: 109 kB / 384.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5055, allocations: 6.312 kB / 384.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5057, allocations: 16.91 kB / 384.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.5058, allocations: 9.312 kB / 384.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.5058, allocations: 7.531 kB / 384.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.5059, allocations: 131.6 kB / 384.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.506, allocations: 0 / 384.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000441/0.5064, allocations: 64.97 kB / 384.8 MB, free: 17.43 MB / 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.000171/0.5066, allocations: 127.5 kB / 384.9 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.507, allocations: 146.9 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5071, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.5073, allocations: 78.73 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5076, allocations: 32.39 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.5085, allocations: 403.9 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.5087, allocations: 0.7463 MB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.5088, allocations: 14.72 kB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.609e-06/0.5088, allocations: 0 / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005815/0.5146, allocations: 3.021 MB / 389.3 MB, free: 16.15 MB / 314.7 MB