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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.511e-05, allocations: 0 / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09116, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5209, allocations: 108.5 MB / 451 MB, free: 2.105 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5212, allocations: 85.95 kB / 451.1 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2607/0.7818, allocations: 65.59 MB / 0.5046 GB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.036e-06/0.7819, allocations: 0 / 0.5046 GB, free: 4.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002981/0.7822, allocations: 83.94 kB / 0.5047 GB, free: 4.027 MB / 426.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.009921/0.7921, allocations: 3.207 MB / 0.5078 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7922, allocations: 12.03 kB / 0.5078 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.7941, allocations: 419.4 kB / 0.5082 GB, free: 324 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006277/0.8004, allocations: 2.179 MB / 0.5103 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006162/0.801, allocations: 0.5568 MB / 0.5109 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.8021, allocations: 291.8 kB / 0.5112 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.8126, allocations: 3.972 MB / 0.515 GB, free: 9.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.8127, allocations: 7.906 kB / 0.515 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004626/0.8132, allocations: 128 kB / 0.5152 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.8134, allocations: 117.6 kB / 0.5153 GB, free: 8.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009134/0.8225, allocations: 3.283 MB / 0.5185 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3184/1.141, allocations: 12.71 MB / 0.5309 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/1.146, allocations: 3.932 MB / 0.5347 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003239/1.15, allocations: 1.574 MB / 0.5363 GB, free: 99.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/1.15, allocations: 146.7 kB / 0.5364 GB, free: 99.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003201/1.153, allocations: 1.537 MB / 0.5379 GB, free: 99.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 6.107e-06/1.153, allocations: 0 / 0.5379 GB, free: 99.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.0259/1.179, allocations: 9.621 MB / 0.5473 GB, free: 98.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/1.179, allocations: 266.4 kB / 0.5476 GB, free: 98.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/1.183, allocations: 1.895 MB / 0.5494 GB, free: 98.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004511/1.183, allocations: 81.7 kB / 0.5495 GB, free: 98.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.185, allocations: 1.351 MB / 0.5508 GB, free: 97.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007921/1.186, allocations: 0.7148 MB / 0.5515 GB, free: 97.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/1.186, allocations: 48.81 kB / 0.5515 GB, free: 97.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/1.186, allocations: 400.1 kB / 0.5519 GB, free: 97.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/1.188, allocations: 1.34 MB / 0.5532 GB, free: 97.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/1.191, allocations: 1.76 MB / 0.555 GB, free: 96.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/1.194, allocations: 1.493 MB / 0.5564 GB, free: 96.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.194, allocations: 3.562 kB / 0.5564 GB, free: 96.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.009445/1.204, allocations: 4.367 MB / 0.5607 GB, free: 95.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/1.204, allocations: 8.719 kB / 0.5607 GB, free: 95.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.204, allocations: 10.28 kB / 0.5607 GB, free: 95.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00795/1.212, allocations: 1.673 MB / 0.5623 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/1.215, allocations: 396.2 kB / 0.5627 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03958/1.255, allocations: 19.29 MB / 0.5815 GB, free: 80.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/1.26, allocations: 190.5 kB / 0.5817 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000796/1.261, allocations: 88.12 kB / 0.5818 GB, free: 80.27 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.001084/1.262, allocations: 295.9 kB / 0.5821 GB, free: 80.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.263, allocations: 247.2 kB / 0.5823 GB, free: 79.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.282, allocations: 4.135 MB / 0.5864 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/1.282, allocations: 18.41 kB / 0.5864 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/1.282, allocations: 9.125 kB / 0.5864 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/1.282, allocations: 10.41 kB / 0.5864 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/1.303, allocations: 8.377 MB / 0.5946 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.303, allocations: 3.562 kB / 0.5946 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.304, allocations: 257.2 kB / 0.5948 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/1.31, allocations: 1.715 MB / 0.5965 GB, free: 74.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/1.31, allocations: 61 kB / 0.5966 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/1.335, allocations: 20.01 MB / 0.6161 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.784e-06/1.335, allocations: 3.953 kB / 0.6161 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/1.347, allocations: 6.292 MB / 0.6223 GB, free: 54.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.349, allocations: 0.6147 MB / 0.6229 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007403/1.35, allocations: 70.86 kB / 0.6229 GB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.352, allocations: 163 kB / 0.6231 GB, free: 54.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.353, allocations: 410.8 kB / 0.6235 GB, free: 53.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.354, allocations: 65.89 kB / 0.6235 GB, free: 53.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002908/1.357, allocations: 1.454 MB / 0.625 GB, free: 52.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.77e-07/1.357, allocations: 0 / 0.625 GB, free: 52.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004156/1.361, allocations: 0.8148 MB / 0.6258 GB, free: 51.66 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.0008256/1.362, allocations: 395.5 kB / 0.6261 GB, free: 51.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008356/1.37, allocations: 4.496 MB / 0.6305 GB, free: 47.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.019e-06/1.37, allocations: 5.469 kB / 0.6305 GB, free: 47.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006939/1.377, allocations: 3.713 MB / 0.6342 GB, free: 43.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.381, allocations: 0.5842 MB / 0.6347 GB, free: 43.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.395, allocations: 6.181 MB / 0.6408 GB, free: 38.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002865/1.398, allocations: 2.536 MB / 0.6432 GB, free: 36.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00236/1.4, allocations: 0.5289 MB / 0.6438 GB, free: 35.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/1.401, allocations: 161.5 kB / 0.6439 GB, free: 35.56 MB / 442.7 MB Notification: Performance of SimCode: time 3.786e-06/1.401, allocations: 0 / 0.6439 GB, free: 35.56 MB / 442.7 MB Notification: Performance of Templates: time 0.1065/1.507, allocations: 46.51 MB / 0.6893 GB, free: 8.562 MB / 458.7 MB