Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.056e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.219, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3315, allocations: 69.56 MB / 333.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.3318, allocations: 71.95 kB / 333.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02096/0.3528, allocations: 5.108 MB / 338.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.3529, allocations: 0 / 338.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.3529, allocations: 4 kB / 338.5 MB, free: 14.97 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008559/0.3538, allocations: 0.5162 MB / 339 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3538, allocations: 8.031 kB / 339 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.3541, allocations: 35.64 kB / 339.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.3545, allocations: 242.6 kB / 339.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.3545, allocations: 20.22 kB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.3546, allocations: 19.94 kB / 339.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.355, allocations: 147.9 kB / 339.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.355, allocations: 0 / 339.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.355, allocations: 4 kB / 339.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.38e-06/0.3551, allocations: 4 kB / 339.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3554, allocations: 116.6 kB / 339.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3566, allocations: 0.5823 MB / 340.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.357, allocations: 150.6 kB / 340.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3572, allocations: 72.86 kB / 340.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3572, allocations: 0 / 340.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3575, allocations: 107.4 kB / 340.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 2.832e-06/0.3575, allocations: 3.938 kB / 340.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000464/0.358, allocations: 162.5 kB / 340.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.358, allocations: 55.39 kB / 340.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.3584, allocations: 238.9 kB / 341 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3584, allocations: 25.7 kB / 341 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3586, allocations: 140.3 kB / 341.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.3587, allocations: 59.2 kB / 341.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.3587, allocations: 4 kB / 341.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3589, allocations: 334.8 kB / 341.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.359, allocations: 48 kB / 341.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3592, allocations: 86.75 kB / 341.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.3595, allocations: 97.81 kB / 341.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-06/0.3595, allocations: 0 / 341.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00053/0.36, allocations: 241.2 kB / 342 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.3601, allocations: 33.7 kB / 342 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3601, allocations: 0 / 342 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3601, allocations: 8.062 kB / 342 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3604, allocations: 47.91 kB / 342.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3604, allocations: 0 / 342.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3606, allocations: 35.7 kB / 342.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3606, allocations: 4 kB / 342.1 MB, free: 11.12 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: 3 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.3608, allocations: 117.6 kB / 342.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.3608, allocations: 27.72 kB / 342.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.3613, allocations: 200.4 kB / 342.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-06/0.3614, allocations: 4 kB / 342.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.574e-06/0.3614, allocations: 0 / 342.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.932e-06/0.3614, allocations: 0 / 342.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.3618, allocations: 293.4 kB / 342.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3619, allocations: 0 / 342.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.3621, allocations: 35.92 kB / 342.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.3622, allocations: 7.953 kB / 342.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3622, allocations: 8 kB / 342.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-06/0.3622, allocations: 3.984 kB / 342.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-06/0.3622, allocations: 4 kB / 342.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.3628, allocations: 269.1 kB / 343.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.363, allocations: 104.9 kB / 343.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.363, allocations: 3.953 kB / 343.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3632, allocations: 11.98 kB / 343.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3633, allocations: 15.92 kB / 343.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.3633, allocations: 8 kB / 343.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002586/0.3636, allocations: 193.7 kB / 343.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.3636, allocations: 0 / 343.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.364, allocations: 67.84 kB / 343.5 MB, free: 9.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 2 ($whenCondition1,lossTable.nextTimeEvent) * Number of discrete states: 1 (lossTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.365, allocations: 318.5 kB / 343.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.3655, allocations: 199.5 kB / 344 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.708e-06/0.3655, allocations: 4.125 kB / 344 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3657, allocations: 71.88 kB / 344 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.366, allocations: 28.59 kB / 344.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3671, allocations: 426.7 kB / 344.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.3676, allocations: 0.748 MB / 345.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.3677, allocations: 37.52 kB / 345.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.3678, allocations: 23.44 kB / 345.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of SimCode: time 2.192e-06/0.3678, allocations: 0 / 345.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of Templates: time 0.008106/0.376, allocations: 2.49 MB / 347.8 MB, free: 5.332 MB / 298.7 MB