Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.511e-05, allocations: 0 / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0759/0.07594, allocations: 44.51 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4419, allocations: 113.1 MB / 413 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4422, allocations: 89.53 kB / 413.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7277/1.17, allocations: 133.5 MB / 0.5338 GB, free: 52.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.15e-06/1.17, allocations: 0 / 0.5338 GB, free: 52.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006042/1.171, allocations: 124.2 kB / 0.5339 GB, free: 52.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.0237/1.194, allocations: 4.773 MB / 0.5385 GB, free: 50.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.194, allocations: 7.906 kB / 0.5385 GB, free: 50.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/1.205, allocations: 0.9709 MB / 0.5395 GB, free: 50.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.227, allocations: 4.481 MB / 0.5439 GB, free: 49.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/1.227, allocations: 371.2 kB / 0.5442 GB, free: 49.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/1.229, allocations: 481.9 kB / 0.5447 GB, free: 49.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/1.244, allocations: 6.553 MB / 0.5511 GB, free: 48.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/1.244, allocations: 10.75 kB / 0.5511 GB, free: 48.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007186/1.245, allocations: 204.2 kB / 0.5513 GB, free: 48.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/1.245, allocations: 236.4 kB / 0.5515 GB, free: 48.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/1.26, allocations: 5.348 MB / 0.5567 GB, free: 48.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04076/1.3, allocations: 21 MB / 0.5772 GB, free: 41.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009407/1.31, allocations: 9.794 MB / 0.5868 GB, free: 32.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/1.314, allocations: 2.409 MB / 0.5892 GB, free: 31.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/1.328, allocations: 6.501 MB / 0.5955 GB, free: 28.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.328, allocations: 62.75 kB / 0.5956 GB, free: 28.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 5.685e-06/1.328, allocations: 0 / 0.5956 GB, free: 28.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.01588/1.344, allocations: 7.259 MB / 0.6027 GB, free: 25.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.344, allocations: 75.28 kB / 0.6027 GB, free: 25.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005377/1.349, allocations: 2.614 MB / 0.6053 GB, free: 24.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004346/1.35, allocations: 63.58 kB / 0.6053 GB, free: 24.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.351, allocations: 2.163 MB / 0.6075 GB, free: 22.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/1.352, allocations: 0.7536 MB / 0.6082 GB, free: 21.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/1.352, allocations: 51.72 kB / 0.6082 GB, free: 21.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/1.352, allocations: 407.8 kB / 0.6086 GB, free: 21.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.355, allocations: 1.205 MB / 0.6098 GB, free: 20.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/1.358, allocations: 1.759 MB / 0.6115 GB, free: 19.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/1.361, allocations: 1.512 MB / 0.613 GB, free: 19.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/1.361, allocations: 6.156 kB / 0.613 GB, free: 19.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008758/1.369, allocations: 3.994 MB / 0.6169 GB, free: 16.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/1.37, allocations: 12 kB / 0.6169 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/1.37, allocations: 16 kB / 0.6169 GB, free: 16.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/1.372, allocations: 0.6507 MB / 0.6176 GB, free: 16.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/1.375, allocations: 0.5485 MB / 0.6181 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.389, allocations: 9.985 MB / 0.6279 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.393, allocations: 106.9 kB / 0.628 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/1.393, allocations: 100 kB / 0.6281 GB, free: 5.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005517/1.394, allocations: 258.8 kB / 0.6283 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/1.394, allocations: 312.2 kB / 0.6286 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007378/1.402, allocations: 3.782 MB / 0.6323 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.402, allocations: 20 kB / 0.6323 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.402, allocations: 12 kB / 0.6323 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/1.402, allocations: 13.83 kB / 0.6323 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.423, allocations: 8.517 MB / 0.6407 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.423, allocations: 0 / 0.6407 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/1.425, allocations: 345.2 kB / 0.641 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/1.428, allocations: 0.8149 MB / 0.6418 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/1.428, allocations: 55.84 kB / 0.6418 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/1.45, allocations: 14.36 MB / 0.6559 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.45, allocations: 7.953 kB / 0.6559 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.463, allocations: 5.657 MB / 0.6614 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.466, allocations: 0.692 MB / 0.6621 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.467, allocations: 55.23 kB / 0.6621 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/1.469, allocations: 119.3 kB / 0.6622 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006925/1.47, allocations: 197.2 kB / 0.6624 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.47, allocations: 65.48 kB / 0.6625 GB, free: 6.105 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004773/1.475, allocations: 2.002 MB / 0.6644 GB, free: 4.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.331e-06/1.475, allocations: 0 / 0.6644 GB, free: 4.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005104/1.48, allocations: 0.9794 MB / 0.6654 GB, free: 3.324 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/1.481, allocations: 494.5 kB / 0.6659 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2815/1.763, allocations: 3.657 MB / 0.6694 GB, free: 76.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.45e-06/1.763, allocations: 3.531 kB / 0.6694 GB, free: 76.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005013/1.768, allocations: 2.489 MB / 0.6719 GB, free: 75.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.773, allocations: 0.8597 MB / 0.6727 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.797, allocations: 7.731 MB / 0.6803 GB, free: 74.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004822/1.801, allocations: 3.518 MB / 0.6837 GB, free: 73.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00372/1.805, allocations: 0.7418 MB / 0.6844 GB, free: 73.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/1.806, allocations: 193.5 kB / 0.6846 GB, free: 73.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/1.806, allocations: 3.938 kB / 0.6846 GB, free: 73.39 MB / 426.7 MB Notification: Performance of Templates: time 0.1605/1.967, allocations: 51 MB / 0.7344 GB, free: 70.44 MB / 426.7 MB