Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.802e-05, allocations: 3.406 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07904, allocations: 44.51 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.3928, allocations: 72.88 MB / 372.7 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3931, allocations: 67.12 kB / 372.8 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009753/0.4028, allocations: 2.646 MB / 375.4 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.787e-06/0.4029, allocations: 0 / 375.4 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4029, allocations: 1.938 kB / 375.4 MB, free: 22.11 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004272/0.4033, allocations: 416.5 kB / 375.8 MB, free: 21.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.4034, allocations: 8.969 kB / 375.8 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.4035, allocations: 12.47 kB / 375.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4037, allocations: 203.3 kB / 376.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4038, allocations: 8.422 kB / 376.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4038, allocations: 10.69 kB / 376.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4041, allocations: 114 kB / 376.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4041, allocations: 1.094 kB / 376.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4041, allocations: 5.125 kB / 376.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.228e-06/0.4041, allocations: 3.25 kB / 376.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.4043, allocations: 66.7 kB / 376.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.4052, allocations: 0.5316 MB / 376.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4056, allocations: 81.95 kB / 376.9 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.4056, allocations: 31.02 kB / 376.9 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.4057, allocations: 1.188 kB / 376.9 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4057, allocations: 39.75 kB / 376.9 MB, free: 21.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.498e-06/0.4057, allocations: 0 / 376.9 MB, free: 21.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003563/0.4061, allocations: 108.9 kB / 377.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.4061, allocations: 54.45 kB / 377.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4063, allocations: 137.6 kB / 377.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4063, allocations: 29.08 kB / 377.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.4064, allocations: 183.8 kB / 377.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.4064, allocations: 28.72 kB / 377.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-06/0.4064, allocations: 0 / 377.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.4065, allocations: 317.4 kB / 377.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.4065, allocations: 14 kB / 377.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.4066, allocations: 42.78 kB / 377.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.4067, allocations: 20.78 kB / 377.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-06/0.4067, allocations: 1.125 kB / 377.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003084/0.407, allocations: 124.2 kB / 378 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4071, allocations: 4.875 kB / 378 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.809e-06/0.4071, allocations: 4.969 kB / 378 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.4073, allocations: 40.05 kB / 378 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.4074, allocations: 9.906 kB / 378 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.4088, allocations: 1.519 MB / 379.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.409, allocations: 13.86 kB / 379.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.409, allocations: 3.531 kB / 379.6 MB, free: 18.82 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 (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.4091, allocations: 110 kB / 379.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.4091, allocations: 10.17 kB / 379.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.4092, allocations: 14.91 kB / 379.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-06/0.4092, allocations: 1.344 kB / 379.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4092, allocations: 7.953 kB / 379.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4092, allocations: 6.359 kB / 379.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.4095, allocations: 209.8 kB / 379.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-06/0.4095, allocations: 0 / 379.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.4096, allocations: 3.156 kB / 379.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.4097, allocations: 46.12 kB / 380 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4098, allocations: 0 / 380 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.411, allocations: 1.501 MB / 381.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.891e-06/0.411, allocations: 1.094 kB / 381.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4113, allocations: 211.6 kB / 381.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.4114, allocations: 85.69 kB / 381.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4114, allocations: 5.094 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4116, allocations: 7.062 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4116, allocations: 9.719 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4116, allocations: 1.562 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.4117, allocations: 113.8 kB / 381.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4118, allocations: 0 / 381.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.4123, allocations: 36.5 kB / 381.9 MB, free: 16.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 9.784e-05/0.4124, allocations: 106.6 kB / 382 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.4127, allocations: 181.1 kB / 382.2 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.051e-06/0.4128, allocations: 4.125 kB / 382.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.413, allocations: 146.3 kB / 382.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4132, allocations: 16.03 kB / 382.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.4136, allocations: 164.2 kB / 382.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4142, allocations: 0.714 MB / 383.3 MB, free: 31.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.4142, allocations: 10.84 kB / 383.3 MB, free: 31.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.428e-06/0.4143, allocations: 0 / 383.3 MB, free: 31.63 MB / 330.7 MB Notification: Performance of Templates: time 0.004055/0.4183, allocations: 1.838 MB / 385.1 MB, free: 31.54 MB / 330.7 MB