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 2.145/2.145, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.009e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.42 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01696/0.1297, allocations: 10.01 MB / 355 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.1397, allocations: 3.697 MB / 358.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.1421, allocations: 87.75 kB / 358.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.1452, allocations: 0.6642 MB / 359.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.1502, allocations: 1.008 MB / 360.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.153, allocations: 0.5494 MB / 361 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006172/0.1592, allocations: 2.101 MB / 363.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.163, allocations: 1.659 MB / 364.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.1655, allocations: 0.974 MB / 365.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.1685, allocations: 1.238 MB / 367 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.1705, allocations: 283.8 kB / 367.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000763/0.1713, allocations: 120 kB / 367.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009739/0.1723, allocations: 0.611 MB / 368 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1734, allocations: 288 kB / 368.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.1825, allocations: 5.36 MB / 373.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1826, allocations: 3.938 kB / 373.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1826, allocations: 0 / 373.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002346/0.1828, allocations: 0 / 373.6 MB, free: 12.19 MB / 314.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.01478/0.1976, allocations: 3.422 MB / 377 MB, free: 8.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1977, allocations: 8.031 kB / 377.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00737/0.2051, allocations: 0.8038 MB / 377.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/0.2122, allocations: 2.243 MB / 380.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/0.2127, allocations: 234.2 kB / 380.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.214, allocations: 319.8 kB / 380.6 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.2289, allocations: 4.184 MB / 384.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.2291, allocations: 7.906 kB / 384.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008927/0.23, allocations: 124 kB / 385 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.2302, allocations: 154.3 kB / 385.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.2429, allocations: 3.605 MB / 388.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3232/0.5662, allocations: 13.19 MB / 401.9 MB, free: 42.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.5773, allocations: 6.858 MB / 408.8 MB, free: 37.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008906/0.5863, allocations: 3.155 MB / 411.9 MB, free: 36.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.5864, allocations: 50.2 kB / 412 MB, free: 36.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 4.108e-06/0.5864, allocations: 0 / 412 MB, free: 36.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.02034/0.6067, allocations: 5.728 MB / 417.7 MB, free: 33.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.6068, allocations: 69.47 kB / 417.8 MB, free: 33.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.6104, allocations: 1.451 MB / 419.2 MB, free: 32.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.6108, allocations: 53.61 kB / 419.3 MB, free: 32.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009689/0.6117, allocations: 1.323 MB / 420.6 MB, free: 31.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.6123, allocations: 474.8 kB / 421.1 MB, free: 31.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.6125, allocations: 27.94 kB / 421.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6126, allocations: 375.4 kB / 421.4 MB, free: 31.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.6145, allocations: 0.6781 MB / 422.1 MB, free: 30.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.6166, allocations: 1.126 MB / 423.3 MB, free: 30.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.6189, allocations: 0.8833 MB / 424.1 MB, free: 29.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.619, allocations: 5.062 kB / 424.1 MB, free: 29.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006121/0.6251, allocations: 2.28 MB / 426.4 MB, free: 28.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.6252, allocations: 11.69 kB / 426.4 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.6252, allocations: 16.94 kB / 426.4 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.6263, allocations: 266.1 kB / 426.7 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.629, allocations: 377.4 kB / 427.1 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.6359, allocations: 5.745 MB / 432.8 MB, free: 23.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6381, allocations: 78.55 kB / 432.9 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.6385, allocations: 70.88 kB / 433 MB, free: 23.49 MB / 330.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 (186): * Single equations (assignments): 182 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002579/0.641, allocations: 1.001 MB / 434 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.6416, allocations: 179.4 kB / 434.1 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005793/0.6475, allocations: 2.259 MB / 436.4 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.6475, allocations: 11.84 kB / 436.4 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.6475, allocations: 7.906 kB / 436.4 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.6476, allocations: 3.984 kB / 436.4 MB, free: 21.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.66, allocations: 5.06 MB / 441.5 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.6601, allocations: 4 kB / 441.5 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.6617, allocations: 192 kB / 441.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.6635, allocations: 450.4 kB / 442.1 MB, free: 16.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.6637, allocations: 39.98 kB / 442.2 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.6761, allocations: 10.18 MB / 452.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.6761, allocations: 7.969 kB / 452.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007532/0.6837, allocations: 3.315 MB / 455.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.685, allocations: 410.7 kB / 456.1 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.6856, allocations: 35.98 kB / 456.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.6872, allocations: 71.95 kB / 456.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.6875, allocations: 113 kB / 456.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6876, allocations: 36 kB / 456.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00223/0.6899, allocations: 1.123 MB / 457.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6899, allocations: 0 / 457.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002855/0.6928, allocations: 0.5469 MB / 458 MB, free: 300 kB / 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.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.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 91 * 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%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004293/0.6932, allocations: 167 kB / 458.1 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005698/0.699, allocations: 2.16 MB / 460.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.699, allocations: 4 kB / 460.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004128/0.7032, allocations: 1.589 MB / 461.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.7069, allocations: 478.1 kB / 462.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.7234, allocations: 6.676 MB / 469 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/0.7269, allocations: 2.294 MB / 471.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008381/0.7278, allocations: 135.3 kB / 471.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7278, allocations: 0 / 471.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of Templates: time 0.4775/1.205, allocations: 102.2 MB / 0.5602 GB, free: 146.4 MB / 442.7 MB