Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.23e-05, allocations: 5.406 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08925, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4141/0.5034, allocations: 122.6 MB / 465.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5037, allocations: 94.62 kB / 465.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6385/1.142, allocations: 102.5 MB / 0.5545 GB, free: 96.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.929e-06/1.142, allocations: 0 / 0.5545 GB, free: 96.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003262/1.143, allocations: 102.3 kB / 0.5546 GB, free: 96.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01236/1.155, allocations: 4.199 MB / 0.5587 GB, free: 95.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.155, allocations: 11.59 kB / 0.5587 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007831/1.163, allocations: 0.9585 MB / 0.5597 GB, free: 94.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/1.175, allocations: 3.951 MB / 0.5635 GB, free: 94.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/1.175, allocations: 476.9 kB / 0.564 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/1.176, allocations: 416.9 kB / 0.5644 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/1.188, allocations: 5.155 MB / 0.5694 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/1.189, allocations: 3.75 kB / 0.5694 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000568/1.189, allocations: 182.3 kB / 0.5696 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/1.189, allocations: 171.5 kB / 0.5698 GB, free: 93.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.2, allocations: 4.132 MB / 0.5738 GB, free: 92.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/1.235, allocations: 17.96 MB / 0.5913 GB, free: 82.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/1.243, allocations: 8.091 MB / 0.5992 GB, free: 75.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/1.247, allocations: 1.805 MB / 0.601 GB, free: 74.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/1.259, allocations: 5.441 MB / 0.6063 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/1.261, allocations: 1.19 MB / 0.6075 GB, free: 71.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.584e-06/1.261, allocations: 0 / 0.6075 GB, free: 71.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.01753/1.279, allocations: 6.915 MB / 0.6142 GB, free: 68.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.279, allocations: 345.6 kB / 0.6146 GB, free: 67.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/1.283, allocations: 2.147 MB / 0.6167 GB, free: 66.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003605/1.283, allocations: 69.7 kB / 0.6167 GB, free: 66.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/1.285, allocations: 1.934 MB / 0.6186 GB, free: 64.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007099/1.286, allocations: 0.6936 MB / 0.6193 GB, free: 63.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.286, allocations: 52 kB / 0.6193 GB, free: 63.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/1.286, allocations: 407.7 kB / 0.6197 GB, free: 63.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/1.288, allocations: 1.028 MB / 0.6207 GB, free: 62.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/1.291, allocations: 1.787 MB / 0.6225 GB, free: 60.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/1.293, allocations: 1.316 MB / 0.6238 GB, free: 59.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.293, allocations: 8 kB / 0.6238 GB, free: 59.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.007693/1.301, allocations: 3.822 MB / 0.6275 GB, free: 55.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001565/1.302, allocations: 8.389 MB / 0.6357 GB, free: 46.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/1.303, allocations: 23.7 kB / 0.6357 GB, free: 46.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/1.306, allocations: 1.001 MB / 0.6367 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/1.308, allocations: 470.6 kB / 0.6371 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/1.324, allocations: 14.14 MB / 0.6509 GB, free: 31.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/1.327, allocations: 165.8 kB / 0.6511 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004564/1.328, allocations: 107.4 kB / 0.6512 GB, free: 31.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.328, allocations: 7.938 kB / 0.6512 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007325/1.335, allocations: 3.556 MB / 0.6547 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/1.335, allocations: 22.53 kB / 0.6547 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/1.338, allocations: 0.998 MB / 0.6557 GB, free: 27.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.341, allocations: 463.3 kB / 0.6561 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.357, allocations: 14.13 MB / 0.6699 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.36, allocations: 156 kB / 0.6701 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/1.361, allocations: 104 kB / 0.6702 GB, free: 12.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005856/1.361, allocations: 279.3 kB / 0.6704 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/1.362, allocations: 276.6 kB / 0.6707 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007152/1.369, allocations: 3.231 MB / 0.6739 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.369, allocations: 24 kB / 0.6739 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-06/1.369, allocations: 0 / 0.6739 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.369, allocations: 7.969 kB / 0.6739 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/1.382, allocations: 7.025 MB / 0.6808 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.382, allocations: 4 kB / 0.6808 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.384, allocations: 275.8 kB / 0.681 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/1.387, allocations: 1.032 MB / 0.682 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/1.387, allocations: 55.97 kB / 0.6821 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/1.408, allocations: 11.6 MB / 0.6934 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.358e-06/1.408, allocations: 4 kB / 0.6934 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2786/1.686, allocations: 4.607 MB / 0.6979 GB, free: 99.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.688, allocations: 0.592 MB / 0.6985 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009422/1.689, allocations: 61.2 kB / 0.6985 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.692, allocations: 131.2 kB / 0.6987 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/1.693, allocations: 235 kB / 0.6989 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.693, allocations: 56.58 kB / 0.6989 GB, free: 99.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00384/1.697, allocations: 1.633 MB / 0.7005 GB, free: 99.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.64e-07/1.697, allocations: 0 / 0.7005 GB, free: 99.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007366/1.704, allocations: 1.514 MB / 0.702 GB, free: 99.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/1.705, allocations: 0.5041 MB / 0.7025 GB, free: 99.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/1.718, allocations: 6.256 MB / 0.7086 GB, free: 97.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.681e-06/1.718, allocations: 1.219 kB / 0.7086 GB, free: 97.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.722, allocations: 2.049 MB / 0.7106 GB, free: 97.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.726, allocations: 0.6266 MB / 0.7112 GB, free: 97.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.742, allocations: 6.427 MB / 0.7175 GB, free: 95.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.746, allocations: 2.919 MB / 0.7204 GB, free: 95.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005303/1.751, allocations: 1.051 MB / 0.7214 GB, free: 95.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/1.752, allocations: 132.2 kB / 0.7215 GB, free: 95.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.799e-06/1.752, allocations: 0 / 0.7215 GB, free: 95.16 MB / 458.7 MB Notification: Performance of Templates: time 0.1256/1.877, allocations: 55.27 MB / 0.7755 GB, free: 81.58 MB / 458.7 MB