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.054/1.054, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.266e-05, allocations: 0 / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05399/0.05405, allocations: 25.17 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.0027/0.05681, allocations: 1.543 MB / 181.2 MB, free: 8.074 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.05812, allocations: 0.5074 MB / 181.7 MB, free: 7.562 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.05827, allocations: 4 kB / 181.7 MB, free: 7.559 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.05858, allocations: 67.77 kB / 181.8 MB, free: 7.492 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.05889, allocations: 107.7 kB / 181.9 MB, free: 7.387 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.05913, allocations: 55.81 kB / 182 MB, free: 7.332 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.0594, allocations: 127.8 kB / 182.1 MB, free: 7.207 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.05959, allocations: 48.38 kB / 182.1 MB, free: 7.16 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.05974, allocations: 71.84 kB / 182.2 MB, free: 7.09 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.06, allocations: 87.73 kB / 182.3 MB, free: 7.004 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.06018, allocations: 23.98 kB / 182.3 MB, free: 6.98 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.06023, allocations: 8 kB / 182.3 MB, free: 6.973 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.06031, allocations: 35.84 kB / 182.4 MB, free: 6.938 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.0604, allocations: 20 kB / 182.4 MB, free: 6.918 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.06074, allocations: 183.8 kB / 182.6 MB, free: 6.738 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.06076, allocations: 0 / 182.6 MB, free: 6.738 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.06077, allocations: 3.938 kB / 182.6 MB, free: 6.734 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.0608, allocations: 4 kB / 182.6 MB, free: 6.73 MB / 154.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.0008475/0.06165, allocations: 467.7 kB / 183 MB, free: 6.223 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.06171, allocations: 8.031 kB / 183 MB, free: 6.215 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.0618, allocations: 27.72 kB / 183.1 MB, free: 6.188 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.06217, allocations: 235 kB / 183.3 MB, free: 5.918 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.06222, allocations: 8.328 kB / 183.3 MB, free: 5.91 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.06229, allocations: 24 kB / 183.3 MB, free: 5.887 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.06272, allocations: 152.2 kB / 183.5 MB, free: 5.734 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.06276, allocations: 7.938 kB / 183.5 MB, free: 5.727 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.06279, allocations: 4 kB / 183.5 MB, free: 5.723 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.06282, allocations: 7.953 kB / 183.5 MB, free: 5.715 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.06317, allocations: 120.2 kB / 183.6 MB, free: 5.598 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.06453, allocations: 0.551 MB / 184.2 MB, free: 4.996 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.06495, allocations: 158.4 kB / 184.3 MB, free: 4.832 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.06511, allocations: 85.09 kB / 184.4 MB, free: 4.73 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.06516, allocations: 38.88 kB / 184.4 MB, free: 4.684 MB / 154.7 MB Notification: Performance of pre-optimization done (n=17): time 2.845e-06/0.06517, allocations: 3.938 kB / 184.4 MB, free: 4.68 MB / 154.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006819/0.06587, allocations: 245.1 kB / 184.7 MB, free: 4.434 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.06594, allocations: 59.41 kB / 184.7 MB, free: 4.363 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.06623, allocations: 190.1 kB / 184.9 MB, free: 4.172 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.06627, allocations: 29.7 kB / 184.9 MB, free: 4.137 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.06642, allocations: 194.8 kB / 185.1 MB, free: 3.945 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.0665, allocations: 55.2 kB / 185.2 MB, free: 3.891 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.06653, allocations: 4 kB / 185.2 MB, free: 3.887 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.06669, allocations: 322.8 kB / 185.5 MB, free: 3.562 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.06685, allocations: 51.98 kB / 185.6 MB, free: 3.512 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.06705, allocations: 82.19 kB / 185.6 MB, free: 3.426 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.06725, allocations: 60.92 kB / 185.7 MB, free: 3.367 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.06726, allocations: 0 / 185.7 MB, free: 3.367 MB / 154.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004752/0.06775, allocations: 195.3 kB / 185.9 MB, free: 3.172 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.06779, allocations: 5.719 kB / 185.9 MB, free: 3.168 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.06781, allocations: 7.984 kB / 185.9 MB, free: 3.16 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.06783, allocations: 0 / 185.9 MB, free: 3.16 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.06825, allocations: 39.92 kB / 185.9 MB, free: 3.121 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.06828, allocations: 7.953 kB / 185.9 MB, free: 3.113 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.0685, allocations: 27.73 kB / 186 MB, free: 3.086 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.06854, allocations: 12.06 kB / 186 MB, free: 3.074 MB / 154.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.0002079/0.06875, allocations: 141.8 kB / 186.1 MB, free: 2.926 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.06883, allocations: 19.81 kB / 186.1 MB, free: 2.906 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005633/0.0694, allocations: 199.4 kB / 186.3 MB, free: 2.703 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.06942, allocations: 4 kB / 186.3 MB, free: 2.699 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.06944, allocations: 0 / 186.3 MB, free: 2.699 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.06946, allocations: 7.938 kB / 186.4 MB, free: 2.691 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.06992, allocations: 265.4 kB / 186.6 MB, free: 2.383 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.06994, allocations: 4 kB / 186.6 MB, free: 2.379 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.07028, allocations: 43.84 kB / 186.7 MB, free: 2.336 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.0703, allocations: 0 / 186.7 MB, free: 2.336 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.07033, allocations: 8 kB / 186.7 MB, free: 2.328 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.07034, allocations: 0 / 186.7 MB, free: 2.328 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.07035, allocations: 0 / 186.7 MB, free: 2.328 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.07106, allocations: 357.7 kB / 187 MB, free: 1.965 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.07117, allocations: 96.94 kB / 187.1 MB, free: 1.852 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.07123, allocations: 12 kB / 187.1 MB, free: 1.84 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.07144, allocations: 7.938 kB / 187.1 MB, free: 1.832 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.0715, allocations: 19.83 kB / 187.1 MB, free: 1.812 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.07153, allocations: 8 kB / 187.2 MB, free: 1.805 MB / 154.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.07177, allocations: 164.3 kB / 187.3 MB, free: 1.645 MB / 154.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.07178, allocations: 0 / 187.3 MB, free: 1.645 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.07225, allocations: 48 kB / 187.4 MB, free: 1.598 MB / 154.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 (17): * Single equations (assignments): 16 * 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.0004893/0.07275, allocations: 170.7 kB / 187.5 MB, free: 1.445 MB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.0732, allocations: 143.8 kB / 187.7 MB, free: 1.305 MB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.07322, allocations: 128 / 187.7 MB, free: 1.305 MB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.0734, allocations: 71.92 kB / 187.7 MB, free: 1.234 MB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.07415, allocations: 64.17 kB / 187.8 MB, free: 1.172 MB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.07607, allocations: 0.6736 MB / 188.5 MB, free: 472 kB / 154.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.07659, allocations: 0.7555 MB / 189.2 MB, free: 15.68 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.07671, allocations: 15.44 kB / 189.2 MB, free: 15.66 MB / 170.7 MB Notification: Performance of SimCode: time 9.42e-07/0.07672, allocations: 4 kB / 189.3 MB, free: 15.66 MB / 170.7 MB Notification: Performance of Templates: time 0.008014/0.08474, allocations: 2.741 MB / 192 MB, free: 12.92 MB / 170.7 MB