Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.668e-05, allocations: 7.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2926, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01762/0.3103, allocations: 10.82 MB / 314.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009864/0.3202, allocations: 3.869 MB / 318 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.3225, allocations: 91.69 kB / 318.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.3256, allocations: 0.7031 MB / 318.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.3307, allocations: 1.09 MB / 319.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.3336, allocations: 0.5971 MB / 320.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006728/0.3404, allocations: 2.479 MB / 323 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003985/0.3444, allocations: 1.895 MB / 324.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.3472, allocations: 1.177 MB / 326.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.3508, allocations: 1.491 MB / 327.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.3529, allocations: 295.8 kB / 327.8 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008558/0.3538, allocations: 148 kB / 328 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.3549, allocations: 0.7629 MB / 328.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.3562, allocations: 344 kB / 329.1 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009787/0.366, allocations: 6.295 MB / 335.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3661, allocations: 0 / 335.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3661, allocations: 0 / 335.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002033/0.3663, allocations: 0 / 335.4 MB, free: 13.47 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01514/0.3815, allocations: 3.96 MB / 339.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3815, allocations: 16.03 kB / 339.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/0.3889, allocations: 0.8732 MB / 340.2 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.3962, allocations: 2.526 MB / 342.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.3966, allocations: 279.2 kB / 343 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.3978, allocations: 367.9 kB / 343.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.4125, allocations: 4.982 MB / 348.4 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4126, allocations: 3.906 kB / 348.4 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000554/0.4132, allocations: 152 kB / 348.5 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.4135, allocations: 163.2 kB / 348.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.4271, allocations: 4.377 MB / 353 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04053/0.4677, allocations: 15.94 MB / 369 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/0.4828, allocations: 7.735 MB / 376.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02753/0.5104, allocations: 4.012 MB / 380.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/0.5106, allocations: 55.88 kB / 380.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 6.482e-06/0.5106, allocations: 0 / 380.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=168): time 0.05899/0.5696, allocations: 8.189 MB / 389 MB, free: 6.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.5697, allocations: 69.41 kB / 389 MB, free: 5.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005948/0.5757, allocations: 1.867 MB / 390.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003531/0.5761, allocations: 53.7 kB / 391 MB, free: 4.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.5779, allocations: 1.604 MB / 392.6 MB, free: 2.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007554/0.5786, allocations: 0.5661 MB / 393.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5788, allocations: 40 kB / 393.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.5791, allocations: 381.8 kB / 393.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.5819, allocations: 0.9643 MB / 394.5 MB, free: 464 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.585, allocations: 1.451 MB / 396 MB, free: 14.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.5882, allocations: 1.185 MB / 397.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.5883, allocations: 11.94 kB / 397.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009346/0.5976, allocations: 3.375 MB / 400.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.5977, allocations: 16 kB / 400.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5977, allocations: 19.94 kB / 400.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/0.6008, allocations: 0.7315 MB / 401.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.6037, allocations: 383.4 kB / 401.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/0.6217, allocations: 10.62 MB / 412.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.6242, allocations: 96.05 kB / 412.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.6245, allocations: 76 kB / 412.5 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * 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: 4 * 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: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003012/0.6275, allocations: 1.206 MB / 413.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000646/0.6282, allocations: 237.2 kB / 413.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009078/0.6373, allocations: 3.223 MB / 417.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.6373, allocations: 23.92 kB / 417.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.6374, allocations: 15.98 kB / 417.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.6374, allocations: 11.92 kB / 417.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.655, allocations: 6.627 MB / 423.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.6551, allocations: 0 / 423.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.6569, allocations: 187.8 kB / 424 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/0.661, allocations: 0.9068 MB / 424.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003328/0.6614, allocations: 43.98 kB / 424.9 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2752/0.9366, allocations: 15.04 MB / 440 MB, free: 93.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.9366, allocations: 3.953 kB / 440 MB, free: 93.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.9478, allocations: 4.709 MB / 444.7 MB, free: 91.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.9494, allocations: 0.5232 MB / 445.2 MB, free: 91.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000757/0.9502, allocations: 34.97 kB / 445.2 MB, free: 91.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.9522, allocations: 90.84 kB / 445.3 MB, free: 91.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005838/0.9528, allocations: 159.6 kB / 445.5 MB, free: 91.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.953, allocations: 51.64 kB / 445.5 MB, free: 91.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003042/0.9561, allocations: 1.434 MB / 447 MB, free: 90.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.9561, allocations: 0 / 447 MB, free: 90.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003478/0.9596, allocations: 0.7056 MB / 447.7 MB, free: 90.71 MB / 362.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(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.0005417/0.9602, allocations: 168.9 kB / 447.8 MB, free: 90.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007271/0.9675, allocations: 3.172 MB / 451 MB, free: 88.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.9675, allocations: 0 / 451 MB, free: 88.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005208/0.9727, allocations: 2.289 MB / 453.3 MB, free: 85.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/0.9771, allocations: 0.5818 MB / 453.9 MB, free: 85.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.9937, allocations: 8.192 MB / 462.1 MB, free: 77.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/0.9972, allocations: 2.747 MB / 464.8 MB, free: 74.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002654/0.9999, allocations: 475.4 kB / 465.3 MB, free: 73.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006732/1.001, allocations: 139.4 kB / 465.4 MB, free: 73.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/1.001, allocations: 0 / 465.4 MB, free: 73.79 MB / 362.7 MB Notification: Performance of Templates: time 0.08942/1.09, allocations: 35.03 MB / 0.4887 GB, free: 38.75 MB / 362.7 MB