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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.31e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09049, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4925, allocations: 110.8 MB / 453.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4928, allocations: 83.2 kB / 453.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2987/0.7915, allocations: 65.57 MB / 0.5069 GB, free: 1.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.878e-06/0.7916, allocations: 0 / 0.5069 GB, free: 1.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000345/0.792, allocations: 87.88 kB / 0.507 GB, free: 1.75 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.01035/0.8023, allocations: 3.273 MB / 0.5102 GB, free: 14.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8024, allocations: 12.03 kB / 0.5102 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.8047, allocations: 443.2 kB / 0.5106 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.8121, allocations: 2.379 MB / 0.5129 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.8125, allocations: 230.2 kB / 0.5131 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.8137, allocations: 311.9 kB / 0.5134 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.8261, allocations: 4.205 MB / 0.5175 GB, free: 6.637 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.8262, allocations: 8 kB / 0.5175 GB, free: 6.629 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006556/0.8269, allocations: 132 kB / 0.5177 GB, free: 6.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.8271, allocations: 126 kB / 0.5178 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009957/0.8371, allocations: 3.428 MB / 0.5211 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3045/1.142, allocations: 13.58 MB / 0.5344 GB, free: 99.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/1.146, allocations: 2.856 MB / 0.5372 GB, free: 98.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/1.15, allocations: 1.594 MB / 0.5388 GB, free: 98.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/1.15, allocations: 144.5 kB / 0.5389 GB, free: 98.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.15, allocations: 55.55 kB / 0.5389 GB, free: 98.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 5.487e-06/1.15, allocations: 0 / 0.5389 GB, free: 98.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.01934/1.169, allocations: 7.288 MB / 0.5461 GB, free: 97.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.17, allocations: 68.94 kB / 0.5461 GB, free: 97.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/1.174, allocations: 2.043 MB / 0.5481 GB, free: 97.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003674/1.174, allocations: 62.16 kB / 0.5482 GB, free: 97.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.175, allocations: 1.458 MB / 0.5496 GB, free: 96.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/1.176, allocations: 0.6137 MB / 0.5502 GB, free: 96.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.176, allocations: 39.59 kB / 0.5502 GB, free: 96.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/1.176, allocations: 386.8 kB / 0.5506 GB, free: 96.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/1.178, allocations: 1.073 MB / 0.5517 GB, free: 96.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/1.181, allocations: 1.479 MB / 0.5531 GB, free: 95.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.184, allocations: 1.298 MB / 0.5544 GB, free: 95.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.184, allocations: 3.156 kB / 0.5544 GB, free: 95.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007649/1.191, allocations: 3.444 MB / 0.5577 GB, free: 95.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.191, allocations: 14.86 kB / 0.5578 GB, free: 95.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.191, allocations: 11.72 kB / 0.5578 GB, free: 95.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/1.194, allocations: 0.802 MB / 0.5585 GB, free: 95.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/1.197, allocations: 463.1 kB / 0.559 GB, free: 95.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.208, allocations: 10.25 MB / 0.569 GB, free: 87.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.211, allocations: 129.5 kB / 0.5691 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/1.212, allocations: 80.22 kB / 0.5692 GB, free: 87.16 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.0005466/1.212, allocations: 223.6 kB / 0.5694 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/1.213, allocations: 242.9 kB / 0.5696 GB, free: 86.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/1.22, allocations: 3.267 MB / 0.5728 GB, free: 85.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.22, allocations: 21.69 kB / 0.5729 GB, free: 85.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.22, allocations: 3.656 kB / 0.5729 GB, free: 85.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.22, allocations: 9.984 kB / 0.5729 GB, free: 85.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.235, allocations: 6.811 MB / 0.5795 GB, free: 82.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.235, allocations: 3.094 kB / 0.5795 GB, free: 82.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/1.237, allocations: 306.8 kB / 0.5798 GB, free: 82.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/1.241, allocations: 0.924 MB / 0.5807 GB, free: 82.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003132/1.241, allocations: 41.33 kB / 0.5808 GB, free: 82.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.255, allocations: 13.47 MB / 0.5939 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.998e-06/1.255, allocations: 3.312 kB / 0.5939 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009312/1.264, allocations: 4.99 MB / 0.5988 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.266, allocations: 0.5726 MB / 0.5993 GB, free: 69.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/1.267, allocations: 46.33 kB / 0.5994 GB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.269, allocations: 124.5 kB / 0.5995 GB, free: 69.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004882/1.269, allocations: 175.5 kB / 0.5997 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.269, allocations: 54.42 kB / 0.5997 GB, free: 69.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002971/1.272, allocations: 1.569 MB / 0.6013 GB, free: 68.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.69e-07/1.272, allocations: 0 / 0.6013 GB, free: 68.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003381/1.276, allocations: 0.7352 MB / 0.602 GB, free: 68.41 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.0007599/1.277, allocations: 376.1 kB / 0.6023 GB, free: 68.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005948/1.283, allocations: 3.434 MB / 0.6057 GB, free: 66.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.755e-06/1.283, allocations: 0 / 0.6057 GB, free: 66.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00429/1.287, allocations: 2.433 MB / 0.6081 GB, free: 65.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/1.291, allocations: 0.6715 MB / 0.6087 GB, free: 65.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.31, allocations: 5.621 MB / 0.6142 GB, free: 61.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004734/1.315, allocations: 2.581 MB / 0.6167 GB, free: 59.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004681/1.32, allocations: 0.5805 MB / 0.6173 GB, free: 59.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/1.321, allocations: 158 kB / 0.6174 GB, free: 58.98 MB / 442.7 MB Notification: Performance of SimCode: time 3.104e-06/1.321, allocations: 0 / 0.6174 GB, free: 58.98 MB / 442.7 MB Notification: Performance of Templates: time 0.1118/1.433, allocations: 41.97 MB / 0.6584 GB, free: 25.03 MB / 442.7 MB