Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.304e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07555/0.0756, allocations: 44.48 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.428, allocations: 106.8 MB / 406.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4283, allocations: 89.03 kB / 406.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8385/1.267, allocations: 183 MB / 0.5759 GB, free: 49.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.743e-06/1.267, allocations: 0 / 0.5759 GB, free: 49.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006749/1.268, allocations: 192.5 kB / 0.5761 GB, free: 49.85 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02604/1.294, allocations: 7.61 MB / 0.5835 GB, free: 47.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.294, allocations: 11.19 kB / 0.5835 GB, free: 47.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/1.307, allocations: 1.828 MB / 0.5853 GB, free: 46.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.327, allocations: 6.955 MB / 0.5921 GB, free: 43.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000656/1.328, allocations: 0.5879 MB / 0.5927 GB, free: 43.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/1.331, allocations: 0.7836 MB / 0.5935 GB, free: 42.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0294/1.36, allocations: 10.69 MB / 0.6039 GB, free: 37.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/1.361, allocations: 14.88 kB / 0.6039 GB, free: 37.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/1.363, allocations: 336.7 kB / 0.6042 GB, free: 37.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/1.363, allocations: 364.1 kB / 0.6046 GB, free: 37.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/1.386, allocations: 8.894 MB / 0.6133 GB, free: 30.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06816/1.454, allocations: 34.55 MB / 0.647 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2828/1.737, allocations: 19.64 MB / 0.6662 GB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007891/1.745, allocations: 3.607 MB / 0.6697 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02233/1.767, allocations: 9.406 MB / 0.6789 GB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/1.767, allocations: 69.23 kB / 0.679 GB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=315): time 8.081e-06/1.767, allocations: 0 / 0.679 GB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.02245/1.79, allocations: 10.03 MB / 0.6888 GB, free: 41.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.79, allocations: 88.19 kB / 0.6888 GB, free: 40.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008237/1.798, allocations: 3.822 MB / 0.6926 GB, free: 40.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000554/1.799, allocations: 86.81 kB / 0.6927 GB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/1.801, allocations: 3.537 MB / 0.6961 GB, free: 39.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.802, allocations: 1.084 MB / 0.6972 GB, free: 38.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/1.803, allocations: 75.41 kB / 0.6972 GB, free: 38.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/1.803, allocations: 462.8 kB / 0.6977 GB, free: 38.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.806, allocations: 1.679 MB / 0.6993 GB, free: 38.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/1.81, allocations: 2.697 MB / 0.702 GB, free: 36.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/1.815, allocations: 2.17 MB / 0.7041 GB, free: 36.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/1.815, allocations: 10.09 kB / 0.7041 GB, free: 36.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01199/1.827, allocations: 5.654 MB / 0.7096 GB, free: 35.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.827, allocations: 18 kB / 0.7096 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.906e-05/1.827, allocations: 37.83 kB / 0.7097 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/1.829, allocations: 0.7855 MB / 0.7104 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.834, allocations: 0.8078 MB / 0.7112 GB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/1.849, allocations: 14.81 MB / 0.7257 GB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.854, allocations: 186 kB / 0.7259 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006461/1.854, allocations: 161.3 kB / 0.726 GB, free: 22.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007983/1.855, allocations: 341.3 kB / 0.7263 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.856, allocations: 451.6 kB / 0.7268 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.868, allocations: 5.389 MB / 0.732 GB, free: 36.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.868, allocations: 34.92 kB / 0.7321 GB, free: 36.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/1.868, allocations: 20.16 kB / 0.7321 GB, free: 36.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/1.868, allocations: 16.88 kB / 0.7321 GB, free: 36.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.895, allocations: 12.34 MB / 0.7441 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.895, allocations: 3.875 kB / 0.7441 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/1.897, allocations: 373.5 kB / 0.7445 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00469/1.902, allocations: 1.359 MB / 0.7458 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004459/1.902, allocations: 88.97 kB / 0.7459 GB, free: 30.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03298/1.935, allocations: 23.92 MB / 0.7693 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.925e-06/1.935, allocations: 10.53 kB / 0.7693 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/1.954, allocations: 8.16 MB / 0.7773 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004887/1.959, allocations: 0.9577 MB / 0.7782 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002309/1.961, allocations: 78.45 kB / 0.7783 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006225/1.968, allocations: 188.5 kB / 0.7784 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/1.969, allocations: 325.9 kB / 0.7788 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005473/1.97, allocations: 90.78 kB / 0.7788 GB, free: 7.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01056/1.98, allocations: 2.918 MB / 0.7817 GB, free: 6.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.936e-06/1.981, allocations: 0 / 0.7817 GB, free: 6.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01207/1.993, allocations: 1.474 MB / 0.7831 GB, free: 6.426 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/1.994, allocations: 0.558 MB / 0.7837 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01957/2.014, allocations: 5.235 MB / 0.7888 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/2.014, allocations: 4.75 kB / 0.7888 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01877/2.033, allocations: 3.98 MB / 0.7927 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/2.04, allocations: 1.169 MB / 0.7938 GB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/2.073, allocations: 11.91 MB / 0.8055 GB, free: 2.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02139/2.094, allocations: 5.868 MB / 0.8112 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005308/2.099, allocations: 1.008 MB / 0.8122 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/2.101, allocations: 275.2 kB / 0.8124 GB, free: 15 MB / 458.7 MB Notification: Performance of SimCode: time 1.841e-06/2.101, allocations: 0 / 0.8124 GB, free: 15 MB / 458.7 MB Notification: Performance of Templates: time 0.4322/2.533, allocations: 71.38 MB / 0.8821 GB, free: 95.16 MB / 458.7 MB