Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.764e-05, allocations: 4.984 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09048, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.4892, allocations: 104.4 MB / 447 MB, free: 5.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4894, allocations: 84.95 kB / 447.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1759/0.6653, allocations: 44.7 MB / 491.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.6654, allocations: 4 kB / 491.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001989/0.6656, allocations: 63.92 kB / 491.8 MB, free: 13.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006505/0.6721, allocations: 2.187 MB / 494 MB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6722, allocations: 8.875 kB / 494 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.6737, allocations: 292.9 kB / 494.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.6783, allocations: 1.542 MB / 495.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.6785, allocations: 148 kB / 496 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006419/0.6792, allocations: 203.9 kB / 496.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006624/0.6858, allocations: 2.621 MB / 498.8 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.818e-05/0.6859, allocations: 8 kB / 498.8 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.6863, allocations: 95.94 kB / 498.9 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.6864, allocations: 83.94 kB / 499 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005506/0.6919, allocations: 2.105 MB / 0.4894 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.711, allocations: 8.442 MB / 0.4976 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.7141, allocations: 1.756 MB / 0.4993 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.7163, allocations: 0.9683 MB / 0.5003 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/0.7167, allocations: 138 kB / 0.5004 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.7168, allocations: 43.56 kB / 0.5004 GB, free: 8.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.595e-06/0.7168, allocations: 0 / 0.5004 GB, free: 8.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.01487/0.7317, allocations: 5.238 MB / 0.5056 GB, free: 2.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.7318, allocations: 64.41 kB / 0.5056 GB, free: 2.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.7345, allocations: 1.304 MB / 0.5069 GB, free: 1.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.7347, allocations: 45.7 kB / 0.5069 GB, free: 1.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008666/0.7356, allocations: 0.9297 MB / 0.5079 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.7361, allocations: 425.8 kB / 0.5083 GB, free: 152 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7362, allocations: 28 kB / 0.5083 GB, free: 124 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.7365, allocations: 366.8 kB / 0.5086 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.738, allocations: 0.695 MB / 0.5093 GB, free: 15.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.7398, allocations: 0.9924 MB / 0.5103 GB, free: 13.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.7415, allocations: 0.8481 MB / 0.5111 GB, free: 13.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.401e-06/0.7415, allocations: 3.938 kB / 0.5111 GB, free: 13.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004882/0.7464, allocations: 2.144 MB / 0.5132 GB, free: 10.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.7465, allocations: 12.09 kB / 0.5132 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.7465, allocations: 8 kB / 0.5132 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.7479, allocations: 407.1 kB / 0.5136 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.7497, allocations: 335.5 kB / 0.5139 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/0.7566, allocations: 4.645 MB / 0.5185 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7582, allocations: 99.91 kB / 0.5186 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.7584, allocations: 52 kB / 0.5186 GB, free: 5.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.7588, allocations: 176.7 kB / 0.5188 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.7592, allocations: 170 kB / 0.5189 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.7641, allocations: 2.098 MB / 0.521 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.7641, allocations: 12 kB / 0.521 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.882e-06/0.7641, allocations: 4 kB / 0.521 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.7642, allocations: 3.984 kB / 0.521 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2639/1.028, allocations: 4.51 MB / 0.5254 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/1.028, allocations: 3.984 kB / 0.5254 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/1.031, allocations: 239.5 kB / 0.5256 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/1.035, allocations: 459 kB / 0.5261 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004193/1.036, allocations: 36.62 kB / 0.5261 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.051, allocations: 6.161 MB / 0.5321 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.051, allocations: 5.562 kB / 0.5321 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.065, allocations: 3.29 MB / 0.5354 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.068, allocations: 403.5 kB / 0.5357 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007291/1.068, allocations: 30.41 kB / 0.5358 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.071, allocations: 82.92 kB / 0.5358 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007063/1.072, allocations: 113.8 kB / 0.536 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.072, allocations: 39.25 kB / 0.536 GB, free: 113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004412/1.077, allocations: 1.002 MB / 0.537 GB, free: 112.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.552e-06/1.077, allocations: 0 / 0.537 GB, free: 112.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005017/1.082, allocations: 492.3 kB / 0.5374 GB, free: 112.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.083, allocations: 324.9 kB / 0.5378 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008401/1.091, allocations: 2.164 MB / 0.5399 GB, free: 112.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.481e-06/1.092, allocations: 1.125 kB / 0.5399 GB, free: 112.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/1.094, allocations: 1.444 MB / 0.5413 GB, free: 111.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.097, allocations: 414.2 kB / 0.5417 GB, free: 111.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.108, allocations: 3.748 MB / 0.5453 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/1.111, allocations: 1.847 MB / 0.5471 GB, free: 110.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.112, allocations: 120.5 kB / 0.5473 GB, free: 110.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.671e-06/1.112, allocations: 0 / 0.5473 GB, free: 110.3 MB / 442.7 MB Notification: Performance of Templates: time 0.07427/1.186, allocations: 66.81 MB / 0.6125 GB, free: 73.75 MB / 442.7 MB