Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadModel(Modelica): time 2.217/2.218, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.075e-05, allocations: 7.984 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01075/0.1192, allocations: 6.418 MB / 351.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.1254, allocations: 2.39 MB / 353.8 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1267, allocations: 47.81 kB / 353.8 MB, free: 60 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1287, allocations: 437.7 kB / 354.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.1316, allocations: 0.4905 MB / 354.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1328, allocations: 175.8 kB / 354.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003634/0.1365, allocations: 1.014 MB / 355.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1387, allocations: 0.7371 MB / 356.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.1403, allocations: 0.5259 MB / 357.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.1425, allocations: 0.6775 MB / 357.9 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1436, allocations: 131.9 kB / 358 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004668/0.1441, allocations: 68 kB / 358.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.1452, allocations: 430.7 kB / 358.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.146, allocations: 160 kB / 358.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.151, allocations: 2.396 MB / 361 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1511, allocations: 0 / 361 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1511, allocations: 0 / 361 MB, free: 8.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.886e-05/0.1512, allocations: 0 / 361 MB, free: 8.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.006622/0.1578, allocations: 1.659 MB / 362.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1579, allocations: 12.03 kB / 362.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.1595, allocations: 213.7 kB / 362.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/0.1639, allocations: 1.083 MB / 364 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.1641, allocations: 111 kB / 364.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006563/0.1648, allocations: 151.9 kB / 364.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.1726, allocations: 1.943 MB / 366.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.542e-05/0.1727, allocations: 0 / 366.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.1731, allocations: 63.98 kB / 366.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.1733, allocations: 74.92 kB / 366.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.18, allocations: 1.577 MB / 367.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.2023, allocations: 6.339 MB / 374.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.2056, allocations: 0.8389 MB / 375.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/0.2061, allocations: 113.6 kB / 375.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.2061, allocations: 43.12 kB / 375.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 4.899e-06/0.2062, allocations: 0 / 375.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.02511/0.2313, allocations: 5.911 MB / 381.2 MB, free: 4.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.2314, allocations: 68.34 kB / 381.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2337, allocations: 1.002 MB / 382.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.234, allocations: 37.7 kB / 382.3 MB, free: 3.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/0.2347, allocations: 0.7615 MB / 383 MB, free: 2.238 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.2352, allocations: 307.7 kB / 383.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2353, allocations: 20 kB / 383.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2355, allocations: 358.8 kB / 383.7 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2369, allocations: 0.5452 MB / 384.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2386, allocations: 0.8796 MB / 385.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.2404, allocations: 0.6861 MB / 385.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.2404, allocations: 4 kB / 385.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005687/0.2461, allocations: 1.97 MB / 387.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.2462, allocations: 8 kB / 387.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.2462, allocations: 12 kB / 387.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.2487, allocations: 0.5555 MB / 388.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.2505, allocations: 247.5 kB / 388.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.2651, allocations: 8.041 MB / 396.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.2675, allocations: 72.17 kB / 396.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.2678, allocations: 48 kB / 396.8 MB, free: 3.773 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001892/0.2697, allocations: 0.513 MB / 397.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/0.2703, allocations: 126.7 kB / 397.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/0.2778, allocations: 1.779 MB / 399.2 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.2779, allocations: 15.98 kB / 399.2 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/0.2779, allocations: 4 kB / 399.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.278, allocations: 7.984 kB / 399.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.341/0.6189, allocations: 3.724 MB / 402.9 MB, free: 48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.619, allocations: 1.438 kB / 402.9 MB, free: 48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6201, allocations: 128.5 kB / 403.1 MB, free: 48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/0.623, allocations: 0.5968 MB / 403.7 MB, free: 47.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.6232, allocations: 26.02 kB / 403.7 MB, free: 47.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.636, allocations: 7.243 MB / 410.9 MB, free: 43.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.636, allocations: 2.062 kB / 410.9 MB, free: 43.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.6431, allocations: 2.575 MB / 413.5 MB, free: 42.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009681/0.6441, allocations: 314 kB / 413.8 MB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.6445, allocations: 27.86 kB / 413.8 MB, free: 41.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6456, allocations: 56.47 kB / 413.9 MB, free: 41.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.6459, allocations: 72.08 kB / 414 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/0.646, allocations: 27.45 kB / 414 MB, free: 41.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001686/0.6477, allocations: 0.7656 MB / 414.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6477, allocations: 0 / 414.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002072/0.6498, allocations: 375.5 kB / 415.1 MB, free: 41.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,69.4%) 14,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004181/0.6503, allocations: 148.7 kB / 415.3 MB, free: 41.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004682/0.655, allocations: 2.137 MB / 417.4 MB, free: 40.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.655, allocations: 3.938 kB / 417.4 MB, free: 40.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003225/0.6583, allocations: 1.294 MB / 418.7 MB, free: 39.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.661, allocations: 344.9 kB / 419 MB, free: 39.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/0.6684, allocations: 3.935 MB / 423 MB, free: 37.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.6697, allocations: 1.481 MB / 424.4 MB, free: 36.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.6702, allocations: 89.52 kB / 424.5 MB, free: 36.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6702, allocations: 0 / 424.5 MB, free: 36.3 MB / 330.7 MB Notification: Performance of Templates: time 0.08388/0.7541, allocations: 55.61 MB / 480.1 MB, free: 13.36 MB / 362.7 MB