Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.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|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.096e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2486, allocations: 38.76 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.6274, allocations: 109.6 MB / 373.4 MB, free: 49.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6277, allocations: 85.05 kB / 373.5 MB, free: 49.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4341/1.062, allocations: 113.1 MB / 486.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.38e-06/1.062, allocations: 0 / 486.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007518/1.063, allocations: 123.9 kB / 486.7 MB, free: 11.51 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.02872/1.091, allocations: 4.838 MB / 491.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.091, allocations: 12.03 kB / 491.5 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00748/1.099, allocations: 0.7701 MB / 492.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/1.112, allocations: 3.608 MB / 495.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/1.113, allocations: 382 kB / 496.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/1.115, allocations: 0.4998 MB / 496.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/1.135, allocations: 6.42 MB / 0.4914 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/1.135, allocations: 19.83 kB / 0.4914 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/1.136, allocations: 208 kB / 0.4916 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/1.137, allocations: 213.9 kB / 0.4918 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.152, allocations: 5.002 MB / 0.4967 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2633/1.415, allocations: 20.46 MB / 0.5167 GB, free: 44.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/1.421, allocations: 4.593 MB / 0.5212 GB, free: 42.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004535/1.426, allocations: 2.101 MB / 0.5232 GB, free: 42.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/1.426, allocations: 152.4 kB / 0.5234 GB, free: 42.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/1.426, allocations: 62.53 kB / 0.5234 GB, free: 42.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=235): time 1.259e-05/1.426, allocations: 0 / 0.5234 GB, free: 42.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.0292/1.456, allocations: 11.03 MB / 0.5342 GB, free: 40.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.456, allocations: 81.41 kB / 0.5343 GB, free: 40.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/1.461, allocations: 2.497 MB / 0.5367 GB, free: 40.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004837/1.461, allocations: 73.86 kB / 0.5368 GB, free: 40.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.463, allocations: 2.202 MB / 0.5389 GB, free: 39.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.464, allocations: 0.948 MB / 0.5399 GB, free: 39.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/1.464, allocations: 59.97 kB / 0.5399 GB, free: 39.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/1.464, allocations: 425.3 kB / 0.5403 GB, free: 38.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/1.467, allocations: 1.431 MB / 0.5417 GB, free: 38.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/1.471, allocations: 2.119 MB / 0.5438 GB, free: 38.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/1.475, allocations: 1.811 MB / 0.5456 GB, free: 38.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-05/1.475, allocations: 7.031 kB / 0.5456 GB, free: 38.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01106/1.486, allocations: 4.9 MB / 0.5504 GB, free: 37.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/1.486, allocations: 14.84 kB / 0.5504 GB, free: 37.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/1.486, allocations: 24.53 kB / 0.5504 GB, free: 37.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003104/1.489, allocations: 0.9451 MB / 0.5513 GB, free: 37.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/1.493, allocations: 0.675 MB / 0.552 GB, free: 37.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.509, allocations: 12.86 MB / 0.5645 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/1.512, allocations: 150.1 kB / 0.5647 GB, free: 30.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006293/1.513, allocations: 119.3 kB / 0.5648 GB, free: 30.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (333): * Single equations (assignments): 325 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(4,100.0%) 29,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007023/1.514, allocations: 290.4 kB / 0.5651 GB, free: 29.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/1.514, allocations: 331.6 kB / 0.5654 GB, free: 29.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.525, allocations: 4.749 MB / 0.57 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/1.525, allocations: 32.11 kB / 0.5701 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.525, allocations: 18.02 kB / 0.5701 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/1.525, allocations: 11.58 kB / 0.5701 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/1.55, allocations: 10.9 MB / 0.5807 GB, free: 22.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/1.55, allocations: 6.297 kB / 0.5807 GB, free: 22.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/1.552, allocations: 427.9 kB / 0.5811 GB, free: 22.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.556, allocations: 1.097 MB / 0.5822 GB, free: 22.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004297/1.557, allocations: 62.03 kB / 0.5823 GB, free: 22.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/1.578, allocations: 18.27 MB / 0.6001 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/1.578, allocations: 11.16 kB / 0.6001 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.591, allocations: 7.321 MB / 0.6073 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.593, allocations: 0.7429 MB / 0.608 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007434/1.594, allocations: 60.5 kB / 0.6081 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.596, allocations: 150.5 kB / 0.6082 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/1.596, allocations: 212.7 kB / 0.6084 GB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.597, allocations: 81.91 kB / 0.6085 GB, free: 3.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004011/1.601, allocations: 1.91 MB / 0.6103 GB, free: 2.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.509e-06/1.601, allocations: 5.844 kB / 0.6103 GB, free: 2.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005528/1.606, allocations: 1.038 MB / 0.6114 GB, free: 1.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.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 (208): * Single equations (assignments): 199 * 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 {(5,92.0%) 27,(2,100.0%) 12,(1,100.0%) 7,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.607, allocations: 480.4 kB / 0.6118 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/1.621, allocations: 4.715 MB / 0.6164 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.621, allocations: 0 / 0.6164 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01268/1.633, allocations: 3.303 MB / 0.6197 GB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009004/1.643, allocations: 0.8486 MB / 0.6205 GB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03589/1.678, allocations: 8.498 MB / 0.6288 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009972/1.689, allocations: 3.566 MB / 0.6323 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005953/1.695, allocations: 0.7329 MB / 0.633 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.696, allocations: 210.4 kB / 0.6332 GB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 2.883e-06/1.696, allocations: 0 / 0.6332 GB, free: 14.05 MB / 394.7 MB Notification: Performance of Templates: time 0.3611/2.057, allocations: 53.55 MB / 0.6855 GB, free: 69.93 MB / 394.7 MB