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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.409e-05, allocations: 0 / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08992, allocations: 50.41 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5261, allocations: 122.6 MB / 465.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5264, allocations: 97.23 kB / 465.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6024/1.129, allocations: 102.5 MB / 0.555 GB, free: 96.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.947e-06/1.129, allocations: 0 / 0.555 GB, free: 96.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003315/1.129, allocations: 104.8 kB / 0.5551 GB, free: 96.84 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.01271/1.142, allocations: 4.198 MB / 0.5592 GB, free: 95.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.142, allocations: 15.31 kB / 0.5593 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/1.149, allocations: 0.9583 MB / 0.5602 GB, free: 94.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/1.161, allocations: 3.949 MB / 0.564 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/1.161, allocations: 492 kB / 0.5645 GB, free: 94.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.162, allocations: 413.5 kB / 0.5649 GB, free: 94.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/1.174, allocations: 5.153 MB / 0.5699 GB, free: 93.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/1.174, allocations: 0 / 0.5699 GB, free: 93.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/1.174, allocations: 182.9 kB / 0.5701 GB, free: 93.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/1.175, allocations: 170.5 kB / 0.5703 GB, free: 93.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009712/1.184, allocations: 4.129 MB / 0.5743 GB, free: 92.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/1.217, allocations: 17.95 MB / 0.5918 GB, free: 82.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007701/1.225, allocations: 8.098 MB / 0.5998 GB, free: 75.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/1.229, allocations: 1.812 MB / 0.6015 GB, free: 74.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/1.241, allocations: 5.433 MB / 0.6068 GB, free: 71.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/1.243, allocations: 1.189 MB / 0.608 GB, free: 71.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.678e-06/1.243, allocations: 0 / 0.608 GB, free: 71.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.01754/1.261, allocations: 6.918 MB / 0.6147 GB, free: 68.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/1.261, allocations: 343.3 kB / 0.6151 GB, free: 67.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/1.265, allocations: 2.145 MB / 0.6172 GB, free: 66.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003414/1.266, allocations: 69.7 kB / 0.6172 GB, free: 66.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.267, allocations: 1.932 MB / 0.6191 GB, free: 64.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/1.268, allocations: 0.6946 MB / 0.6198 GB, free: 63.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.268, allocations: 56 kB / 0.6199 GB, free: 63.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/1.268, allocations: 402 kB / 0.6202 GB, free: 63.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/1.271, allocations: 1.038 MB / 0.6212 GB, free: 62.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/1.273, allocations: 1.779 MB / 0.623 GB, free: 60.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/1.276, allocations: 1.325 MB / 0.6243 GB, free: 59.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.276, allocations: 4 kB / 0.6243 GB, free: 59.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008125/1.284, allocations: 3.822 MB / 0.628 GB, free: 55.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00166/1.285, allocations: 8.386 MB / 0.6362 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/1.286, allocations: 27.03 kB / 0.6362 GB, free: 46.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/1.289, allocations: 1.009 MB / 0.6372 GB, free: 45.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.291, allocations: 470.5 kB / 0.6377 GB, free: 45.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.308, allocations: 14.12 MB / 0.6515 GB, free: 31.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.311, allocations: 177.3 kB / 0.6516 GB, free: 31.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/1.311, allocations: 111.8 kB / 0.6517 GB, free: 31.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.311, allocations: 4 kB / 0.6517 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007176/1.318, allocations: 3.551 MB / 0.6552 GB, free: 28.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.865e-05/1.318, allocations: 20 kB / 0.6552 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/1.321, allocations: 1 MB / 0.6562 GB, free: 27.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.324, allocations: 460.3 kB / 0.6566 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/1.34, allocations: 14.12 MB / 0.6704 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.343, allocations: 164 kB / 0.6706 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/1.344, allocations: 104 kB / 0.6707 GB, free: 12.74 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.0005974/1.344, allocations: 280.8 kB / 0.6709 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/1.345, allocations: 280.6 kB / 0.6712 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/1.352, allocations: 3.239 MB / 0.6744 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.352, allocations: 20 kB / 0.6744 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.68e-06/1.352, allocations: 0 / 0.6744 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.352, allocations: 11.95 kB / 0.6744 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.367, allocations: 7.021 MB / 0.6813 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.367, allocations: 0 / 0.6813 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.369, allocations: 279.6 kB / 0.6815 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/1.372, allocations: 1.035 MB / 0.6825 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.372, allocations: 51.97 kB / 0.6826 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/1.392, allocations: 11.6 MB / 0.6939 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-06/1.392, allocations: 0 / 0.6939 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2729/1.665, allocations: 4.613 MB / 0.6984 GB, free: 99.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.667, allocations: 0.5911 MB / 0.699 GB, free: 99.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007258/1.668, allocations: 56.8 kB / 0.6991 GB, free: 99.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.67, allocations: 131.1 kB / 0.6992 GB, free: 99.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007025/1.671, allocations: 240 kB / 0.6994 GB, free: 99.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.671, allocations: 56.02 kB / 0.6995 GB, free: 99.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003637/1.675, allocations: 1.631 MB / 0.7011 GB, free: 99.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.66e-07/1.675, allocations: 0 / 0.7011 GB, free: 99.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007242/1.682, allocations: 1.516 MB / 0.7025 GB, free: 99.54 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.0009522/1.683, allocations: 0.5062 MB / 0.703 GB, free: 99.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01265/1.696, allocations: 6.257 MB / 0.7091 GB, free: 97.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.503e-06/1.696, allocations: 1.094 kB / 0.7091 GB, free: 97.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/1.7, allocations: 2.053 MB / 0.7111 GB, free: 97.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.704, allocations: 0.6246 MB / 0.7118 GB, free: 97.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.72, allocations: 6.431 MB / 0.718 GB, free: 96.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/1.724, allocations: 2.92 MB / 0.7209 GB, free: 95.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005298/1.729, allocations: 1.046 MB / 0.7219 GB, free: 95.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/1.729, allocations: 132.4 kB / 0.722 GB, free: 95.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.683e-06/1.729, allocations: 3.375 kB / 0.722 GB, free: 95.27 MB / 458.7 MB Notification: Performance of Templates: time 0.1276/1.857, allocations: 55.26 MB / 0.776 GB, free: 81.8 MB / 458.7 MB