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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-05/4.604e-05, allocations: 2.812 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5325, allocations: 105.6 MB / 448.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.5328, allocations: 86.06 kB / 448.3 MB, free: 4.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2128/0.7457, allocations: 53.49 MB / 0.49 GB, free: 3.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.388e-06/0.7457, allocations: 0 / 0.49 GB, free: 3.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002644/0.746, allocations: 67.94 kB / 0.49 GB, free: 3.066 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.008239/0.7542, allocations: 2.719 MB / 0.4927 GB, free: 296 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7543, allocations: 8.031 kB / 0.4927 GB, free: 288 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.7561, allocations: 364.5 kB / 0.4931 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.7616, allocations: 1.886 MB / 0.4949 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.762, allocations: 189.1 kB / 0.4951 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007858/0.7628, allocations: 259.8 kB / 0.4953 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009516/0.7723, allocations: 3.382 MB / 0.4986 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.7724, allocations: 19.78 kB / 0.4987 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/0.7729, allocations: 112 kB / 0.4988 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.7731, allocations: 104.9 kB / 0.4989 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008185/0.7813, allocations: 2.805 MB / 0.5016 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/0.8081, allocations: 10.92 MB / 0.5123 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005577/0.8137, allocations: 3.052 MB / 0.5152 GB, free: 8.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.8166, allocations: 1.245 MB / 0.5165 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.817, allocations: 150.3 kB / 0.5166 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/0.8195, allocations: 1.103 MB / 0.5177 GB, free: 5.949 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 5.909e-06/0.8195, allocations: 0 / 0.5177 GB, free: 5.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.2714/1.091, allocations: 6.722 MB / 0.5242 GB, free: 111.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/1.091, allocations: 179.8 kB / 0.5244 GB, free: 111.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.095, allocations: 1.595 MB / 0.526 GB, free: 110.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003141/1.095, allocations: 61.22 kB / 0.526 GB, free: 110.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.096, allocations: 1.167 MB / 0.5272 GB, free: 110.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/1.097, allocations: 0.5662 MB / 0.5277 GB, free: 110.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.097, allocations: 34.5 kB / 0.5278 GB, free: 110.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/1.097, allocations: 380.2 kB / 0.5281 GB, free: 110.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/1.099, allocations: 0.948 MB / 0.529 GB, free: 110.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.101, allocations: 1.314 MB / 0.5303 GB, free: 109.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/1.103, allocations: 1.106 MB / 0.5314 GB, free: 109.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.104, allocations: 3 kB / 0.5314 GB, free: 109.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007256/1.111, allocations: 3.161 MB / 0.5345 GB, free: 109.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.111, allocations: 8.469 kB / 0.5345 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.111, allocations: 10.41 kB / 0.5345 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/1.114, allocations: 0.872 MB / 0.5354 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/1.116, allocations: 338 kB / 0.5357 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.129, allocations: 9.537 MB / 0.545 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.132, allocations: 145.9 kB / 0.5451 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/1.132, allocations: 67.41 kB / 0.5452 GB, free: 105.5 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.0004742/1.132, allocations: 227 kB / 0.5454 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/1.133, allocations: 204.9 kB / 0.5456 GB, free: 105.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/1.139, allocations: 3.046 MB / 0.5486 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.139, allocations: 15.59 kB / 0.5486 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.139, allocations: 11.28 kB / 0.5486 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/1.139, allocations: 9.422 kB / 0.5486 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.153, allocations: 6.183 MB / 0.5547 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.153, allocations: 3.688 kB / 0.5547 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.154, allocations: 222.5 kB / 0.5549 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/1.157, allocations: 0.9215 MB / 0.5558 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/1.158, allocations: 41.83 kB / 0.5558 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/1.172, allocations: 11.02 MB / 0.5666 GB, free: 95.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.017e-06/1.172, allocations: 6.344 kB / 0.5666 GB, free: 95.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/1.18, allocations: 4.581 MB / 0.5711 GB, free: 93.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.182, allocations: 0.5002 MB / 0.5715 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.182, allocations: 46.02 kB / 0.5716 GB, free: 92.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.184, allocations: 110.8 kB / 0.5717 GB, free: 92.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/1.184, allocations: 201.3 kB / 0.5719 GB, free: 92.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.184, allocations: 48.59 kB / 0.5719 GB, free: 92.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002307/1.187, allocations: 1.218 MB / 0.5731 GB, free: 92.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.365e-06/1.187, allocations: 0 / 0.5731 GB, free: 92.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003113/1.19, allocations: 0.6647 MB / 0.5738 GB, free: 92.17 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.0006609/1.191, allocations: 335.1 kB / 0.5741 GB, free: 92.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00551/1.196, allocations: 3.069 MB / 0.5771 GB, free: 90.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.386e-06/1.196, allocations: 5.719 kB / 0.5771 GB, free: 90.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004162/1.2, allocations: 2.153 MB / 0.5792 GB, free: 89.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.204, allocations: 0.5424 MB / 0.5797 GB, free: 89.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.214, allocations: 4.689 MB / 0.5843 GB, free: 87.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/1.217, allocations: 2.24 MB / 0.5865 GB, free: 86.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001999/1.219, allocations: 439.2 kB / 0.5869 GB, free: 86.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/1.22, allocations: 132.4 kB / 0.587 GB, free: 86.43 MB / 442.7 MB Notification: Performance of SimCode: time 2.858e-06/1.22, allocations: 0 / 0.587 GB, free: 86.43 MB / 442.7 MB Notification: Performance of Templates: time 0.08213/1.302, allocations: 37 MB / 0.6232 GB, free: 63.2 MB / 442.7 MB