Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.347e-05, allocations: 5.562 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09137, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.4897, allocations: 110.8 MB / 453.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.49, allocations: 83.33 kB / 454 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2571/0.7471, allocations: 65.58 MB / 0.5074 GB, free: 1.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.867e-06/0.7472, allocations: 0 / 0.5074 GB, free: 1.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003515/0.7475, allocations: 95.86 kB / 0.5075 GB, free: 1.738 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009969/0.7575, allocations: 3.265 MB / 0.5107 GB, free: 14.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7576, allocations: 8.031 kB / 0.5107 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.7598, allocations: 447.2 kB / 0.5111 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007134/0.767, allocations: 2.375 MB / 0.5134 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.7674, allocations: 234.1 kB / 0.5136 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.7686, allocations: 307.9 kB / 0.5139 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.7831, allocations: 4.201 MB / 0.518 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002028/0.7834, allocations: 15.92 kB / 0.5181 GB, free: 6.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.7846, allocations: 124 kB / 0.5182 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002583/0.7849, allocations: 130 kB / 0.5183 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.7987, allocations: 3.432 MB / 0.5217 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3725/1.171, allocations: 13.58 MB / 0.5349 GB, free: 98.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/1.176, allocations: 2.86 MB / 0.5377 GB, free: 98.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/1.179, allocations: 1.59 MB / 0.5393 GB, free: 98.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/1.18, allocations: 142.8 kB / 0.5394 GB, free: 97.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.18, allocations: 51.39 kB / 0.5394 GB, free: 97.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 6.077e-06/1.18, allocations: 4.125 kB / 0.5395 GB, free: 97.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.01938/1.199, allocations: 7.293 MB / 0.5466 GB, free: 96.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.199, allocations: 72.91 kB / 0.5466 GB, free: 96.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/1.203, allocations: 2.04 MB / 0.5486 GB, free: 96.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003635/1.204, allocations: 59.36 kB / 0.5487 GB, free: 96.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.205, allocations: 1.461 MB / 0.5501 GB, free: 96.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/1.206, allocations: 0.6125 MB / 0.5507 GB, free: 95.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.206, allocations: 38.34 kB / 0.5508 GB, free: 95.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/1.206, allocations: 386.6 kB / 0.5511 GB, free: 95.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/1.208, allocations: 1.08 MB / 0.5522 GB, free: 95.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/1.21, allocations: 1.474 MB / 0.5536 GB, free: 95.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.213, allocations: 1.299 MB / 0.5549 GB, free: 95.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.213, allocations: 3.969 kB / 0.5549 GB, free: 95.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007405/1.22, allocations: 3.446 MB / 0.5583 GB, free: 94.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.22, allocations: 14.94 kB / 0.5583 GB, free: 94.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.221, allocations: 15.12 kB / 0.5583 GB, free: 94.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/1.223, allocations: 0.7983 MB / 0.5591 GB, free: 94.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/1.226, allocations: 466.1 kB / 0.5595 GB, free: 94.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.237, allocations: 10.25 MB / 0.5695 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/1.239, allocations: 130.1 kB / 0.5696 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/1.24, allocations: 79.16 kB / 0.5697 GB, free: 86.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004886/1.24, allocations: 216.2 kB / 0.5699 GB, free: 86.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006253/1.241, allocations: 247.8 kB / 0.5702 GB, free: 86.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/1.248, allocations: 3.266 MB / 0.5734 GB, free: 85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.248, allocations: 19.59 kB / 0.5734 GB, free: 85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.248, allocations: 10.53 kB / 0.5734 GB, free: 85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.248, allocations: 10.22 kB / 0.5734 GB, free: 85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.262, allocations: 6.806 MB / 0.58 GB, free: 82.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.262, allocations: 3.938 kB / 0.58 GB, free: 82.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.264, allocations: 311.3 kB / 0.5803 GB, free: 82.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/1.267, allocations: 0.9117 MB / 0.5812 GB, free: 82.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.267, allocations: 45.23 kB / 0.5813 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.281, allocations: 13.47 MB / 0.5944 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.56e-06/1.281, allocations: 7.109 kB / 0.5944 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008957/1.29, allocations: 4.992 MB / 0.5993 GB, free: 68.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.292, allocations: 0.5769 MB / 0.5999 GB, free: 68.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005458/1.292, allocations: 43.06 kB / 0.5999 GB, free: 68.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.294, allocations: 127.3 kB / 0.6 GB, free: 68.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.295, allocations: 167.5 kB / 0.6002 GB, free: 68.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.295, allocations: 54.16 kB / 0.6002 GB, free: 68.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003023/1.298, allocations: 1.574 MB / 0.6018 GB, free: 67.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.004e-06/1.298, allocations: 0 / 0.6018 GB, free: 67.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003189/1.301, allocations: 0.7423 MB / 0.6025 GB, free: 67.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006902/1.302, allocations: 367.1 kB / 0.6029 GB, free: 67.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005633/1.307, allocations: 3.435 MB / 0.6062 GB, free: 66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.997e-06/1.308, allocations: 3.938 kB / 0.6062 GB, free: 65.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/1.312, allocations: 2.44 MB / 0.6086 GB, free: 64.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.316, allocations: 0.6644 MB / 0.6092 GB, free: 64.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.327, allocations: 5.612 MB / 0.6147 GB, free: 60.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/1.33, allocations: 2.584 MB / 0.6172 GB, free: 58.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002666/1.333, allocations: 0.5889 MB / 0.6178 GB, free: 58.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/1.334, allocations: 147 kB / 0.618 GB, free: 58.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.776e-06/1.334, allocations: 0 / 0.618 GB, free: 58.27 MB / 442.7 MB Notification: Performance of Templates: time 0.0913/1.425, allocations: 41.97 MB / 0.6589 GB, free: 24.36 MB / 442.7 MB