Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.598e-05, allocations: 6.5 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4641, allocations: 81 MB / 424.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4643, allocations: 77.7 kB / 424.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02319/0.4876, allocations: 5.801 MB / 430 MB, free: 8.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4876, allocations: 0 / 430 MB, free: 8.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.4876, allocations: 4 kB / 430 MB, free: 8.324 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.0008357/0.4885, allocations: 0.4906 MB / 430.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4885, allocations: 8.031 kB / 430.5 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.4887, allocations: 31.62 kB / 430.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.4892, allocations: 260.3 kB / 430.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.4893, allocations: 11.25 kB / 430.8 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.4893, allocations: 15.44 kB / 430.8 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.4897, allocations: 158.7 kB / 430.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4898, allocations: 0 / 430.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4898, allocations: 7.438 kB / 430.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4898, allocations: 7.953 kB / 430.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4902, allocations: 124.9 kB / 431.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.4913, allocations: 0.5723 MB / 431.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.4917, allocations: 160 kB / 431.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4919, allocations: 85.75 kB / 431.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.492, allocations: 7.953 kB / 431.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.4922, allocations: 111.9 kB / 432 MB, free: 6.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.348e-06/0.4923, allocations: 0 / 432 MB, free: 6.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004709/0.4928, allocations: 185.1 kB / 432.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.4928, allocations: 55.41 kB / 432.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4932, allocations: 227.4 kB / 432.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4932, allocations: 29.58 kB / 432.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4933, allocations: 139.5 kB / 432.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.4934, allocations: 76.88 kB / 432.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.4935, allocations: 3.375 kB / 432.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4937, allocations: 341.1 kB / 433 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4938, allocations: 44.75 kB / 433.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.494, allocations: 84.23 kB / 433.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4941, allocations: 58.66 kB / 433.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-06/0.4942, allocations: 0 / 433.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004516/0.4946, allocations: 211.3 kB / 433.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4947, allocations: 7.938 kB / 433.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.628e-06/0.4947, allocations: 4 kB / 433.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4947, allocations: 0 / 433.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.495, allocations: 59.66 kB / 433.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.178e-06/0.495, allocations: 0 / 433.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.4952, allocations: 23.7 kB / 433.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.4953, allocations: 12.09 kB / 433.5 MB, free: 5.078 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.0001165/0.4954, allocations: 116.2 kB / 433.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.4955, allocations: 23.67 kB / 433.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.496, allocations: 211.2 kB / 433.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-06/0.496, allocations: 0 / 433.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-06/0.496, allocations: 0 / 433.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.496, allocations: 0 / 433.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.4964, allocations: 307.1 kB / 434.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-06/0.4965, allocations: 0 / 434.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.4967, allocations: 39.92 kB / 434.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.4968, allocations: 7.953 kB / 434.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4968, allocations: 3.75 kB / 434.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.443e-06/0.4968, allocations: 0 / 434.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-06/0.4968, allocations: 0 / 434.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.4975, allocations: 293.9 kB / 434.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4976, allocations: 104.2 kB / 434.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.4977, allocations: 11.19 kB / 434.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4978, allocations: 11.25 kB / 434.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.4979, allocations: 15.92 kB / 434.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.4979, allocations: 7.438 kB / 434.6 MB, free: 4.043 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.4982, allocations: 190 kB / 434.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.4982, allocations: 0 / 434.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004081/0.4986, allocations: 70.92 kB / 434.9 MB, free: 3.828 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.001456/0.5001, allocations: 409.6 kB / 435.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.5005, allocations: 136.7 kB / 435.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.231e-06/0.5005, allocations: 0 / 435.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.5007, allocations: 85.36 kB / 435.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.5011, allocations: 43.02 kB / 435.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5022, allocations: 430.2 kB / 436 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.5027, allocations: 0.7519 MB / 436.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.5029, allocations: 34.05 kB / 436.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.503, allocations: 23.44 kB / 436.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.868e-06/0.503, allocations: 0 / 436.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Templates: time 0.008709/0.5117, allocations: 2.622 MB / 439.4 MB, free: 15.52 MB / 362.7 MB