Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.855e-05, allocations: 7.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01723/0.3056, allocations: 10.13 MB / 313.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.3152, allocations: 3.659 MB / 317.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.3171, allocations: 87.75 kB / 317.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.3198, allocations: 0.6525 MB / 317.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.3243, allocations: 1.016 MB / 318.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.3268, allocations: 0.5609 MB / 319.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.3326, allocations: 2.179 MB / 321.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.3358, allocations: 1.611 MB / 323.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.3381, allocations: 1.005 MB / 324.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.341, allocations: 1.285 MB / 325.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.3424, allocations: 279.8 kB / 325.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006073/0.343, allocations: 128 kB / 325.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008924/0.3439, allocations: 0.6422 MB / 326.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.345, allocations: 292 kB / 326.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008275/0.3533, allocations: 5.485 MB / 332.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3534, allocations: 0 / 332.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3534, allocations: 0 / 332.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.3536, allocations: 0 / 332.3 MB, free: 0.4922 MB / 266.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.01355/0.3671, allocations: 3.469 MB / 335.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3672, allocations: 8.031 kB / 335.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006952/0.3742, allocations: 0.8193 MB / 336.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006403/0.3806, allocations: 2.218 MB / 338.8 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.3809, allocations: 238.2 kB / 339.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008551/0.3818, allocations: 311.9 kB / 339.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.3945, allocations: 4.211 MB / 343.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-05/0.3946, allocations: 0 / 343.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004908/0.3951, allocations: 132 kB / 343.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.3954, allocations: 146.2 kB / 343.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.4069, allocations: 3.647 MB / 347.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03443/0.4414, allocations: 13.53 MB / 361 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.4521, allocations: 6.814 MB / 367.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008393/0.4605, allocations: 3.195 MB / 371 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.4606, allocations: 59.86 kB / 371.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.92e-06/0.4606, allocations: 0 / 371.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.02217/0.4828, allocations: 6.728 MB / 377.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4829, allocations: 72.72 kB / 377.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.4866, allocations: 1.604 MB / 379.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003103/0.487, allocations: 49.7 kB / 379.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.4884, allocations: 1.408 MB / 381 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006591/0.4891, allocations: 0.5045 MB / 381.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4893, allocations: 36 kB / 381.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4895, allocations: 373.9 kB / 381.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.4917, allocations: 0.773 MB / 382.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.4942, allocations: 1.218 MB / 383.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.4968, allocations: 0.9863 MB / 384.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.4969, allocations: 7.938 kB / 384.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007636/0.5045, allocations: 2.679 MB / 387.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.5046, allocations: 15.95 kB / 387.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5046, allocations: 12 kB / 387.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.5069, allocations: 0.4935 MB / 388 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.5099, allocations: 395.4 kB / 388.4 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.5233, allocations: 6.532 MB / 395 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.5255, allocations: 83.81 kB / 395 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.5258, allocations: 71.98 kB / 395.1 MB, free: 15.41 MB / 346.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,69.4%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002552/0.5284, allocations: 1.04 MB / 396.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/0.5289, allocations: 197.7 kB / 396.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/0.536, allocations: 2.539 MB / 398.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.536, allocations: 16 kB / 398.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.5361, allocations: 8 kB / 398.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.5361, allocations: 7.969 kB / 398.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.5501, allocations: 5.559 MB / 404.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5501, allocations: 0 / 404.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.5522, allocations: 239.9 kB / 404.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.5544, allocations: 491.9 kB / 405.2 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.5546, allocations: 39.98 kB / 405.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/0.5702, allocations: 10.55 MB / 415.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5703, allocations: 0 / 415.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/0.5797, allocations: 3.728 MB / 419.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.5811, allocations: 458.6 kB / 420 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/0.5816, allocations: 31.95 kB / 420 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.5832, allocations: 79.94 kB / 420.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.5836, allocations: 109.2 kB / 420.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.5838, allocations: 43.98 kB / 420.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002872/0.5867, allocations: 1.239 MB / 421.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5867, allocations: 384 / 421.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002966/0.5897, allocations: 0.5861 MB / 422 MB, free: 3.449 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.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.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.0004452/0.5902, allocations: 163.7 kB / 422.2 MB, free: 3.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006784/0.5969, allocations: 2.422 MB / 424.6 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.597, allocations: 0.9375 kB / 424.6 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.244/0.841, allocations: 1.737 MB / 426.4 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/0.8449, allocations: 489.3 kB / 426.8 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.8602, allocations: 7.15 MB / 434 MB, free: 101.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.8628, allocations: 2.424 MB / 436.4 MB, free: 100.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002442/0.8652, allocations: 416.7 kB / 436.8 MB, free: 100.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/0.8659, allocations: 132.9 kB / 436.9 MB, free: 100.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.8659, allocations: 0 / 436.9 MB, free: 100.7 MB / 362.7 MB Notification: Performance of Templates: time 0.07241/0.9383, allocations: 28.2 MB / 465.1 MB, free: 75.71 MB / 362.7 MB