Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.791e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09259, allocations: 50.41 MB / 342.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4519, allocations: 81.01 MB / 423.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4521, allocations: 78.5 kB / 423.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02437/0.4765, allocations: 5.793 MB / 429.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.738e-06/0.4766, allocations: 0 / 429.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.4766, allocations: 4 kB / 429.4 MB, free: 8.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008279/0.4774, allocations: 0.4895 MB / 429.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4775, allocations: 8.031 kB / 429.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.4777, allocations: 31.62 kB / 430 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.4782, allocations: 258.1 kB / 430.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.4782, allocations: 19.41 kB / 430.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.4783, allocations: 18.31 kB / 430.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.4787, allocations: 153.5 kB / 430.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4787, allocations: 0 / 430.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4787, allocations: 3.688 kB / 430.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4787, allocations: 11.95 kB / 430.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.4791, allocations: 119.9 kB / 430.5 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4802, allocations: 0.5716 MB / 431.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.4806, allocations: 157.7 kB / 431.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4809, allocations: 87.56 kB / 431.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.4809, allocations: 3.953 kB / 431.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.4812, allocations: 115.4 kB / 431.5 MB, free: 6.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.351e-06/0.4812, allocations: 0 / 431.5 MB, free: 6.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000477/0.4817, allocations: 190 kB / 431.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4817, allocations: 51.41 kB / 431.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.4821, allocations: 234.9 kB / 431.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4821, allocations: 29.52 kB / 432 MB, free: 5.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4823, allocations: 140.4 kB / 432.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.4824, allocations: 66.58 kB / 432.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4824, allocations: 3.25 kB / 432.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4826, allocations: 335.8 kB / 432.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4828, allocations: 52.69 kB / 432.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.4829, allocations: 84.11 kB / 432.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.4831, allocations: 63.91 kB / 432.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-06/0.4831, allocations: 0 / 432.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004653/0.4836, allocations: 205.8 kB / 432.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4836, allocations: 12.02 kB / 432.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.54e-06/0.4837, allocations: 4 kB / 432.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4837, allocations: 0 / 432.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.484, allocations: 43.92 kB / 432.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.484, allocations: 7.938 kB / 433 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4842, allocations: 23.14 kB / 433 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.4843, allocations: 7.25 kB / 433 MB, free: 5.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.4844, allocations: 119.9 kB / 433.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.4845, allocations: 27.67 kB / 433.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.4851, allocations: 212.9 kB / 433.3 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.606e-06/0.4851, allocations: 4 kB / 433.3 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4851, allocations: 0 / 433.3 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-06/0.4851, allocations: 0 / 433.3 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.4855, allocations: 307.8 kB / 433.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-06/0.4856, allocations: 0 / 433.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4859, allocations: 39.92 kB / 433.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-06/0.4859, allocations: 3.953 kB / 433.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.4859, allocations: 11.06 kB / 433.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-06/0.4859, allocations: 0 / 433.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-06/0.486, allocations: 0 / 433.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.4866, allocations: 297.1 kB / 434 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4867, allocations: 104 kB / 434.1 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.4868, allocations: 11.45 kB / 434.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.487, allocations: 4 kB / 434.1 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.487, allocations: 19.36 kB / 434.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.4871, allocations: 7.984 kB / 434.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.4873, allocations: 187.1 kB / 434.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.4874, allocations: 0 / 434.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.4878, allocations: 70.92 kB / 434.4 MB, free: 3.754 MB / 346.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: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00146/0.4893, allocations: 404.6 kB / 434.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.4897, allocations: 135.9 kB / 434.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.165e-06/0.4897, allocations: 3.188 kB / 434.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.4899, allocations: 82.05 kB / 435 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.4903, allocations: 45.33 kB / 435 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4914, allocations: 425 kB / 435.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.4919, allocations: 0.7558 MB / 436.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.492, allocations: 38.03 kB / 436.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.4921, allocations: 30.42 kB / 436.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of SimCode: time 1.654e-06/0.4922, allocations: 0 / 436.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of Templates: time 0.008961/0.5011, allocations: 2.613 MB / 438.9 MB, free: 15.45 MB / 362.7 MB