Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.144e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.43 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.52, allocations: 109.1 MB / 451.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5204, allocations: 96.31 kB / 451.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2863/0.8067, allocations: 79.63 MB / 0.519 GB, free: 5.492 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.8068, allocations: 0 / 0.519 GB, free: 5.492 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002861/0.8071, allocations: 75.88 kB / 0.519 GB, free: 5.418 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01175/0.8188, allocations: 3.178 MB / 0.5221 GB, free: 2.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.8189, allocations: 12.03 kB / 0.5222 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.8245, allocations: 0.7141 MB / 0.5229 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2657/1.09, allocations: 3.287 MB / 0.5261 GB, free: 93.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/1.091, allocations: 236.7 kB / 0.5263 GB, free: 93.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/1.092, allocations: 313.1 kB / 0.5266 GB, free: 93.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.102, allocations: 4.01 MB / 0.5305 GB, free: 93.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.102, allocations: 8.422 kB / 0.5305 GB, free: 93.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/1.103, allocations: 131.5 kB / 0.5306 GB, free: 93.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/1.103, allocations: 140.3 kB / 0.5308 GB, free: 93.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009013/1.112, allocations: 3.249 MB / 0.5339 GB, free: 93.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/1.14, allocations: 13.22 MB / 0.5469 GB, free: 90.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/1.148, allocations: 6.796 MB / 0.5535 GB, free: 85.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/1.151, allocations: 1.318 MB / 0.5548 GB, free: 85.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008134/1.159, allocations: 3.724 MB / 0.5584 GB, free: 84.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.159, allocations: 50.66 kB / 0.5585 GB, free: 84.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.53e-06/1.159, allocations: 0 / 0.5585 GB, free: 84.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.008445/1.168, allocations: 3.827 MB / 0.5622 GB, free: 82.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.168, allocations: 64.19 kB / 0.5623 GB, free: 82.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.17, allocations: 1.473 MB / 0.5637 GB, free: 82.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.171, allocations: 47.77 kB / 0.5637 GB, free: 82.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/1.171, allocations: 1.355 MB / 0.5651 GB, free: 81.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/1.172, allocations: 422.6 kB / 0.5655 GB, free: 80.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.172, allocations: 27.81 kB / 0.5655 GB, free: 80.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.172, allocations: 373.3 kB / 0.5659 GB, free: 80.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.173, allocations: 0.6006 MB / 0.5664 GB, free: 80.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.175, allocations: 1.049 MB / 0.5675 GB, free: 79.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.176, allocations: 0.8042 MB / 0.5683 GB, free: 79.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.177, allocations: 3.625 kB / 0.5683 GB, free: 79.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00431/1.181, allocations: 2.065 MB / 0.5703 GB, free: 78.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.181, allocations: 9.688 kB / 0.5703 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.181, allocations: 14.66 kB / 0.5703 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008544/1.182, allocations: 266.4 kB / 0.5706 GB, free: 78.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.184, allocations: 357.8 kB / 0.5709 GB, free: 78.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/1.19, allocations: 5.68 MB / 0.5764 GB, free: 73.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.192, allocations: 76.19 kB / 0.5765 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/1.192, allocations: 70.12 kB / 0.5766 GB, free: 73.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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): 174 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003565/1.192, allocations: 200.8 kB / 0.5768 GB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/1.193, allocations: 177.9 kB / 0.5769 GB, free: 73.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/1.197, allocations: 2.038 MB / 0.5789 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.197, allocations: 11.09 kB / 0.5789 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.197, allocations: 10.22 kB / 0.579 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/1.197, allocations: 7.266 kB / 0.579 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009462/1.206, allocations: 4.701 MB / 0.5835 GB, free: 69.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.206, allocations: 3.688 kB / 0.5836 GB, free: 69.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/1.207, allocations: 173 kB / 0.5837 GB, free: 69.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/1.209, allocations: 450.9 kB / 0.5841 GB, free: 69.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.209, allocations: 34.72 kB / 0.5842 GB, free: 69.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/1.22, allocations: 10.04 MB / 0.594 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-06/1.22, allocations: 0 / 0.594 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/1.226, allocations: 2.957 MB / 0.5969 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.227, allocations: 404.5 kB / 0.5973 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.227, allocations: 29.94 kB / 0.5973 GB, free: 59.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.229, allocations: 77.58 kB / 0.5974 GB, free: 59.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.229, allocations: 98.98 kB / 0.5975 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.229, allocations: 36.22 kB / 0.5975 GB, free: 59.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00235/1.231, allocations: 1.122 MB / 0.5986 GB, free: 58.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.015e-06/1.231, allocations: 0 / 0.5986 GB, free: 58.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003093/1.234, allocations: 0.5729 MB / 0.5991 GB, free: 58.77 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007092/1.235, allocations: 432.2 kB / 0.5996 GB, free: 58.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00345/1.239, allocations: 1.929 MB / 0.6014 GB, free: 57.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.235e-06/1.239, allocations: 3.938 kB / 0.6014 GB, free: 57.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.241, allocations: 1.424 MB / 0.6028 GB, free: 56.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.244, allocations: 472.9 kB / 0.6033 GB, free: 56.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/1.254, allocations: 4.388 MB / 0.6076 GB, free: 54.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/1.257, allocations: 2.282 MB / 0.6098 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/1.258, allocations: 133.4 kB / 0.6099 GB, free: 53.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.862e-06/1.258, allocations: 0 / 0.6099 GB, free: 53.58 MB / 442.7 MB Notification: Performance of Templates: time 0.3786/1.636, allocations: 102.9 MB / 0.7104 GB, free: 104.9 MB / 458.7 MB