Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.037e-05, allocations: 3.281 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07809/0.07814, allocations: 44.51 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.4896, allocations: 113.1 MB / 413 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4899, allocations: 86.5 kB / 413.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7125/1.202, allocations: 133.5 MB / 0.5337 GB, free: 51.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.229e-06/1.202, allocations: 0 / 0.5337 GB, free: 51.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004754/1.203, allocations: 123.9 kB / 0.5338 GB, free: 51.45 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.01551/1.218, allocations: 4.77 MB / 0.5385 GB, free: 49.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.219, allocations: 10.38 kB / 0.5385 GB, free: 49.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/1.226, allocations: 0.9823 MB / 0.5395 GB, free: 49.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/1.24, allocations: 4.479 MB / 0.5438 GB, free: 48.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/1.24, allocations: 363.8 kB / 0.5442 GB, free: 48.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/1.242, allocations: 483 kB / 0.5447 GB, free: 48.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/1.261, allocations: 6.555 MB / 0.5511 GB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/1.261, allocations: 10.38 kB / 0.5511 GB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/1.263, allocations: 209.8 kB / 0.5513 GB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/1.263, allocations: 233 kB / 0.5515 GB, free: 48.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/1.278, allocations: 5.348 MB / 0.5567 GB, free: 48.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/1.325, allocations: 20.99 MB / 0.5772 GB, free: 40.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/1.335, allocations: 9.797 MB / 0.5868 GB, free: 32.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005002/1.34, allocations: 2.404 MB / 0.5891 GB, free: 31.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/1.355, allocations: 6.516 MB / 0.5955 GB, free: 28.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/1.355, allocations: 58.88 kB / 0.5955 GB, free: 28.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 5.963e-06/1.355, allocations: 0 / 0.5955 GB, free: 28.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.01698/1.372, allocations: 7.261 MB / 0.6026 GB, free: 24.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.372, allocations: 75.84 kB / 0.6027 GB, free: 24.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00615/1.378, allocations: 2.607 MB / 0.6053 GB, free: 23.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/1.379, allocations: 67.23 kB / 0.6053 GB, free: 23.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.38, allocations: 2.003 MB / 0.6073 GB, free: 22.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009373/1.381, allocations: 0.7554 MB / 0.608 GB, free: 21.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/1.381, allocations: 54.69 kB / 0.6081 GB, free: 21.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/1.382, allocations: 410.1 kB / 0.6085 GB, free: 21.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/1.385, allocations: 1.206 MB / 0.6096 GB, free: 20.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/1.388, allocations: 1.76 MB / 0.6114 GB, free: 19.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/1.391, allocations: 1.511 MB / 0.6128 GB, free: 18.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/1.391, allocations: 6.844 kB / 0.6128 GB, free: 18.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009444/1.401, allocations: 3.784 MB / 0.6165 GB, free: 17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.401, allocations: 15.89 kB / 0.6165 GB, free: 16.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.401, allocations: 16 kB / 0.6166 GB, free: 16.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/1.404, allocations: 0.6499 MB / 0.6172 GB, free: 16.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/1.407, allocations: 0.5568 MB / 0.6177 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.419, allocations: 9.981 MB / 0.6275 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/1.422, allocations: 106.1 kB / 0.6276 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005466/1.422, allocations: 103.9 kB / 0.6277 GB, free: 6.047 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.0005894/1.423, allocations: 244.5 kB / 0.6279 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/1.424, allocations: 312.2 kB / 0.6282 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/1.432, allocations: 3.785 MB / 0.6319 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.432, allocations: 24 kB / 0.6319 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/1.432, allocations: 8 kB / 0.6319 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/1.432, allocations: 14.17 kB / 0.632 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/1.456, allocations: 8.463 MB / 0.6402 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/1.456, allocations: 0 / 0.6402 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.458, allocations: 343.5 kB / 0.6405 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/1.461, allocations: 0.8132 MB / 0.6413 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004817/1.462, allocations: 61.91 kB / 0.6414 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/1.485, allocations: 14.37 MB / 0.6554 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.485, allocations: 0 / 0.6554 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.498, allocations: 5.657 MB / 0.661 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/1.501, allocations: 0.6935 MB / 0.6616 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/1.502, allocations: 55.38 kB / 0.6617 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/1.505, allocations: 120.8 kB / 0.6618 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007777/1.506, allocations: 193 kB / 0.662 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/1.506, allocations: 63.56 kB / 0.662 GB, free: 6.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005307/1.512, allocations: 2.003 MB / 0.664 GB, free: 4.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.226e-06/1.512, allocations: 0 / 0.664 GB, free: 4.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005497/1.517, allocations: 0.9762 MB / 0.665 GB, free: 3.316 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.00131/1.519, allocations: 0.4973 MB / 0.6654 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2563/1.775, allocations: 3.654 MB / 0.669 GB, free: 75.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.775, allocations: 3.344 kB / 0.669 GB, free: 75.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005991/1.781, allocations: 2.493 MB / 0.6715 GB, free: 75.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005685/1.787, allocations: 0.8616 MB / 0.6723 GB, free: 75.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/1.81, allocations: 7.685 MB / 0.6798 GB, free: 73.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006953/1.817, allocations: 3.424 MB / 0.6831 GB, free: 72.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.819, allocations: 206.1 kB / 0.6833 GB, free: 72.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.021e-06/1.819, allocations: 0 / 0.6833 GB, free: 72.7 MB / 426.7 MB Notification: Performance of Templates: time 0.5038/2.323, allocations: 192.4 MB / 0.8713 GB, free: 90.39 MB / 442.7 MB