Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.678e-05, allocations: 0 / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09409, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5763, allocations: 109.8 MB / 452.4 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5767, allocations: 89.14 kB / 452.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2925/0.8692, allocations: 80.51 MB / 0.5205 GB, free: 3.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.8692, allocations: 0 / 0.5205 GB, free: 3.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002645/0.8695, allocations: 75.94 kB / 0.5206 GB, free: 3.809 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0102/0.8797, allocations: 3.211 MB / 0.5237 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8798, allocations: 8.031 kB / 0.5237 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2525/1.132, allocations: 0.7254 MB / 0.5244 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.144, allocations: 3.344 MB / 0.5277 GB, free: 93.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/1.144, allocations: 236.4 kB / 0.5279 GB, free: 93.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.146, allocations: 317.3 kB / 0.5282 GB, free: 93.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/1.158, allocations: 4.054 MB / 0.5322 GB, free: 93.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/1.158, allocations: 13.05 kB / 0.5322 GB, free: 93.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007884/1.159, allocations: 134 kB / 0.5323 GB, free: 93.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/1.159, allocations: 141.3 kB / 0.5325 GB, free: 93.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009753/1.169, allocations: 3.309 MB / 0.5357 GB, free: 93.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03077/1.2, allocations: 13.54 MB / 0.5489 GB, free: 90.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006575/1.206, allocations: 6.772 MB / 0.5555 GB, free: 85.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/1.209, allocations: 1.365 MB / 0.5569 GB, free: 85.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008089/1.217, allocations: 3.614 MB / 0.5604 GB, free: 84.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.217, allocations: 54.27 kB / 0.5605 GB, free: 84.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.083e-06/1.217, allocations: 0 / 0.5605 GB, free: 84.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01215/1.229, allocations: 5.003 MB / 0.5653 GB, free: 82.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/1.23, allocations: 72.14 kB / 0.5654 GB, free: 82.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/1.233, allocations: 1.612 MB / 0.567 GB, free: 81.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/1.233, allocations: 51.95 kB / 0.567 GB, free: 81.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/1.234, allocations: 1.368 MB / 0.5684 GB, free: 80.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/1.234, allocations: 488.1 kB / 0.5688 GB, free: 79.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.234, allocations: 37.81 kB / 0.5689 GB, free: 79.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/1.234, allocations: 370.4 kB / 0.5692 GB, free: 79.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/1.236, allocations: 0.7148 MB / 0.5699 GB, free: 79.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.237, allocations: 1.155 MB / 0.5711 GB, free: 78.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/1.239, allocations: 0.9305 MB / 0.572 GB, free: 78.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.239, allocations: 3.969 kB / 0.572 GB, free: 78.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005309/1.245, allocations: 2.408 MB / 0.5743 GB, free: 77.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.245, allocations: 9.75 kB / 0.5743 GB, free: 77.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/1.245, allocations: 15.91 kB / 0.5743 GB, free: 77.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/1.246, allocations: 494.2 kB / 0.5748 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.248, allocations: 380.4 kB / 0.5752 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009448/1.258, allocations: 6.374 MB / 0.5814 GB, free: 72.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.26, allocations: 77.33 kB / 0.5815 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/1.26, allocations: 75.17 kB / 0.5815 GB, free: 72.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000352/1.26, allocations: 197.4 kB / 0.5817 GB, free: 72.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/1.261, allocations: 193.6 kB / 0.5819 GB, free: 72.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/1.266, allocations: 2.419 MB / 0.5843 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.266, allocations: 14.62 kB / 0.5843 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.266, allocations: 8.719 kB / 0.5843 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.266, allocations: 7.125 kB / 0.5843 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.276, allocations: 5.382 MB / 0.5896 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.276, allocations: 3.594 kB / 0.5896 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.278, allocations: 211.1 kB / 0.5898 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/1.279, allocations: 0.4951 MB / 0.5903 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.279, allocations: 32.89 kB / 0.5903 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.291, allocations: 10.42 MB / 0.6005 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-06/1.291, allocations: 7.031 kB / 0.6005 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.297, allocations: 3.524 MB / 0.6039 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.299, allocations: 459.3 kB / 0.6043 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/1.299, allocations: 26.97 kB / 0.6044 GB, free: 57.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.3, allocations: 71.17 kB / 0.6044 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/1.301, allocations: 113.5 kB / 0.6046 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.301, allocations: 41.98 kB / 0.6046 GB, free: 57.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002348/1.303, allocations: 1.232 MB / 0.6058 GB, free: 56.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.206e-06/1.303, allocations: 0 / 0.6058 GB, free: 56.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002697/1.306, allocations: 0.6269 MB / 0.6064 GB, free: 56.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006267/1.306, allocations: 410.3 kB / 0.6068 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004448/1.311, allocations: 2.226 MB / 0.609 GB, free: 55.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.396e-06/1.311, allocations: 6.062 kB / 0.609 GB, free: 55.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0029/1.314, allocations: 1.61 MB / 0.6105 GB, free: 54.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.317, allocations: 486.4 kB / 0.611 GB, free: 54.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.327, allocations: 4.805 MB / 0.6157 GB, free: 52.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/1.33, allocations: 2.378 MB / 0.618 GB, free: 51.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007701/1.331, allocations: 138.7 kB / 0.6182 GB, free: 51.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.269e-06/1.331, allocations: 0 / 0.6182 GB, free: 51.41 MB / 442.7 MB Notification: Performance of Templates: time 0.3655/1.696, allocations: 92.27 MB / 0.7083 GB, free: 104.4 MB / 458.7 MB