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.96/1.96, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.616e-05, allocations: 7.938 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08719, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4342, allocations: 73.83 MB / 373.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.4344, allocations: 68.58 kB / 373.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.4504, allocations: 3.964 MB / 377.7 MB, free: 21.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.4504, allocations: 3.938 kB / 377.7 MB, free: 21.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4504, allocations: 5.281 kB / 377.7 MB, free: 21.47 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.0006849/0.4511, allocations: 490.6 kB / 378.2 MB, free: 21.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4512, allocations: 9.969 kB / 378.2 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.4513, allocations: 25.03 kB / 378.2 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4515, allocations: 228.4 kB / 378.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4516, allocations: 16.28 kB / 378.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.4516, allocations: 19.97 kB / 378.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.4521, allocations: 208.6 kB / 378.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4521, allocations: 4 kB / 378.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.4522, allocations: 10.52 kB / 378.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.264e-06/0.4522, allocations: 5.5 kB / 378.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.4526, allocations: 140.9 kB / 378.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.4541, allocations: 0.8433 MB / 379.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.4545, allocations: 146.8 kB / 379.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.4547, allocations: 88.88 kB / 379.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4548, allocations: 8.859 kB / 379.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4548, allocations: 39.44 kB / 380 MB, free: 20.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.027e-06/0.4549, allocations: 0 / 380 MB, free: 20.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006605/0.4555, allocations: 199.3 kB / 380.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4556, allocations: 53.62 kB / 380.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.4558, allocations: 160.7 kB / 380.4 MB, free: 20 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4558, allocations: 26.67 kB / 380.4 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.4559, allocations: 215.7 kB / 380.6 MB, free: 19.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.4559, allocations: 54.78 kB / 380.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.456, allocations: 4.781 kB / 380.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.456, allocations: 322.8 kB / 381 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4562, allocations: 45.8 kB / 381 MB, free: 19.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4563, allocations: 69.25 kB / 381.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4565, allocations: 58.09 kB / 381.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.712e-06/0.4565, allocations: 1.031 kB / 381.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005651/0.4571, allocations: 209 kB / 381.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4571, allocations: 7.734 kB / 381.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.565e-06/0.4571, allocations: 1.062 kB / 381.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.4586, allocations: 223.1 kB / 381.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.4588, allocations: 35.83 kB / 381.6 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.4594, allocations: 0.6081 MB / 382.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4596, allocations: 30.42 kB / 382.3 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.4596, allocations: 8.469 kB / 382.3 MB, free: 18.78 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 7.926e-05/0.4597, allocations: 107 kB / 382.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.4598, allocations: 24.97 kB / 382.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.4603, allocations: 213.8 kB / 382.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-06/0.4603, allocations: 1.5 kB / 382.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-06/0.4603, allocations: 5.578 kB / 382.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-06/0.4604, allocations: 5.312 kB / 382.6 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4614, allocations: 0.5863 MB / 383.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.4615, allocations: 0.9062 kB / 383.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.4617, allocations: 26.98 kB / 383.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4631, allocations: 223.3 kB / 383.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4632, allocations: 7.219 kB / 383.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/0.4636, allocations: 0.6223 MB / 384.1 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.989e-06/0.4637, allocations: 1.625 kB / 384.1 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.4644, allocations: 394.7 kB / 384.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4645, allocations: 109.4 kB / 384.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4645, allocations: 5.438 kB / 384.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4648, allocations: 16.84 kB / 384.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4648, allocations: 11.95 kB / 384.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4649, allocations: 6.938 kB / 384.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.465, allocations: 125.7 kB / 384.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.465, allocations: 0 / 384.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.4654, allocations: 63.03 kB / 384.8 MB, free: 17.34 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.0001688/0.4656, allocations: 118.5 kB / 384.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.4661, allocations: 145.4 kB / 385.1 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.312e-06/0.4661, allocations: 0 / 385.1 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4663, allocations: 77.48 kB / 385.1 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4666, allocations: 26.2 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008958/0.4676, allocations: 404.5 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.4678, allocations: 0.7471 MB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4678, allocations: 14.88 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.58e-06/0.4679, allocations: 3.938 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of Templates: time 0.005819/0.4737, allocations: 3.02 MB / 389.3 MB, free: 16.06 MB / 314.7 MB