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.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.878e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 38.77 MB / 263.8 MB, free: 9.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3107, allocations: 67.71 MB / 331.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.311, allocations: 75.95 kB / 331.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.3214, allocations: 2.662 MB / 334.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.296e-06/0.3214, allocations: 7.875 kB / 334.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3214, allocations: 11.94 kB / 334.2 MB, free: 3.266 MB / 282.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.0005752/0.322, allocations: 406.4 kB / 334.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3221, allocations: 8.031 kB / 334.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.3222, allocations: 15.81 kB / 334.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3225, allocations: 198.8 kB / 334.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3225, allocations: 16.16 kB / 334.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3226, allocations: 19.95 kB / 334.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.3228, allocations: 103.3 kB / 335 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3229, allocations: 0 / 335 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.3229, allocations: 8 kB / 335 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3229, allocations: 3.984 kB / 335 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3231, allocations: 64.47 kB / 335.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3242, allocations: 0.5384 MB / 335.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3245, allocations: 74.64 kB / 335.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.3246, allocations: 28.98 kB / 335.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3246, allocations: 0 / 335.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3246, allocations: 34.56 kB / 335.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.918e-06/0.3247, allocations: 0 / 335.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003962/0.3251, allocations: 102.4 kB / 335.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3251, allocations: 59.39 kB / 335.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3253, allocations: 141.2 kB / 336 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3254, allocations: 29.7 kB / 336.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.3255, allocations: 127.6 kB / 336.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3255, allocations: 15.8 kB / 336.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-06/0.3255, allocations: 4 kB / 336.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3257, allocations: 318.9 kB / 336.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.3258, allocations: 16 kB / 336.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.3258, allocations: 42.5 kB / 336.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.3259, allocations: 24 kB / 336.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-06/0.3259, allocations: 0 / 336.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003402/0.3263, allocations: 126.3 kB / 336.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3263, allocations: 11.95 kB / 336.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-06/0.3263, allocations: 0 / 336.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.3266, allocations: 36.95 kB / 336.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3267, allocations: 12 kB / 336.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.3287, allocations: 1.523 MB / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3288, allocations: 15.83 kB / 338.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3288, allocations: 8 kB / 338.3 MB, free: 14.8 MB / 298.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.0001065/0.3289, allocations: 106.1 kB / 338.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.329, allocations: 11.84 kB / 338.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.329, allocations: 16.69 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-06/0.3291, allocations: 0 / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-06/0.3291, allocations: 0 / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-06/0.3291, allocations: 0 / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3294, allocations: 225.5 kB / 338.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-06/0.3294, allocations: 0 / 338.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.3295, allocations: 4 kB / 338.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.3297, allocations: 32.84 kB / 338.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3297, allocations: 8.109 kB / 338.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.3315, allocations: 1.506 MB / 340.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-06/0.3315, allocations: 0 / 340.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3319, allocations: 200.3 kB / 340.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.332, allocations: 96.89 kB / 340.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.332, allocations: 7.938 kB / 340.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3322, allocations: 12 kB / 340.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3322, allocations: 8.047 kB / 340.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3323, allocations: 4 kB / 340.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3324, allocations: 111.8 kB / 340.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.147e-06/0.3324, allocations: 0 / 340.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.3329, allocations: 35.91 kB / 340.7 MB, free: 12.2 MB / 298.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.0001388/0.3331, allocations: 103.2 kB / 340.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3335, allocations: 170 kB / 341 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.434e-06/0.3335, allocations: 0 / 341 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.3338, allocations: 149.5 kB / 341.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.334, allocations: 16.62 kB / 341.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3344, allocations: 134.9 kB / 341.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3348, allocations: 0.716 MB / 342 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.315e-05/0.3349, allocations: 4.906 kB / 342 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.335, allocations: 11.38 kB / 342 MB, free: 10.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.005e-06/0.335, allocations: 4 kB / 342 MB, free: 10.83 MB / 298.7 MB Notification: Performance of Templates: time 0.005392/0.3404, allocations: 1.306 MB / 343.3 MB, free: 9.535 MB / 298.7 MB