Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.908e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.08967, allocations: 50.41 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5199, allocations: 102.7 MB / 445.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5202, allocations: 81.2 kB / 445.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1623/0.6825, allocations: 40.29 MB / 485.6 MB, free: 3.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.6825, allocations: 0 / 485.6 MB, free: 3.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.6827, allocations: 55.88 kB / 485.7 MB, free: 3.719 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004585/0.6873, allocations: 1.933 MB / 487.6 MB, free: 1.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6874, allocations: 12.86 kB / 487.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.6883, allocations: 253.2 kB / 487.9 MB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.6917, allocations: 1.356 MB / 489.2 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.6919, allocations: 143.6 kB / 489.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.6923, allocations: 176 kB / 489.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.6975, allocations: 2.267 MB / 491.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/0.6976, allocations: 11.89 kB / 491.8 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.6978, allocations: 72 kB / 491.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.698, allocations: 83.52 kB / 492 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.7022, allocations: 1.756 MB / 493.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.7178, allocations: 7.175 MB / 0.4892 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.7203, allocations: 1.259 MB / 0.4904 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.7219, allocations: 0.6871 MB / 0.4911 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.7223, allocations: 145.7 kB / 0.4912 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7224, allocations: 39.34 kB / 0.4913 GB, free: 1.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 4.36e-06/0.7224, allocations: 0 / 0.4913 GB, free: 1.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.01886/0.7413, allocations: 5.965 MB / 0.4971 GB, free: 11.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.7414, allocations: 64.41 kB / 0.4971 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.7436, allocations: 1.038 MB / 0.4982 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.7438, allocations: 45.7 kB / 0.4982 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.7446, allocations: 0.836 MB / 0.499 GB, free: 9.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000485/0.7451, allocations: 398.2 kB / 0.4994 GB, free: 9.441 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.7452, allocations: 28 kB / 0.4994 GB, free: 9.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.7455, allocations: 362.8 kB / 0.4998 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.7469, allocations: 0.6351 MB / 0.5004 GB, free: 8.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.7486, allocations: 0.9321 MB / 0.5013 GB, free: 7.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.7503, allocations: 0.7856 MB / 0.5021 GB, free: 6.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.7504, allocations: 4 kB / 0.5021 GB, free: 6.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005393/0.7558, allocations: 2.23 MB / 0.5042 GB, free: 4.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.7558, allocations: 11.95 kB / 0.5043 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.7559, allocations: 19.94 kB / 0.5043 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.7581, allocations: 0.634 MB / 0.5049 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7597, allocations: 287.6 kB / 0.5052 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.7706, allocations: 6.298 MB / 0.5113 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7722, allocations: 91.97 kB / 0.5114 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.7723, allocations: 52 kB / 0.5115 GB, free: 12.66 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.7727, allocations: 180.6 kB / 0.5116 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.7731, allocations: 138.3 kB / 0.5118 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.7784, allocations: 2.193 MB / 0.5139 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7784, allocations: 12 kB / 0.5139 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.7785, allocations: 8 kB / 0.5139 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.7785, allocations: 3.984 kB / 0.5139 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.7889, allocations: 4.375 MB / 0.5182 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.789, allocations: 8.031 kB / 0.5182 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.79, allocations: 175.9 kB / 0.5184 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.7927, allocations: 0.7169 MB / 0.5191 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7929, allocations: 31.98 kB / 0.5191 GB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2543/1.047, allocations: 8.008 MB / 0.5269 GB, free: 120 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-06/1.047, allocations: 6 kB / 0.5269 GB, free: 120 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/1.054, allocations: 3.28 MB / 0.5301 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/1.055, allocations: 361.6 kB / 0.5305 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/1.056, allocations: 32.83 kB / 0.5305 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.057, allocations: 82.58 kB / 0.5306 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.057, allocations: 105.8 kB / 0.5307 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.057, allocations: 33.8 kB / 0.5307 GB, free: 119.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001549/1.059, allocations: 0.7941 MB / 0.5315 GB, free: 119.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.94e-07/1.059, allocations: 0 / 0.5315 GB, free: 119.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002014/1.061, allocations: 479.6 kB / 0.532 GB, free: 119.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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 {(5,84.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006148/1.061, allocations: 307.1 kB / 0.5322 GB, free: 119.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004363/1.066, allocations: 2.167 MB / 0.5344 GB, free: 118.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.139e-06/1.066, allocations: 2.969 kB / 0.5344 GB, free: 118.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003128/1.069, allocations: 1.477 MB / 0.5358 GB, free: 118.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.071, allocations: 355.3 kB / 0.5361 GB, free: 118.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/1.079, allocations: 3.327 MB / 0.5394 GB, free: 117.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.081, allocations: 1.674 MB / 0.541 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/1.082, allocations: 101.7 kB / 0.5411 GB, free: 116.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.533e-06/1.082, allocations: 0 / 0.5411 GB, free: 116.8 MB / 442.7 MB Notification: Performance of Templates: time 0.06569/1.147, allocations: 57.23 MB / 0.597 GB, free: 89.69 MB / 442.7 MB