Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.105/1.105, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.784e-05, allocations: 0 / 151.4 MB, free: 15.6 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 25.16 MB / 176.5 MB, free: 15.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05463/0.2023, allocations: 35.63 MB / 212.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.2026, allocations: 63.97 kB / 212.2 MB, free: 13.76 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.2187, allocations: 4.007 MB / 216.2 MB, free: 9.75 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.957e-06/0.2187, allocations: 4 kB / 216.2 MB, free: 9.746 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.2188, allocations: 4 kB / 216.3 MB, free: 9.742 MB / 186.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.000725/0.2195, allocations: 467.2 kB / 216.7 MB, free: 9.238 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2196, allocations: 12.03 kB / 216.7 MB, free: 9.227 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.2196, allocations: 23.72 kB / 216.7 MB, free: 9.203 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.22, allocations: 239 kB / 217 MB, free: 8.93 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2201, allocations: 8.328 kB / 217 MB, free: 8.922 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.2201, allocations: 16 kB / 217 MB, free: 8.906 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.2205, allocations: 168.5 kB / 217.2 MB, free: 8.738 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2206, allocations: 7.953 kB / 217.2 MB, free: 8.73 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.2206, allocations: 15.94 kB / 217.2 MB, free: 8.715 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.791e-06/0.2206, allocations: 7.984 kB / 217.2 MB, free: 8.707 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.221, allocations: 128.6 kB / 217.3 MB, free: 8.582 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2222, allocations: 0.5821 MB / 217.9 MB, free: 7.945 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.2227, allocations: 166.6 kB / 218.1 MB, free: 7.773 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2229, allocations: 97.09 kB / 218.2 MB, free: 7.676 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.223, allocations: 89 kB / 218.2 MB, free: 7.57 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.2231, allocations: 42.52 kB / 218.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 3.601e-06/0.2231, allocations: 0 / 218.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005514/0.2237, allocations: 214.9 kB / 218.5 MB, free: 7.305 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.2237, allocations: 51.41 kB / 218.5 MB, free: 7.242 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.224, allocations: 190 kB / 218.7 MB, free: 7.051 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2241, allocations: 29.7 kB / 218.8 MB, free: 7.016 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2242, allocations: 190.8 kB / 218.9 MB, free: 6.828 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.2243, allocations: 63.12 kB / 219 MB, free: 6.766 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.2243, allocations: 12 kB / 219 MB, free: 6.754 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2245, allocations: 314.8 kB / 219.3 MB, free: 6.438 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2247, allocations: 63.97 kB / 219.4 MB, free: 6.375 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2249, allocations: 98.67 kB / 219.5 MB, free: 6.27 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.2251, allocations: 72.91 kB / 219.6 MB, free: 6.199 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-06/0.2251, allocations: 0 / 219.6 MB, free: 6.199 MB / 186.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004834/0.2256, allocations: 224.8 kB / 219.8 MB, free: 5.977 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2256, allocations: 4 kB / 219.8 MB, free: 5.973 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2256, allocations: 3.953 kB / 219.8 MB, free: 5.969 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2257, allocations: 4 kB / 219.8 MB, free: 5.965 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.2259, allocations: 35.98 kB / 219.8 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.226, allocations: 4 kB / 219.8 MB, free: 5.926 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.2262, allocations: 27.73 kB / 219.9 MB, free: 5.898 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2262, allocations: 16 kB / 219.9 MB, free: 5.883 MB / 186.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: 1 (lossTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001238/0.2263, allocations: 112.9 kB / 220 MB, free: 5.766 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.2264, allocations: 15.81 kB / 220 MB, free: 5.75 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.227, allocations: 247.1 kB / 220.2 MB, free: 5.496 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2271, allocations: 4 kB / 220.2 MB, free: 5.492 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-06/0.2271, allocations: 3.984 kB / 220.2 MB, free: 5.488 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-06/0.2271, allocations: 3.953 kB / 220.3 MB, free: 5.484 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.2276, allocations: 289.4 kB / 220.5 MB, free: 5.152 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-06/0.2276, allocations: 8 kB / 220.5 MB, free: 5.145 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.2279, allocations: 35.98 kB / 220.6 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.353e-06/0.2279, allocations: 3.984 kB / 220.6 MB, free: 5.105 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2279, allocations: 4 kB / 220.6 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.107e-06/0.2279, allocations: 4 kB / 220.6 MB, free: 5.098 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.917e-06/0.228, allocations: 0 / 220.6 MB, free: 5.098 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.2287, allocations: 432.2 kB / 221 MB, free: 4.66 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.2288, allocations: 92.89 kB / 221.1 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.2289, allocations: 12.06 kB / 221.1 MB, free: 4.539 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2291, allocations: 7.984 kB / 221.1 MB, free: 4.531 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2291, allocations: 11.98 kB / 221.1 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.2292, allocations: 8 kB / 221.1 MB, free: 4.512 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001984/0.2294, allocations: 156.4 kB / 221.3 MB, free: 4.359 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.2294, allocations: 0 / 221.3 MB, free: 4.359 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004462/0.2298, allocations: 59.84 kB / 221.4 MB, free: 4.301 MB / 186.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: 1 (lossTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.0004458/0.2303, allocations: 184.6 kB / 221.5 MB, free: 4.141 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.2307, allocations: 159.8 kB / 221.7 MB, free: 3.984 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.169e-06/0.2307, allocations: 0 / 221.7 MB, free: 3.984 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.2309, allocations: 83.52 kB / 221.8 MB, free: 3.906 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.2315, allocations: 59.7 kB / 221.8 MB, free: 3.852 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2329, allocations: 488.1 kB / 222.3 MB, free: 3.344 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.2334, allocations: 0.7558 MB / 223.1 MB, free: 2.559 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.2335, allocations: 19.44 kB / 223.1 MB, free: 2.539 MB / 186.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2335, allocations: 0 / 223.1 MB, free: 2.539 MB / 186.7 MB Notification: Performance of Templates: time 0.006293/0.2398, allocations: 2.727 MB / 225.8 MB, free: 15.81 MB / 202.7 MB