Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|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|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.713e-05, allocations: 11.98 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08014, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.4654, allocations: 122.2 MB / 439.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4657, allocations: 88.81 kB / 439.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6807/1.146, allocations: 117.5 MB / 0.5436 GB, free: 85.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.328e-06/1.147, allocations: 0 / 0.5436 GB, free: 85.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003502/1.147, allocations: 135.6 kB / 0.5437 GB, free: 85.89 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0132/1.16, allocations: 4.919 MB / 0.5485 GB, free: 84.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.16, allocations: 15.02 kB / 0.5486 GB, free: 84.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/1.166, allocations: 0.9889 MB / 0.5495 GB, free: 83.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/1.178, allocations: 4.595 MB / 0.554 GB, free: 82.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/1.179, allocations: 387.7 kB / 0.5544 GB, free: 82.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/1.18, allocations: 0.5056 MB / 0.5549 GB, free: 82.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.193, allocations: 6.664 MB / 0.5614 GB, free: 82.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/1.193, allocations: 20.66 kB / 0.5614 GB, free: 82.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007075/1.194, allocations: 217.8 kB / 0.5616 GB, free: 82.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/1.194, allocations: 229.3 kB / 0.5618 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/1.206, allocations: 5.371 MB / 0.5671 GB, free: 82.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07277/1.279, allocations: 21.43 MB / 0.588 GB, free: 71.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.294, allocations: 8.65 MB / 0.5965 GB, free: 63.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/1.298, allocations: 2.209 MB / 0.5986 GB, free: 62.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/1.311, allocations: 6.169 MB / 0.6046 GB, free: 59.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.311, allocations: 60.91 kB / 0.6047 GB, free: 59.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=220): time 6.388e-06/1.311, allocations: 0 / 0.6047 GB, free: 59.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=239): time 0.02061/1.332, allocations: 8.969 MB / 0.6135 GB, free: 52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.332, allocations: 77.41 kB / 0.6135 GB, free: 51.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/1.336, allocations: 2.583 MB / 0.616 GB, free: 49.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.336, allocations: 65.7 kB / 0.6161 GB, free: 49.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.338, allocations: 2.3 MB / 0.6184 GB, free: 47.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006131/1.338, allocations: 0.8185 MB / 0.6192 GB, free: 46.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.339, allocations: 56 kB / 0.6192 GB, free: 46.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/1.339, allocations: 423.5 kB / 0.6196 GB, free: 46.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/1.341, allocations: 1.294 MB / 0.6209 GB, free: 45.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.344, allocations: 2.028 MB / 0.6229 GB, free: 42.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/1.347, allocations: 1.648 MB / 0.6245 GB, free: 41.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/1.347, allocations: 8 kB / 0.6245 GB, free: 41.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008762/1.356, allocations: 4.467 MB / 0.6288 GB, free: 37.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/1.356, allocations: 16 kB / 0.6289 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/1.356, allocations: 27.94 kB / 0.6289 GB, free: 37.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.358, allocations: 0.7516 MB / 0.6296 GB, free: 36.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.361, allocations: 0.6437 MB / 0.6302 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.374, allocations: 13.34 MB / 0.6433 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/1.377, allocations: 158.8 kB / 0.6434 GB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.378, allocations: 119.3 kB / 0.6435 GB, free: 22.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005911/1.378, allocations: 280.1 kB / 0.6438 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/1.379, allocations: 320.1 kB / 0.6441 GB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/1.387, allocations: 4.119 MB / 0.6481 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.387, allocations: 20 kB / 0.6481 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.387, allocations: 15.95 kB / 0.6482 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/1.387, allocations: 19.77 kB / 0.6482 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.405, allocations: 9.007 MB / 0.657 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.405, allocations: 7.953 kB / 0.657 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.407, allocations: 382.4 kB / 0.6574 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.41, allocations: 0.9207 MB / 0.6583 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.41, allocations: 67.97 kB / 0.6583 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2649/1.675, allocations: 16.45 MB / 0.6744 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.982e-06/1.675, allocations: 4.234 kB / 0.6744 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.688, allocations: 6.268 MB / 0.6805 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.69, allocations: 0.701 MB / 0.6812 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/1.69, allocations: 59.83 kB / 0.6812 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.692, allocations: 140.5 kB / 0.6814 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/1.693, allocations: 198.1 kB / 0.6816 GB, free: 70.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.693, allocations: 75.7 kB / 0.6816 GB, free: 70.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00382/1.697, allocations: 1.966 MB / 0.6836 GB, free: 70.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.75e-07/1.697, allocations: 0 / 0.6836 GB, free: 70.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004437/1.701, allocations: 1.017 MB / 0.6846 GB, free: 70.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008425/1.702, allocations: 0.4917 MB / 0.685 GB, free: 70.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007/1.709, allocations: 4.351 MB / 0.6893 GB, free: 69.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.105e-06/1.709, allocations: 6.938 kB / 0.6893 GB, free: 69.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004829/1.714, allocations: 2.914 MB / 0.6921 GB, free: 68.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/1.719, allocations: 0.8332 MB / 0.693 GB, free: 68.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.735, allocations: 8.252 MB / 0.701 GB, free: 66.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/1.74, allocations: 3.527 MB / 0.7045 GB, free: 65.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003541/1.743, allocations: 0.7619 MB / 0.7052 GB, free: 65.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/1.744, allocations: 209.1 kB / 0.7054 GB, free: 65.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.686e-06/1.744, allocations: 0 / 0.7054 GB, free: 65.66 MB / 426.7 MB Notification: Performance of Templates: time 0.1142/1.858, allocations: 50.7 MB / 0.7549 GB, free: 53.49 MB / 426.7 MB