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 2.077/2.077, allocations: 224.7 MB / 241.1 MB, free: 1.645 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.618e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 50.42 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02333/0.1546, allocations: 10.05 MB / 355 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1672, allocations: 3.709 MB / 358.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.1699, allocations: 95.69 kB / 358.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.1738, allocations: 0.6487 MB / 359.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.18, allocations: 1.028 MB / 360.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.1833, allocations: 0.5456 MB / 361.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00785/0.1912, allocations: 2.151 MB / 363.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004967/0.1962, allocations: 1.658 MB / 364.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.1987, allocations: 0.9973 MB / 365.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.2019, allocations: 1.269 MB / 367.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2038, allocations: 287.8 kB / 367.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008091/0.2046, allocations: 124 kB / 367.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.2057, allocations: 0.6461 MB / 368.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.207, allocations: 292 kB / 368.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.2159, allocations: 5.489 MB / 374 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.216, allocations: 7.938 kB / 374 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.216, allocations: 3.938 kB / 374 MB, free: 11.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000202/0.2162, allocations: 0 / 374 MB, free: 11.83 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01411/0.2303, allocations: 3.465 MB / 377.4 MB, free: 8.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2304, allocations: 12.03 kB / 377.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.2377, allocations: 0.8154 MB / 378.3 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.2446, allocations: 2.323 MB / 380.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.245, allocations: 238.2 kB / 380.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.2461, allocations: 315.9 kB / 381.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.2603, allocations: 4.211 MB / 385.3 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.2605, allocations: 4 kB / 385.3 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008806/0.2614, allocations: 128 kB / 385.5 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.2616, allocations: 146.2 kB / 385.6 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.2744, allocations: 3.659 MB / 389.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.318/0.5925, allocations: 13.51 MB / 402.8 MB, free: 42.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.603, allocations: 6.822 MB / 409.6 MB, free: 36.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009615/0.6127, allocations: 3.194 MB / 412.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.6128, allocations: 49.52 kB / 412.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 4.609e-06/0.6128, allocations: 0 / 412.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.02991/0.6427, allocations: 6.724 MB / 419.6 MB, free: 32.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.6429, allocations: 67.06 kB / 419.6 MB, free: 32.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.6482, allocations: 1.602 MB / 421.2 MB, free: 31.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.6486, allocations: 52.33 kB / 421.3 MB, free: 31.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.65, allocations: 1.346 MB / 422.6 MB, free: 30.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008282/0.6509, allocations: 0.5049 MB / 423.1 MB, free: 30.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.6511, allocations: 31.84 kB / 423.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6513, allocations: 376.3 kB / 423.5 MB, free: 30.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/0.6543, allocations: 0.7733 MB / 424.3 MB, free: 29.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.6578, allocations: 1.223 MB / 425.5 MB, free: 28.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.6614, allocations: 0.9841 MB / 426.5 MB, free: 28.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.6615, allocations: 3.906 kB / 426.5 MB, free: 28.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.00981/0.6714, allocations: 2.559 MB / 429.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.6715, allocations: 16 kB / 429.1 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/0.6715, allocations: 11.25 kB / 429.1 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.6745, allocations: 499.2 kB / 429.6 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.6785, allocations: 393.7 kB / 430 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.6947, allocations: 6.504 MB / 436.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.6981, allocations: 80.73 kB / 436.6 MB, free: 21.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/0.6986, allocations: 67.31 kB / 436.6 MB, free: 21.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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,71.4%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003131/0.7017, allocations: 1.05 MB / 437.7 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006456/0.7024, allocations: 194.9 kB / 437.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/0.7096, allocations: 2.544 MB / 440.4 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.7097, allocations: 12 kB / 440.4 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.7097, allocations: 8 kB / 440.4 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/0.7098, allocations: 11.92 kB / 440.4 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.7247, allocations: 5.551 MB / 446 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.7248, allocations: 4 kB / 446 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.7269, allocations: 236.8 kB / 446.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.729, allocations: 491.4 kB / 446.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.7293, allocations: 39.94 kB / 446.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.7431, allocations: 10.58 MB / 457.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7431, allocations: 8 kB / 457.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.7539, allocations: 3.718 MB / 461 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.7557, allocations: 458.6 kB / 461.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/0.7566, allocations: 28 kB / 461.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/0.7588, allocations: 75.94 kB / 461.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/0.7594, allocations: 113.1 kB / 461.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/0.7597, allocations: 43.98 kB / 461.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0036/0.7633, allocations: 1.239 MB / 463 MB, free: 11.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.7633, allocations: 3.938 kB / 463 MB, free: 11.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003613/0.7669, allocations: 0.5846 MB / 463.6 MB, free: 10.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 101 * 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%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006237/0.7676, allocations: 161.9 kB / 463.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007502/0.7751, allocations: 2.424 MB / 466.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.7752, allocations: 0 / 466.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00477/0.78, allocations: 1.751 MB / 467.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/0.784, allocations: 484.9 kB / 468.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.8026, allocations: 7.11 MB / 475.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/0.8069, allocations: 2.379 MB / 477.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009908/0.808, allocations: 139.4 kB / 478 MB, free: 11.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.808, allocations: 0 / 478 MB, free: 11.86 MB / 362.7 MB Notification: Performance of Templates: time 0.1704/0.9785, allocations: 91.4 MB / 0.5561 GB, free: 0.5117 MB / 442.7 MB