Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.692e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08577, allocations: 47.57 MB / 316.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.5446, allocations: 118.1 MB / 435 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5449, allocations: 85.56 kB / 435.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7145/1.259, allocations: 133 MB / 0.5547 GB, free: 83.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.6e-06/1.259, allocations: 4 kB / 0.5547 GB, free: 83.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008474/1.26, allocations: 122.8 kB / 0.5549 GB, free: 83.39 MB / 426.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.03054/1.291, allocations: 4.765 MB / 0.5595 GB, free: 81.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/1.291, allocations: 11.44 kB / 0.5595 GB, free: 81.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/1.305, allocations: 0.9746 MB / 0.5605 GB, free: 81.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/1.333, allocations: 4.489 MB / 0.5649 GB, free: 80.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008312/1.334, allocations: 364.8 kB / 0.5652 GB, free: 80.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/1.336, allocations: 485.3 kB / 0.5657 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/1.351, allocations: 6.554 MB / 0.5721 GB, free: 79.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.351, allocations: 3.656 kB / 0.5721 GB, free: 79.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006924/1.352, allocations: 212.3 kB / 0.5723 GB, free: 79.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/1.352, allocations: 238.2 kB / 0.5725 GB, free: 79.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/1.365, allocations: 5.339 MB / 0.5777 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/1.406, allocations: 20.99 MB / 0.5982 GB, free: 67.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009136/1.415, allocations: 9.805 MB / 0.6078 GB, free: 58.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/1.419, allocations: 2.402 MB / 0.6101 GB, free: 56.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/1.432, allocations: 6.508 MB / 0.6165 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/1.433, allocations: 56.56 kB / 0.6165 GB, free: 50.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 5.116e-06/1.433, allocations: 0 / 0.6165 GB, free: 50.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.01454/1.447, allocations: 7.246 MB / 0.6236 GB, free: 44.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/1.447, allocations: 77.36 kB / 0.6237 GB, free: 44.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005988/1.453, allocations: 2.62 MB / 0.6262 GB, free: 41.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003839/1.454, allocations: 69.7 kB / 0.6263 GB, free: 41.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/1.455, allocations: 2.158 MB / 0.6284 GB, free: 39.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006619/1.456, allocations: 0.7497 MB / 0.6292 GB, free: 39.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.456, allocations: 52 kB / 0.6292 GB, free: 39.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/1.456, allocations: 406.2 kB / 0.6296 GB, free: 38.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.458, allocations: 1.206 MB / 0.6308 GB, free: 37.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/1.461, allocations: 1.766 MB / 0.6325 GB, free: 35.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/1.464, allocations: 1.512 MB / 0.634 GB, free: 34.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.464, allocations: 8 kB / 0.634 GB, free: 34.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008486/1.472, allocations: 3.991 MB / 0.6379 GB, free: 30.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.473, allocations: 15.94 kB / 0.6379 GB, free: 30.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.473, allocations: 19.95 kB / 0.6379 GB, free: 30.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/1.475, allocations: 0.6492 MB / 0.6385 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/1.478, allocations: 0.5496 MB / 0.6391 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.489, allocations: 9.977 MB / 0.6488 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.492, allocations: 120 kB / 0.6489 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/1.492, allocations: 99.98 kB / 0.649 GB, free: 19.69 MB / 426.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.0005359/1.493, allocations: 252.3 kB / 0.6493 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/1.493, allocations: 312.2 kB / 0.6496 GB, free: 19.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/1.501, allocations: 3.781 MB / 0.6533 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.501, allocations: 20 kB / 0.6533 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.501, allocations: 12.19 kB / 0.6533 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/1.501, allocations: 11.95 kB / 0.6533 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.517, allocations: 8.385 MB / 0.6615 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.517, allocations: 0 / 0.6615 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.519, allocations: 347.8 kB / 0.6618 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.522, allocations: 0.8244 MB / 0.6626 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.522, allocations: 59.8 kB / 0.6627 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2718/1.794, allocations: 14.35 MB / 0.6767 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.134e-06/1.794, allocations: 3.281 kB / 0.6767 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.806, allocations: 5.662 MB / 0.6822 GB, free: 70.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.808, allocations: 0.6901 MB / 0.6829 GB, free: 70.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007386/1.809, allocations: 55.83 kB / 0.683 GB, free: 70.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.811, allocations: 120.1 kB / 0.6831 GB, free: 70.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005369/1.812, allocations: 190.4 kB / 0.6833 GB, free: 70.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.812, allocations: 63.88 kB / 0.6833 GB, free: 70.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004391/1.816, allocations: 2.007 MB / 0.6853 GB, free: 70.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.104e-06/1.816, allocations: 1.312 kB / 0.6853 GB, free: 70.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004832/1.821, allocations: 0.9735 MB / 0.6862 GB, free: 70.52 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.0009848/1.822, allocations: 0.5241 MB / 0.6867 GB, free: 70.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006363/1.828, allocations: 3.649 MB / 0.6903 GB, free: 69.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.829, allocations: 0 / 0.6903 GB, free: 69.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004407/1.833, allocations: 2.504 MB / 0.6927 GB, free: 69.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.838, allocations: 0.8593 MB / 0.6936 GB, free: 69.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.854, allocations: 7.732 MB / 0.7011 GB, free: 67.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00408/1.859, allocations: 3.519 MB / 0.7046 GB, free: 66.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003417/1.862, allocations: 0.7381 MB / 0.7053 GB, free: 66.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000861/1.863, allocations: 191.2 kB / 0.7055 GB, free: 66.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.679e-06/1.863, allocations: 4.859 kB / 0.7055 GB, free: 66.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1291/1.992, allocations: 51.08 MB / 0.7554 GB, free: 55.51 MB / 426.7 MB