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.962/1.962, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.838e-05, allocations: 8 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.3908, allocations: 72.23 MB / 366.3 MB, free: 9.773 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3911, allocations: 71.97 kB / 366.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.4013, allocations: 2.622 MB / 369 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.221e-06/0.4013, allocations: 0 / 369 MB, free: 7.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.4013, allocations: 0 / 369 MB, free: 7.07 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.0005731/0.4019, allocations: 406.3 kB / 369.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.402, allocations: 12.03 kB / 369.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.4021, allocations: 11.91 kB / 369.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.4024, allocations: 212.8 kB / 369.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4024, allocations: 8 kB / 369.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4025, allocations: 7.938 kB / 369.7 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001924/0.4027, allocations: 60.47 kB / 369.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.4029, allocations: 87.31 kB / 369.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4029, allocations: 3.938 kB / 369.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.403, allocations: 0 / 369.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.249e-06/0.403, allocations: 4 kB / 369.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.404, allocations: 0.4971 MB / 370.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4043, allocations: 70.64 kB / 370.4 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.4044, allocations: 28.98 kB / 370.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4044, allocations: 11.92 kB / 370.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4045, allocations: 30.56 kB / 370.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.48e-06/0.4045, allocations: 0 / 370.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004152/0.4049, allocations: 102.4 kB / 370.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.405, allocations: 55.34 kB / 370.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4052, allocations: 136.8 kB / 370.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.4052, allocations: 25.7 kB / 370.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4053, allocations: 182.5 kB / 371 MB, free: 4.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4054, allocations: 27.64 kB / 371 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4054, allocations: 0 / 371 MB, free: 4.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4056, allocations: 310.8 kB / 371.3 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.4056, allocations: 23.94 kB / 371.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.4057, allocations: 34.58 kB / 371.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.4058, allocations: 23.98 kB / 371.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-06/0.4058, allocations: 0 / 371.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003172/0.4061, allocations: 106.4 kB / 371.5 MB, free: 4.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4062, allocations: 8 kB / 371.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-06/0.4062, allocations: 0 / 371.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.4064, allocations: 40.89 kB / 371.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.4065, allocations: 8 kB / 371.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.4083, allocations: 1.447 MB / 373 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4084, allocations: 11.89 kB / 373 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4085, allocations: 4 kB / 373 MB, free: 2.77 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 0.0001052/0.4086, allocations: 108.8 kB / 373.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.4087, allocations: 11.89 kB / 373.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.4087, allocations: 12.62 kB / 373.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-06/0.4087, allocations: 4.062 kB / 373.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-06/0.4087, allocations: 0 / 373.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4087, allocations: 192 / 373.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.409, allocations: 190 kB / 373.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-06/0.4091, allocations: 3.938 kB / 373.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.4091, allocations: 4 kB / 373.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.4093, allocations: 36.89 kB / 373.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4094, allocations: 7.969 kB / 373.4 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.411, allocations: 1.435 MB / 374.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-06/0.4111, allocations: 4.062 kB / 374.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.4114, allocations: 204.2 kB / 375 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.4115, allocations: 85.02 kB / 375.1 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4115, allocations: 3.953 kB / 375.1 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4117, allocations: 7.938 kB / 375.1 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.4118, allocations: 11.98 kB / 375.1 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-06/0.4118, allocations: 0 / 375.1 MB, free: 452 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.4119, allocations: 110.2 kB / 375.2 MB, free: 344 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4119, allocations: 0 / 375.2 MB, free: 344 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.4124, allocations: 35.91 kB / 375.2 MB, free: 308 kB / 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 0.0001377/0.4126, allocations: 99.25 kB / 375.3 MB, free: 200 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.413, allocations: 169.8 kB / 375.5 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.162e-06/0.413, allocations: 0 / 375.5 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.4133, allocations: 145.6 kB / 375.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4136, allocations: 8 kB / 375.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.414, allocations: 163.2 kB / 375.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.4144, allocations: 0.7196 MB / 376.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.4145, allocations: 11.44 kB / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4145, allocations: 0 / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of Templates: time 0.004293/0.4188, allocations: 1.825 MB / 378.4 MB, free: 13.09 MB / 330.7 MB