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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.022e-05, allocations: 2.375 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07829, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.4573, allocations: 110.5 MB / 410.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4576, allocations: 82.45 kB / 410.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.239/0.6966, allocations: 62.04 MB / 472.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6967, allocations: 0 / 472.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003015/0.697, allocations: 75.94 kB / 472.5 MB, free: 15.9 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.008879/0.7059, allocations: 2.983 MB / 475.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.706, allocations: 8.031 kB / 475.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.7087, allocations: 483.5 kB / 476 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.7217, allocations: 2.041 MB / 478 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000925/0.7227, allocations: 379.8 kB / 478.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/0.7248, allocations: 283.9 kB / 478.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.7465, allocations: 3.558 MB / 482.2 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.7468, allocations: 7.906 kB / 482.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.748, allocations: 127.9 kB / 482.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003151/0.7483, allocations: 113.5 kB / 482.5 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.7664, allocations: 2.806 MB / 485.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.812, allocations: 11.75 MB / 497 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.817, allocations: 2.788 MB / 499.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.8196, allocations: 1.097 MB / 0.4892 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.8201, allocations: 147.7 kB / 0.4893 GB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/0.8226, allocations: 1.124 MB / 0.4904 GB, free: 1.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=155): time 7.073e-06/0.8227, allocations: 0 / 0.4904 GB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.02616/0.8488, allocations: 7.965 MB / 0.4982 GB, free: 9.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/0.8491, allocations: 304.7 kB / 0.4985 GB, free: 8.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.8533, allocations: 1.812 MB / 0.5003 GB, free: 7.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003795/0.8538, allocations: 65.69 kB / 0.5003 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.8553, allocations: 1.261 MB / 0.5015 GB, free: 5.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009794/0.8563, allocations: 0.5971 MB / 0.5021 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.8565, allocations: 40 kB / 0.5022 GB, free: 5.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/0.8568, allocations: 390.8 kB / 0.5025 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.8592, allocations: 0.9958 MB / 0.5035 GB, free: 3.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.8623, allocations: 1.52 MB / 0.505 GB, free: 1.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.8651, allocations: 1.208 MB / 0.5062 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.8652, allocations: 4 kB / 0.5062 GB, free: 0.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.2397/1.105, allocations: 3.407 MB / 0.5095 GB, free: 84.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009994/1.106, allocations: 4.975 MB / 0.5144 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/1.106, allocations: 14.09 kB / 0.5144 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004454/1.11, allocations: 1.198 MB / 0.5156 GB, free: 78.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.113, allocations: 373.1 kB / 0.5159 GB, free: 78.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/1.132, allocations: 14.56 MB / 0.5301 GB, free: 71.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.135, allocations: 180.6 kB / 0.5303 GB, free: 71.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/1.136, allocations: 82.33 kB / 0.5304 GB, free: 71.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.136, allocations: 4.125 kB / 0.5304 GB, free: 71.04 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007468/1.143, allocations: 3.322 MB / 0.5336 GB, free: 70.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/1.144, allocations: 14.38 kB / 0.5336 GB, free: 70.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/1.147, allocations: 1.149 MB / 0.5348 GB, free: 70.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.149, allocations: 370.2 kB / 0.5351 GB, free: 70.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/1.168, allocations: 14.67 MB / 0.5494 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.17, allocations: 167.2 kB / 0.5496 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.17, allocations: 79.62 kB / 0.5497 GB, free: 62.97 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.0005864/1.171, allocations: 250.2 kB / 0.5499 GB, free: 62.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006405/1.172, allocations: 231.9 kB / 0.5501 GB, free: 62.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/1.18, allocations: 3.384 MB / 0.5534 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.18, allocations: 18.81 kB / 0.5535 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.18, allocations: 0 / 0.5535 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/1.18, allocations: 14.86 kB / 0.5535 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.196, allocations: 6.645 MB / 0.56 GB, free: 59.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.196, allocations: 3.719 kB / 0.56 GB, free: 59.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.197, allocations: 199.8 kB / 0.5601 GB, free: 59.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/1.202, allocations: 1.389 MB / 0.5615 GB, free: 59.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/1.203, allocations: 50.25 kB / 0.5616 GB, free: 59.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02097/1.224, allocations: 14.59 MB / 0.5758 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.489e-06/1.224, allocations: 7.344 kB / 0.5758 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.234, allocations: 4.883 MB / 0.5806 GB, free: 47.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.236, allocations: 0.5322 MB / 0.5811 GB, free: 47.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/1.237, allocations: 51.83 kB / 0.5811 GB, free: 47.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.239, allocations: 133.4 kB / 0.5813 GB, free: 47.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007399/1.24, allocations: 225.5 kB / 0.5815 GB, free: 47.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.24, allocations: 57.41 kB / 0.5815 GB, free: 47.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003001/1.243, allocations: 1.389 MB / 0.5829 GB, free: 46.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.315e-06/1.243, allocations: 0 / 0.5829 GB, free: 46.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005956/1.249, allocations: 1.246 MB / 0.5841 GB, free: 46.44 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.0007409/1.25, allocations: 341.8 kB / 0.5844 GB, free: 46.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/1.263, allocations: 6.207 MB / 0.5905 GB, free: 43.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.263, allocations: 7.172 kB / 0.5905 GB, free: 43.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005316/1.268, allocations: 2.315 MB / 0.5928 GB, free: 41.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.272, allocations: 0.5088 MB / 0.5933 GB, free: 41.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.284, allocations: 5.151 MB / 0.5983 GB, free: 37.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/1.287, allocations: 2.282 MB / 0.6005 GB, free: 35.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008391/1.288, allocations: 143.4 kB / 0.6007 GB, free: 35.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.119e-06/1.288, allocations: 0 / 0.6007 GB, free: 35.4 MB / 394.7 MB Notification: Performance of Templates: time 0.3865/1.674, allocations: 116.9 MB / 0.7149 GB, free: 81.46 MB / 410.7 MB