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 2.061/2.061, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.597e-05, allocations: 8 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01187/0.1265, allocations: 6.965 MB / 351.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.1332, allocations: 2.503 MB / 354.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.1346, allocations: 55.81 kB / 354.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.1364, allocations: 445.3 kB / 354.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.1392, allocations: 0.5412 MB / 355.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1402, allocations: 191.8 kB / 355.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.1432, allocations: 1.092 MB / 356.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.145, allocations: 0.9535 MB / 357.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1463, allocations: 0.5727 MB / 358.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.148, allocations: 0.8099 MB / 359.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.1488, allocations: 135.9 kB / 359.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.1491, allocations: 72 kB / 359.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007928/0.1499, allocations: 0.4984 MB / 359.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.1506, allocations: 184 kB / 360 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.1547, allocations: 2.781 MB / 362.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1548, allocations: 0 / 362.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.018e-06/0.1548, allocations: 3.938 kB / 362.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.954e-05/0.1549, allocations: 0 / 362.8 MB, free: 7.102 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006201/0.1611, allocations: 1.957 MB / 364.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1612, allocations: 8.031 kB / 364.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1624, allocations: 253.3 kB / 365 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.1662, allocations: 1.239 MB / 366.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.1664, allocations: 139.5 kB / 366.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000573/0.167, allocations: 183.9 kB / 366.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.1743, allocations: 2.351 MB / 368.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.38e-05/0.1744, allocations: 8 kB / 368.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.1747, allocations: 72 kB / 369 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.1749, allocations: 95.5 kB / 369.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006638/0.1815, allocations: 1.962 MB / 371 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.2012, allocations: 7.144 MB / 378.2 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.2045, allocations: 1.273 MB / 379.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.2049, allocations: 126 kB / 379.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.2049, allocations: 47.5 kB / 379.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 4.077e-06/0.205, allocations: 0 / 379.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=107): time 0.02731/0.2323, allocations: 6.78 MB / 386.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.2324, allocations: 60.41 kB / 386.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.2348, allocations: 1.037 MB / 387.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.2351, allocations: 41.7 kB / 387.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.2359, allocations: 0.8436 MB / 388.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.2365, allocations: 374.6 kB / 388.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2366, allocations: 28 kB / 388.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2368, allocations: 366.7 kB / 389.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.2388, allocations: 0.6584 MB / 389.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.241, allocations: 0.958 MB / 390.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.2434, allocations: 0.8033 MB / 391.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.2435, allocations: 4 kB / 391.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007086/0.2506, allocations: 2.265 MB / 393.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.2507, allocations: 8 kB / 393.8 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.2507, allocations: 16.25 kB / 393.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.2533, allocations: 0.5946 MB / 394.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.2554, allocations: 271.5 kB / 394.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2931/0.5485, allocations: 6.416 MB / 401.1 MB, free: 47.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5505, allocations: 94.98 kB / 401.2 MB, free: 47.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.5508, allocations: 49.08 kB / 401.2 MB, free: 47.9 MB / 330.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 (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001926/0.5527, allocations: 0.5994 MB / 401.8 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/0.5532, allocations: 134.8 kB / 402 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007304/0.5605, allocations: 2.178 MB / 404.1 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.5606, allocations: 11.28 kB / 404.2 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.5607, allocations: 5.312 kB / 404.2 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-05/0.5607, allocations: 5.438 kB / 404.2 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.5742, allocations: 4.29 MB / 408.5 MB, free: 45.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.5742, allocations: 2.375 kB / 408.5 MB, free: 45.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.5758, allocations: 176.6 kB / 408.6 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/0.5791, allocations: 0.6629 MB / 409.3 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.5794, allocations: 30.31 kB / 409.3 MB, free: 45.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.5925, allocations: 7.924 MB / 417.3 MB, free: 40.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5926, allocations: 3.938 kB / 417.3 MB, free: 40.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008202/0.6008, allocations: 3.221 MB / 420.5 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6019, allocations: 347.8 kB / 420.8 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.6023, allocations: 24.75 kB / 420.8 MB, free: 38.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.6038, allocations: 81.38 kB / 420.9 MB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.6042, allocations: 95.12 kB / 421 MB, free: 38.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6043, allocations: 35.17 kB / 421 MB, free: 38.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001599/0.6059, allocations: 0.7946 MB / 421.8 MB, free: 38.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6059, allocations: 0 / 421.8 MB, free: 38.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002153/0.6081, allocations: 424.6 kB / 422.3 MB, free: 38.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * 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): 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,76.0%) 20,(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.000462/0.6086, allocations: 158.5 kB / 422.4 MB, free: 38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.6141, allocations: 2.229 MB / 424.6 MB, free: 36.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6142, allocations: 2.625 kB / 424.6 MB, free: 36.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.618, allocations: 1.491 MB / 426.1 MB, free: 35.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.6208, allocations: 349.6 kB / 426.5 MB, free: 35.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/0.6303, allocations: 4.716 MB / 431.2 MB, free: 30.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.6317, allocations: 1.657 MB / 432.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.6324, allocations: 99.42 kB / 432.9 MB, free: 28.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6324, allocations: 0 / 432.9 MB, free: 28.46 MB / 330.7 MB Notification: Performance of Templates: time 0.09346/0.7259, allocations: 56.07 MB / 489 MB, free: 4.398 MB / 362.7 MB