Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|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.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 4 kB / 269.4 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08552, allocations: 47.56 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4629, allocations: 111.8 MB / 428.8 MB, free: 8.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4633, allocations: 87.2 kB / 428.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8481/1.311, allocations: 182.7 MB / 0.5972 GB, free: 74.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.006e-06/1.311, allocations: 0 / 0.5972 GB, free: 74.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006606/1.312, allocations: 197 kB / 0.5974 GB, free: 74.55 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02746/1.34, allocations: 7.61 MB / 0.6048 GB, free: 69.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.34, allocations: 12.03 kB / 0.6048 GB, free: 69.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/1.353, allocations: 1.819 MB / 0.6066 GB, free: 67.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.373, allocations: 6.956 MB / 0.6134 GB, free: 60.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/1.374, allocations: 0.5925 MB / 0.614 GB, free: 60.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/1.377, allocations: 0.7909 MB / 0.6148 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/1.406, allocations: 10.68 MB / 0.6252 GB, free: 48.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/1.406, allocations: 15.84 kB / 0.6252 GB, free: 48.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.408, allocations: 336.1 kB / 0.6255 GB, free: 48.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/1.408, allocations: 372.3 kB / 0.6259 GB, free: 47.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/1.43, allocations: 8.889 MB / 0.6346 GB, free: 38.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06665/1.496, allocations: 34.54 MB / 0.6683 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3625/1.859, allocations: 19.62 MB / 0.6875 GB, free: 51.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008157/1.867, allocations: 3.608 MB / 0.691 GB, free: 51.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/1.889, allocations: 9.404 MB / 0.7002 GB, free: 50.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.889, allocations: 68.67 kB / 0.7002 GB, free: 50.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 9.265e-06/1.889, allocations: 0 / 0.7002 GB, free: 50.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.0213/1.91, allocations: 10.03 MB / 0.71 GB, free: 48.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.91, allocations: 86.84 kB / 0.7101 GB, free: 48.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007192/1.917, allocations: 3.838 MB / 0.7139 GB, free: 48.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004094/1.918, allocations: 82.17 kB / 0.7139 GB, free: 48.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.92, allocations: 3.532 MB / 0.7174 GB, free: 47.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009851/1.921, allocations: 1.079 MB / 0.7184 GB, free: 46.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.922, allocations: 77.19 kB / 0.7185 GB, free: 46.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/1.922, allocations: 459.3 kB / 0.719 GB, free: 46.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.925, allocations: 1.685 MB / 0.7206 GB, free: 46.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0039/1.929, allocations: 2.691 MB / 0.7232 GB, free: 44.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/1.933, allocations: 2.171 MB / 0.7253 GB, free: 44.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/1.933, allocations: 10.28 kB / 0.7254 GB, free: 44.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01139/1.945, allocations: 5.661 MB / 0.7309 GB, free: 44.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/1.945, allocations: 15.94 kB / 0.7309 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/1.945, allocations: 33.12 kB / 0.7309 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/1.947, allocations: 0.7941 MB / 0.7317 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004175/1.951, allocations: 0.8018 MB / 0.7325 GB, free: 43.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.968, allocations: 14.8 MB / 0.7469 GB, free: 31.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/1.972, allocations: 182.6 kB / 0.7471 GB, free: 31.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.973, allocations: 159.1 kB / 0.7473 GB, free: 31.83 MB / 426.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.0008146/1.973, allocations: 340.7 kB / 0.7476 GB, free: 31.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000807/1.974, allocations: 454 kB / 0.748 GB, free: 31.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.986, allocations: 5.387 MB / 0.7533 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/1.986, allocations: 30.56 kB / 0.7533 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/1.986, allocations: 21.83 kB / 0.7533 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-05/1.986, allocations: 19.52 kB / 0.7534 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/2.012, allocations: 12.32 MB / 0.7654 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/2.012, allocations: 7.844 kB / 0.7654 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/2.014, allocations: 377.4 kB / 0.7658 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004355/2.019, allocations: 1.359 MB / 0.7671 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/2.019, allocations: 88.34 kB / 0.7672 GB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02995/2.049, allocations: 23.93 MB / 0.7905 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/2.049, allocations: 5.125 kB / 0.7905 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/2.065, allocations: 8.189 MB / 0.7985 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003063/2.068, allocations: 0.9505 MB / 0.7995 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.069, allocations: 79.42 kB / 0.7995 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/2.072, allocations: 180.1 kB / 0.7997 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008861/2.073, allocations: 331.7 kB / 0.8 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003366/2.074, allocations: 89.81 kB / 0.8001 GB, free: 14.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006676/2.08, allocations: 2.926 MB / 0.803 GB, free: 11.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.087e-06/2.08, allocations: 0 / 0.803 GB, free: 11.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007549/2.088, allocations: 1.476 MB / 0.8044 GB, free: 10.44 MB / 442.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.00166/2.09, allocations: 0.5546 MB / 0.805 GB, free: 9.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01876/2.108, allocations: 5.239 MB / 0.8101 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/2.108, allocations: 4 kB / 0.8101 GB, free: 5.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01463/2.123, allocations: 3.853 MB / 0.8138 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/2.135, allocations: 1.172 MB / 0.815 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05413/2.189, allocations: 12 MB / 0.8267 GB, free: 6.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008909/2.198, allocations: 5.243 MB / 0.8318 GB, free: 2.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00517/2.203, allocations: 1.004 MB / 0.8328 GB, free: 1.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/2.205, allocations: 270.6 kB / 0.8331 GB, free: 1.312 MB / 458.7 MB Notification: Performance of SimCode: time 1.657e-06/2.205, allocations: 0 / 0.8331 GB, free: 1.312 MB / 458.7 MB Notification: Performance of Templates: time 0.4662/2.671, allocations: 71.6 MB / 0.903 GB, free: 81.4 MB / 458.7 MB