Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|inductor.inductor.1..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.465e-05, allocations: 7.938 kB / 292.7 MB, free: 11.45 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09181, allocations: 50.4 MB / 343.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.4857, allocations: 108.2 MB / 451.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.486, allocations: 88.11 kB / 451.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.344/0.8301, allocations: 65.59 MB / 0.5048 GB, free: 3.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.654e-06/0.8301, allocations: 0 / 0.5048 GB, free: 3.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003133/0.8305, allocations: 75.94 kB / 0.5049 GB, free: 3.328 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.009908/0.8404, allocations: 3.211 MB / 0.5081 GB, free: 40 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.8405, allocations: 8.031 kB / 0.5081 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.8424, allocations: 419.5 kB / 0.5085 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006142/0.8485, allocations: 2.19 MB / 0.5106 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005802/0.8492, allocations: 0.5451 MB / 0.5111 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009102/0.8501, allocations: 292 kB / 0.5114 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009933/0.86, allocations: 3.972 MB / 0.5153 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-05/0.8602, allocations: 11.84 kB / 0.5153 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004799/0.8607, allocations: 124 kB / 0.5154 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.8608, allocations: 121.6 kB / 0.5155 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008468/0.8693, allocations: 3.283 MB / 0.5187 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03133/0.9007, allocations: 12.71 MB / 0.5312 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/0.9075, allocations: 3.935 MB / 0.535 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/0.9112, allocations: 1.581 MB / 0.5365 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/0.9117, allocations: 151 kB / 0.5367 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003439/0.9152, allocations: 1.529 MB / 0.5382 GB, free: 256 kB / 426.7 MB Notification: Performance of pre-optimization done (n=195): time 6.429e-06/0.9152, allocations: 0 / 0.5382 GB, free: 256 kB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.03033/0.9456, allocations: 9.622 MB / 0.5476 GB, free: 6.555 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.9458, allocations: 265.3 kB / 0.5478 GB, free: 6.238 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.9506, allocations: 1.898 MB / 0.5497 GB, free: 4.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005537/0.9512, allocations: 85.67 kB / 0.5498 GB, free: 4.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.9531, allocations: 1.342 MB / 0.5511 GB, free: 2.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.9544, allocations: 0.7166 MB / 0.5518 GB, free: 2.129 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.9547, allocations: 44 kB / 0.5518 GB, free: 2.086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.955, allocations: 406.7 kB / 0.5522 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.9582, allocations: 1.332 MB / 0.5535 GB, free: 356 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2741/1.232, allocations: 1.763 MB / 0.5552 GB, free: 105.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/1.236, allocations: 1.487 MB / 0.5567 GB, free: 105.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/1.236, allocations: 2.219 kB / 0.5567 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01038/1.246, allocations: 4.366 MB / 0.5609 GB, free: 105.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/1.247, allocations: 12.39 kB / 0.561 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/1.247, allocations: 8.969 kB / 0.561 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/1.252, allocations: 1.679 MB / 0.5626 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.254, allocations: 387.6 kB / 0.563 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/1.278, allocations: 19.29 MB / 0.5818 GB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.281, allocations: 196.5 kB / 0.582 GB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/1.281, allocations: 82.09 kB / 0.5821 GB, free: 94.48 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: 60 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[1].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[2].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[3].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,$PRE.switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,$PRE.switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,$PRE.switchYDwithArc.logicalDelay[3].tSwitch,switchYDwithArc.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 (240): * Single equations (assignments): 230 * 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: 8 * 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: 2 {(6,61.1%) 46,(1,100.0%) 1} * Non-linear torn systems: 6 {1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006544/1.282, allocations: 302.8 kB / 0.5824 GB, free: 94.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/1.283, allocations: 248.3 kB / 0.5826 GB, free: 94.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.299, allocations: 4.125 MB / 0.5866 GB, free: 94.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/1.299, allocations: 20.78 kB / 0.5867 GB, free: 94.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-05/1.299, allocations: 6.812 kB / 0.5867 GB, free: 94.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.537e-05/1.299, allocations: 11.48 kB / 0.5867 GB, free: 94.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07364/1.373, allocations: 8.387 MB / 0.5949 GB, free: 91.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.373, allocations: 3.625 kB / 0.5949 GB, free: 91.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.374, allocations: 257.1 kB / 0.5951 GB, free: 91.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005321/1.38, allocations: 1.71 MB / 0.5968 GB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00042/1.38, allocations: 62.12 kB / 0.5968 GB, free: 91.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/1.404, allocations: 20.01 MB / 0.6164 GB, free: 75.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-06/1.404, allocations: 5.719 kB / 0.6164 GB, free: 75.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.416, allocations: 6.285 MB / 0.6225 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.418, allocations: 0.6127 MB / 0.6231 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007281/1.419, allocations: 71.66 kB / 0.6232 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.421, allocations: 164.5 kB / 0.6234 GB, free: 72.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009569/1.422, allocations: 405.2 kB / 0.6237 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.422, allocations: 67.45 kB / 0.6238 GB, free: 72.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002766/1.425, allocations: 1.458 MB / 0.6252 GB, free: 72.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.425, allocations: 0 / 0.6252 GB, free: 72.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004249/1.429, allocations: 0.8143 MB / 0.626 GB, free: 72.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi,inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 39 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[3].tSwitch) * Number of discrete states: 12 (switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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 {(9,46.9%) 43,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 6 {1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008882/1.43, allocations: 407.7 kB / 0.6264 GB, free: 71.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00843/1.438, allocations: 4.496 MB / 0.6308 GB, free: 69.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.288e-06/1.438, allocations: 0 / 0.6308 GB, free: 69.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007152/1.445, allocations: 3.709 MB / 0.6344 GB, free: 67.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.449, allocations: 0.5765 MB / 0.635 GB, free: 67.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.463, allocations: 6.181 MB / 0.641 GB, free: 63.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.466, allocations: 2.533 MB / 0.6435 GB, free: 61.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002294/1.468, allocations: 0.5344 MB / 0.644 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/1.469, allocations: 150.7 kB / 0.6442 GB, free: 60.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.718e-06/1.469, allocations: 0 / 0.6442 GB, free: 60.78 MB / 442.7 MB Notification: Performance of Templates: time 0.1497/1.619, allocations: 46.52 MB / 0.6896 GB, free: 21.96 MB / 442.7 MB