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.829/1.829, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.081e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4026, allocations: 73.17 MB / 367.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4029, allocations: 71.89 kB / 367.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.4187, allocations: 3.926 MB / 371.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.4188, allocations: 0 / 371.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.4188, allocations: 4 kB / 371.3 MB, free: 4.816 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.0008712/0.4197, allocations: 486.2 kB / 371.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4197, allocations: 8.031 kB / 371.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.4198, allocations: 23.72 kB / 371.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.4202, allocations: 247.2 kB / 372 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4202, allocations: 4 kB / 372 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.4203, allocations: 12 kB / 372 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003659/0.4207, allocations: 124.9 kB / 372.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.4211, allocations: 181 kB / 372.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4211, allocations: 0 / 372.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4212, allocations: 4 kB / 372.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4212, allocations: 8 kB / 372.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.423, allocations: 0.8061 MB / 373.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.4234, allocations: 130.6 kB / 373.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4236, allocations: 84.94 kB / 373.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4237, allocations: 4 kB / 373.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4237, allocations: 38.5 kB / 373.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 8.142e-06/0.4238, allocations: 4 kB / 373.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008233/0.4246, allocations: 196.6 kB / 373.6 MB, free: 2.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4247, allocations: 59.33 kB / 373.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.4249, allocations: 157.4 kB / 373.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4249, allocations: 29.64 kB / 373.8 MB, free: 2.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.4251, allocations: 210.5 kB / 374 MB, free: 1.828 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.4252, allocations: 55.2 kB / 374.1 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4252, allocations: 0 / 374.1 MB, free: 1.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4254, allocations: 326.8 kB / 374.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4255, allocations: 44.31 kB / 374.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4257, allocations: 67.12 kB / 374.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.4259, allocations: 59.97 kB / 374.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.426, allocations: 8 kB / 374.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006604/0.4266, allocations: 202.3 kB / 374.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4267, allocations: 4 kB / 374.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4267, allocations: 4 kB / 374.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.4274, allocations: 104.8 kB / 374.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.4276, allocations: 39.91 kB / 374.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007999/0.4284, allocations: 0.6265 MB / 375.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4286, allocations: 11.84 kB / 375.6 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4287, allocations: 8 kB / 375.6 MB, free: 232 kB / 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 0.0001241/0.4288, allocations: 116.7 kB / 375.7 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.4289, allocations: 15.81 kB / 375.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.4296, allocations: 215.3 kB / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-06/0.4296, allocations: 0 / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-06/0.4296, allocations: 4 kB / 375.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-06/0.4296, allocations: 0 / 375.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.4309, allocations: 0.5471 MB / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.52e-06/0.4309, allocations: 0 / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4311, allocations: 36.02 kB / 376.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006408/0.4318, allocations: 104.8 kB / 376.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.4318, allocations: 3.984 kB / 376.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008036/0.4326, allocations: 0.6459 MB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.826e-06/0.4327, allocations: 0 / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.4336, allocations: 387.7 kB / 377.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4338, allocations: 112.8 kB / 377.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.4338, allocations: 7.953 kB / 377.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.434, allocations: 7.984 kB / 377.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4341, allocations: 11.98 kB / 377.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4341, allocations: 8.062 kB / 377.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.4343, allocations: 120.3 kB / 377.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4343, allocations: 0 / 377.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004488/0.4348, allocations: 55.84 kB / 378 MB, free: 13.71 MB / 330.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.0002094/0.435, allocations: 119.1 kB / 378.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.4355, allocations: 131.8 kB / 378.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.992e-06/0.4355, allocations: 128 / 378.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4357, allocations: 71.92 kB / 378.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.436, allocations: 31.38 kB / 378.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.437, allocations: 396.5 kB / 378.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.4375, allocations: 0.7439 MB / 379.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.4376, allocations: 11.44 kB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.659e-06/0.4376, allocations: 0 / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of Templates: time 0.006438/0.4441, allocations: 2.978 MB / 382.4 MB, free: 9.18 MB / 330.7 MB