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.768/1.768, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.94e-05, allocations: 7.938 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07454, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.4395, allocations: 110.5 MB / 410.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4397, allocations: 86.75 kB / 410.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2695/0.7092, allocations: 62.03 MB / 472.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.7093, allocations: 0 / 472.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003012/0.7096, allocations: 75.94 kB / 472.6 MB, free: 15.88 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.009079/0.7187, allocations: 2.99 MB / 475.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7187, allocations: 12.03 kB / 475.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.7213, allocations: 479.5 kB / 476 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/0.7275, allocations: 2.045 MB / 478.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/0.7279, allocations: 375.8 kB / 478.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008501/0.7288, allocations: 283.9 kB / 478.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00936/0.7382, allocations: 3.527 MB / 482.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.7383, allocations: 3.906 kB / 482.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.7388, allocations: 124 kB / 482.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.7389, allocations: 117.5 kB / 482.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007632/0.7466, allocations: 2.771 MB / 485.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.775, allocations: 11.75 MB / 497 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.7797, allocations: 2.768 MB / 499.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.7821, allocations: 1.098 MB / 0.4891 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/0.7825, allocations: 142.4 kB / 0.4893 GB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.7849, allocations: 1.11 MB / 0.4903 GB, free: 1.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=155): time 5.527e-06/0.785, allocations: 4 kB / 0.4903 GB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.02457/0.8096, allocations: 7.968 MB / 0.4981 GB, free: 9.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.8098, allocations: 312.7 kB / 0.4984 GB, free: 8.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.814, allocations: 1.812 MB / 0.5002 GB, free: 7.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003829/0.8144, allocations: 61.7 kB / 0.5003 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.8159, allocations: 1.261 MB / 0.5015 GB, free: 5.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/0.8168, allocations: 0.597 MB / 0.5021 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.817, allocations: 48 kB / 0.5021 GB, free: 5.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.8173, allocations: 390.8 kB / 0.5025 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.8195, allocations: 0.9958 MB / 0.5035 GB, free: 3.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.8223, allocations: 1.509 MB / 0.5049 GB, free: 2.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.825, allocations: 1.208 MB / 0.5061 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.825, allocations: 4 kB / 0.5061 GB, free: 0.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.2278/1.053, allocations: 3.366 MB / 0.5094 GB, free: 84.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009831/1.054, allocations: 4.975 MB / 0.5143 GB, free: 78.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.054, allocations: 14.34 kB / 0.5143 GB, free: 78.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/1.058, allocations: 1.2 MB / 0.5154 GB, free: 78.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.06, allocations: 378.4 kB / 0.5158 GB, free: 78.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.079, allocations: 14.54 MB / 0.53 GB, free: 71.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.082, allocations: 173.3 kB / 0.5302 GB, free: 71.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.082, allocations: 84.31 kB / 0.5303 GB, free: 71.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.082, allocations: 4.125 kB / 0.5303 GB, free: 71.05 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007008/1.089, allocations: 3.293 MB / 0.5335 GB, free: 70.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/1.09, allocations: 11.72 kB / 0.5335 GB, free: 70.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.093, allocations: 1.158 MB / 0.5346 GB, free: 70.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.095, allocations: 366.3 kB / 0.535 GB, free: 70.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.113, allocations: 14.66 MB / 0.5493 GB, free: 62.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.115, allocations: 164.7 kB / 0.5494 GB, free: 62.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/1.115, allocations: 81.02 kB / 0.5495 GB, free: 62.99 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.0005733/1.116, allocations: 245.2 kB / 0.5497 GB, free: 62.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/1.117, allocations: 235.5 kB / 0.55 GB, free: 62.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007902/1.125, allocations: 3.387 MB / 0.5533 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/1.125, allocations: 19.69 kB / 0.5533 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.505e-06/1.125, allocations: 2.469 kB / 0.5533 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/1.125, allocations: 5.859 kB / 0.5533 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/1.14, allocations: 6.638 MB / 0.5598 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.14, allocations: 3.531 kB / 0.5598 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.141, allocations: 207.2 kB / 0.56 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004915/1.146, allocations: 1.388 MB / 0.5613 GB, free: 59.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/1.146, allocations: 47.55 kB / 0.5614 GB, free: 59.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/1.167, allocations: 14.59 MB / 0.5756 GB, free: 49.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.167, allocations: 6.531 kB / 0.5756 GB, free: 49.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009702/1.177, allocations: 4.877 MB / 0.5804 GB, free: 47.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.178, allocations: 0.5269 MB / 0.5809 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005385/1.179, allocations: 52.61 kB / 0.581 GB, free: 47.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.181, allocations: 137.6 kB / 0.5811 GB, free: 47.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/1.182, allocations: 228 kB / 0.5813 GB, free: 47.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.182, allocations: 53.06 kB / 0.5814 GB, free: 47.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00275/1.185, allocations: 1.39 MB / 0.5827 GB, free: 46.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.055e-06/1.185, allocations: 0 / 0.5827 GB, free: 46.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00556/1.19, allocations: 1.25 MB / 0.5839 GB, free: 46.48 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.0007847/1.191, allocations: 336 kB / 0.5843 GB, free: 46.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.203, allocations: 6.067 MB / 0.5902 GB, free: 43.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.143e-06/1.203, allocations: 4 kB / 0.5902 GB, free: 43.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004839/1.208, allocations: 2.255 MB / 0.5924 GB, free: 42.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.211, allocations: 0.5042 MB / 0.5929 GB, free: 42.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.223, allocations: 5.158 MB / 0.5979 GB, free: 37.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/1.226, allocations: 2.283 MB / 0.6002 GB, free: 35.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/1.226, allocations: 146.4 kB / 0.6003 GB, free: 35.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.945e-06/1.226, allocations: 0 / 0.6003 GB, free: 35.83 MB / 394.7 MB Notification: Performance of Templates: time 0.3647/1.591, allocations: 116.7 MB / 0.7142 GB, free: 81.52 MB / 410.7 MB