Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.211e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07569/0.07573, allocations: 44.5 MB / 299.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4487, allocations: 110.5 MB / 410.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.449, allocations: 94.25 kB / 410.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.239/0.6881, allocations: 62.04 MB / 472.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.6881, allocations: 0 / 472.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000255/0.6884, allocations: 79.94 kB / 472.6 MB, free: 15.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.007922/0.6963, allocations: 2.989 MB / 475.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6964, allocations: 8.031 kB / 475.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.6987, allocations: 479.5 kB / 476 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.7046, allocations: 2.045 MB / 478.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.7051, allocations: 379.8 kB / 478.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/0.7058, allocations: 283.9 kB / 478.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008485/0.7143, allocations: 3.527 MB / 482.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.7144, allocations: 7.906 kB / 482.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.7148, allocations: 127.9 kB / 482.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.715, allocations: 109.5 kB / 482.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007164/0.7222, allocations: 2.771 MB / 485.3 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.7494, allocations: 11.74 MB / 497 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/0.7542, allocations: 2.773 MB / 499.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.7566, allocations: 1.105 MB / 0.4892 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.757, allocations: 142.4 kB / 0.4893 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/0.7593, allocations: 1.106 MB / 0.4904 GB, free: 1.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=155): time 5.916e-06/0.7593, allocations: 0 / 0.4904 GB, free: 1.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.02443/0.7838, allocations: 7.965 MB / 0.4981 GB, free: 9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/0.784, allocations: 308.7 kB / 0.4984 GB, free: 8.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.7882, allocations: 1.816 MB / 0.5002 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.7885, allocations: 65.64 kB / 0.5003 GB, free: 6.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.7903, allocations: 1.36 MB / 0.5016 GB, free: 5.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008259/0.7911, allocations: 0.5931 MB / 0.5022 GB, free: 4.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.7913, allocations: 40 kB / 0.5022 GB, free: 4.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.7916, allocations: 386 kB / 0.5026 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.7939, allocations: 0.9958 MB / 0.5036 GB, free: 3.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.7967, allocations: 1.512 MB / 0.505 GB, free: 1.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.7993, allocations: 1.2 MB / 0.5062 GB, free: 392 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.7994, allocations: 8 kB / 0.5062 GB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.2875/1.087, allocations: 3.513 MB / 0.5097 GB, free: 84.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009879/1.088, allocations: 5.217 MB / 0.5147 GB, free: 79.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.088, allocations: 12.62 kB / 0.5148 GB, free: 79.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/1.092, allocations: 1.191 MB / 0.5159 GB, free: 79.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.094, allocations: 376.9 kB / 0.5163 GB, free: 79.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.113, allocations: 14.55 MB / 0.5305 GB, free: 71.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.116, allocations: 176.7 kB / 0.5307 GB, free: 71.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/1.116, allocations: 82.25 kB / 0.5307 GB, free: 71.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.116, allocations: 4.125 kB / 0.5307 GB, free: 71.15 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006974/1.123, allocations: 3.286 MB / 0.534 GB, free: 71.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-05/1.123, allocations: 18.47 kB / 0.534 GB, free: 71.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003856/1.127, allocations: 1.193 MB / 0.5351 GB, free: 70.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/1.129, allocations: 365.7 kB / 0.5355 GB, free: 70.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/1.147, allocations: 14.52 MB / 0.5497 GB, free: 63.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.15, allocations: 161.2 kB / 0.5498 GB, free: 63.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/1.15, allocations: 81.59 kB / 0.5499 GB, free: 63.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005734/1.151, allocations: 245.1 kB / 0.5501 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.151, allocations: 233.1 kB / 0.5504 GB, free: 62.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/1.159, allocations: 3.382 MB / 0.5537 GB, free: 61.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.159, allocations: 18.03 kB / 0.5537 GB, free: 61.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-06/1.159, allocations: 0 / 0.5537 GB, free: 61.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.159, allocations: 20.12 kB / 0.5537 GB, free: 61.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.174, allocations: 6.643 MB / 0.5602 GB, free: 59.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.174, allocations: 0 / 0.5602 GB, free: 59.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.175, allocations: 199.9 kB / 0.5604 GB, free: 59.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/1.181, allocations: 1.388 MB / 0.5617 GB, free: 58.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003244/1.181, allocations: 46.42 kB / 0.5618 GB, free: 58.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/1.201, allocations: 14.6 MB / 0.576 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.194e-06/1.201, allocations: 3.844 kB / 0.576 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009422/1.211, allocations: 4.874 MB / 0.5808 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.212, allocations: 0.5303 MB / 0.5813 GB, free: 46.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/1.213, allocations: 53.31 kB / 0.5814 GB, free: 46.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.214, allocations: 139.7 kB / 0.5815 GB, free: 46.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005744/1.215, allocations: 220.1 kB / 0.5817 GB, free: 46.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.215, allocations: 54.78 kB / 0.5818 GB, free: 46.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002565/1.218, allocations: 1.393 MB / 0.5831 GB, free: 46.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.38e-07/1.218, allocations: 0 / 0.5831 GB, free: 46.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005022/1.223, allocations: 1.258 MB / 0.5843 GB, free: 45.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006446/1.223, allocations: 334.2 kB / 0.5847 GB, free: 45.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/1.235, allocations: 6.099 MB / 0.5906 GB, free: 42.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.235, allocations: 0 / 0.5906 GB, free: 42.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004801/1.24, allocations: 2.358 MB / 0.5929 GB, free: 41.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.243, allocations: 0.5169 MB / 0.5934 GB, free: 41.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.254, allocations: 5.122 MB / 0.5984 GB, free: 36.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/1.257, allocations: 2.317 MB / 0.6007 GB, free: 34.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003632/1.26, allocations: 0.8935 MB / 0.6016 GB, free: 34.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/1.261, allocations: 103 kB / 0.6017 GB, free: 34.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.108e-06/1.261, allocations: 0 / 0.6017 GB, free: 34.12 MB / 394.7 MB Notification: Performance of Templates: time 0.1264/1.387, allocations: 50.36 MB / 0.6508 GB, free: 7.438 MB / 410.7 MB