Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.303e-05, allocations: 5.406 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5043, allocations: 105.6 MB / 448.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5046, allocations: 84.36 kB / 448.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2036/0.7082, allocations: 53.5 MB / 0.4905 GB, free: 3.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.7083, allocations: 0 / 0.4905 GB, free: 3.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002377/0.7085, allocations: 63.94 kB / 0.4906 GB, free: 3.145 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007429/0.716, allocations: 2.715 MB / 0.4932 GB, free: 380 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.716, allocations: 12.02 kB / 0.4932 GB, free: 368 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.7176, allocations: 360 kB / 0.4936 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/0.7229, allocations: 1.878 MB / 0.4954 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.7232, allocations: 205 kB / 0.4956 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007083/0.7239, allocations: 252.3 kB / 0.4958 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008723/0.7327, allocations: 3.393 MB / 0.4992 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.584e-05/0.7328, allocations: 19.77 kB / 0.4992 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/0.7332, allocations: 108 kB / 0.4993 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.7334, allocations: 108.9 kB / 0.4994 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007094/0.7405, allocations: 2.801 MB / 0.5021 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/0.7642, allocations: 10.91 MB / 0.5128 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.769, allocations: 3.059 MB / 0.5158 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.7716, allocations: 1.249 MB / 0.517 GB, free: 7.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.772, allocations: 142.3 kB / 0.5171 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.7742, allocations: 1.099 MB / 0.5182 GB, free: 6.031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 5.82e-06/0.7743, allocations: 0 / 0.5182 GB, free: 6.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.2612/1.036, allocations: 6.726 MB / 0.5248 GB, free: 111.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.036, allocations: 181.9 kB / 0.5249 GB, free: 111.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/1.039, allocations: 1.595 MB / 0.5265 GB, free: 111.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.04, allocations: 57.61 kB / 0.5265 GB, free: 111.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.041, allocations: 1.167 MB / 0.5277 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/1.042, allocations: 0.5679 MB / 0.5282 GB, free: 111 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.042, allocations: 38.56 kB / 0.5283 GB, free: 111 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/1.042, allocations: 378.8 kB / 0.5286 GB, free: 110.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/1.044, allocations: 0.949 MB / 0.5296 GB, free: 110.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/1.047, allocations: 1.311 MB / 0.5308 GB, free: 110.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/1.049, allocations: 1.107 MB / 0.5319 GB, free: 110.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/1.049, allocations: 3.5 kB / 0.5319 GB, free: 110.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007571/1.057, allocations: 3.156 MB / 0.535 GB, free: 110.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.057, allocations: 8.875 kB / 0.535 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/1.057, allocations: 8.5 kB / 0.535 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/1.06, allocations: 0.8759 MB / 0.5359 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/1.062, allocations: 340.1 kB / 0.5362 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.076, allocations: 9.538 MB / 0.5455 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/1.078, allocations: 144.5 kB / 0.5457 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/1.078, allocations: 68.02 kB / 0.5457 GB, free: 106 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * 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: 3 * 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: 3 {(2,100.0%) 12,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004784/1.079, allocations: 223.2 kB / 0.5459 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/1.079, allocations: 205 kB / 0.5461 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/1.086, allocations: 3.05 MB / 0.5491 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.086, allocations: 21.06 kB / 0.5491 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.086, allocations: 11.06 kB / 0.5491 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/1.086, allocations: 6.938 kB / 0.5491 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.1, allocations: 6.185 MB / 0.5552 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.1, allocations: 3.781 kB / 0.5552 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.101, allocations: 220.5 kB / 0.5554 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/1.104, allocations: 0.9189 MB / 0.5563 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/1.105, allocations: 47.22 kB / 0.5563 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.119, allocations: 11.01 MB / 0.5671 GB, free: 95.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-06/1.119, allocations: 9.875 kB / 0.5671 GB, free: 95.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/1.127, allocations: 4.572 MB / 0.5716 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.128, allocations: 0.4974 MB / 0.572 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005578/1.129, allocations: 39.05 kB / 0.5721 GB, free: 93.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.131, allocations: 117.8 kB / 0.5722 GB, free: 93.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/1.131, allocations: 204.7 kB / 0.5724 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.131, allocations: 49.7 kB / 0.5724 GB, free: 93.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002229/1.134, allocations: 1.218 MB / 0.5736 GB, free: 92.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.93e-07/1.134, allocations: 0 / 0.5736 GB, free: 92.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003/1.137, allocations: 0.6641 MB / 0.5743 GB, free: 92.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006528/1.137, allocations: 338.6 kB / 0.5746 GB, free: 92.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005479/1.143, allocations: 3.069 MB / 0.5776 GB, free: 91.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.144e-06/1.143, allocations: 2.25 kB / 0.5776 GB, free: 91.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/1.147, allocations: 2.158 MB / 0.5797 GB, free: 89.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.15, allocations: 0.5461 MB / 0.5802 GB, free: 89.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009653/1.159, allocations: 4.683 MB / 0.5848 GB, free: 87.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/1.162, allocations: 2.238 MB / 0.587 GB, free: 86.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001906/1.164, allocations: 445.1 kB / 0.5874 GB, free: 86.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/1.164, allocations: 131.2 kB / 0.5875 GB, free: 86.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.625e-06/1.164, allocations: 0 / 0.5875 GB, free: 86.87 MB / 442.7 MB Notification: Performance of Templates: time 0.1415/1.306, allocations: 37 MB / 0.6237 GB, free: 63.91 MB / 442.7 MB