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.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.685e-05, allocations: 0 / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08867, allocations: 47.57 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4365, allocations: 79.39 MB / 396.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4368, allocations: 70.28 kB / 396.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02354/0.4604, allocations: 5.74 MB / 402.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.4604, allocations: 0 / 402.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.4605, allocations: 4 kB / 402.1 MB, free: 3.852 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008305/0.4613, allocations: 0.4899 MB / 402.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4614, allocations: 8.031 kB / 402.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.4616, allocations: 31.7 kB / 402.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.462, allocations: 254.2 kB / 402.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.4621, allocations: 11.88 kB / 402.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4621, allocations: 19.7 kB / 402.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.4625, allocations: 156.1 kB / 403.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4626, allocations: 0 / 403.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.4626, allocations: 7.812 kB / 403.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4626, allocations: 4 kB / 403.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.463, allocations: 117.6 kB / 403.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4641, allocations: 0.5801 MB / 403.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.4645, allocations: 160.2 kB / 403.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.4647, allocations: 87.66 kB / 404 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4648, allocations: 3.938 kB / 404 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.4651, allocations: 113.7 kB / 404.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.429e-06/0.4651, allocations: 0 / 404.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004837/0.4656, allocations: 184.2 kB / 404.3 MB, free: 1.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4656, allocations: 51.41 kB / 404.4 MB, free: 1.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.466, allocations: 227.3 kB / 404.6 MB, free: 1.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.466, allocations: 33.52 kB / 404.6 MB, free: 1.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4662, allocations: 146.5 kB / 404.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/0.4663, allocations: 74.77 kB / 404.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.4663, allocations: 3.875 kB / 404.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4665, allocations: 330.6 kB / 405.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4667, allocations: 59.23 kB / 405.2 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.4668, allocations: 86.73 kB / 405.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.467, allocations: 60.05 kB / 405.4 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.039e-06/0.467, allocations: 3.984 kB / 405.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004614/0.4675, allocations: 205.9 kB / 405.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4675, allocations: 4 kB / 405.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.38e-06/0.4676, allocations: 0 / 405.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4676, allocations: 4 kB / 405.6 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4679, allocations: 43.92 kB / 405.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4679, allocations: 4 kB / 405.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.4681, allocations: 35.36 kB / 405.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4682, allocations: 7.875 kB / 405.7 MB, free: 0.6133 MB / 314.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.0001194/0.4683, allocations: 120.6 kB / 405.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.4684, allocations: 23.72 kB / 405.8 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.4689, allocations: 209.4 kB / 406 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4689, allocations: 4 kB / 406 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4689, allocations: 0 / 406 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.799e-06/0.4689, allocations: 7.984 kB / 406 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.4694, allocations: 295.6 kB / 406.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-06/0.4694, allocations: 0 / 406.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4697, allocations: 43.61 kB / 406.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.4697, allocations: 3.938 kB / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.4698, allocations: 4 kB / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.118e-06/0.4698, allocations: 0 / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.542e-06/0.4698, allocations: 3.984 kB / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.4704, allocations: 297.4 kB / 406.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4706, allocations: 104.7 kB / 406.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.4706, allocations: 7.875 kB / 406.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4708, allocations: 4 kB / 406.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.4709, allocations: 15.78 kB / 406.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.4709, allocations: 8 kB / 406.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.4712, allocations: 186.8 kB / 407 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.37e-07/0.4712, allocations: 7.938 kB / 407 MB, free: 15.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.4716, allocations: 66.41 kB / 407.1 MB, free: 15.36 MB / 330.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.001394/0.473, allocations: 407.5 kB / 407.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.4734, allocations: 137.5 kB / 407.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.095e-06/0.4734, allocations: 0 / 407.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.4736, allocations: 85.92 kB / 407.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.474, allocations: 42.97 kB / 407.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4751, allocations: 430.8 kB / 408.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.4756, allocations: 0.7558 MB / 408.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.4758, allocations: 34.05 kB / 408.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.4759, allocations: 23.44 kB / 409 MB, free: 13.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.48e-06/0.4759, allocations: 0 / 409 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Templates: time 0.008607/0.4846, allocations: 2.612 MB / 411.6 MB, free: 10.98 MB / 330.7 MB