Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.093e-05, allocations: 5.406 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.5196, allocations: 105.3 MB / 448.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5199, allocations: 86.39 kB / 448.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.158/0.6779, allocations: 39.49 MB / 488 MB, free: 1.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.678, allocations: 0 / 488 MB, free: 1.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001451/0.6781, allocations: 47.92 kB / 488.1 MB, free: 1.594 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004195/0.6823, allocations: 1.74 MB / 489.8 MB, free: 15.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.6824, allocations: 8.031 kB / 489.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6834, allocations: 237.4 kB / 490 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.6868, allocations: 1.277 MB / 491.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.687, allocations: 115.1 kB / 491.4 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.6873, allocations: 148 kB / 491.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.6918, allocations: 1.938 MB / 493.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.654e-05/0.6919, allocations: 11.91 kB / 493.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.6921, allocations: 71.92 kB / 493.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.6923, allocations: 66.92 kB / 493.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.696, allocations: 1.521 MB / 495.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.7102, allocations: 6.87 MB / 0.4903 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.7112, allocations: 468.2 kB / 0.4907 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.7118, allocations: 282.1 kB / 0.491 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/0.7154, allocations: 1.463 MB / 0.4924 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.7155, allocations: 38.56 kB / 0.4925 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.283e-06/0.7155, allocations: 0 / 0.4925 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.008215/0.7237, allocations: 2.823 MB / 0.4952 GB, free: 13.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003218/0.727, allocations: 2.158 MB / 0.4973 GB, free: 11.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.7299, allocations: 1.376 MB / 0.4987 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.73, allocations: 33.7 kB / 0.4987 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.7311, allocations: 1.029 MB / 0.4997 GB, free: 9.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.7313, allocations: 209.3 kB / 0.4999 GB, free: 8.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.7314, allocations: 28 kB / 0.4999 GB, free: 8.883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.7317, allocations: 373.9 kB / 0.5003 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.7328, allocations: 487.8 kB / 0.5007 GB, free: 8.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.7346, allocations: 1.383 MB / 0.5021 GB, free: 6.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.7361, allocations: 0.7625 MB / 0.5028 GB, free: 5.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/0.7362, allocations: 16 kB / 0.5029 GB, free: 5.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00452/0.7407, allocations: 1.959 MB / 0.5048 GB, free: 3.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.7408, allocations: 20 kB / 0.5048 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.613e-05/0.7408, allocations: 35.95 kB / 0.5048 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.7416, allocations: 230.4 kB / 0.505 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.7432, allocations: 379.5 kB / 0.5054 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.7454, allocations: 1.742 MB / 0.5071 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.7474, allocations: 131.5 kB / 0.5072 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.7476, allocations: 95.98 kB / 0.5073 GB, free: 0.6875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.748, allocations: 216.2 kB / 0.5075 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.7483, allocations: 150.4 kB / 0.5077 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.7508, allocations: 1.039 MB / 0.5087 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.49e-06/0.7509, allocations: 8 kB / 0.5087 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-06/0.7509, allocations: 0 / 0.5087 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7509, allocations: 3.984 kB / 0.5087 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.7582, allocations: 3.085 MB / 0.5117 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7583, allocations: 8.062 kB / 0.5117 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.7588, allocations: 95.75 kB / 0.5118 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008792/0.7597, allocations: 230.3 kB / 0.512 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.7598, allocations: 19.95 kB / 0.5121 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005265/0.7651, allocations: 3.718 MB / 0.5157 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00284/0.768, allocations: 2.009 MB / 0.5176 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.7715, allocations: 1.804 MB / 0.5194 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007671/0.7723, allocations: 303.1 kB / 0.5197 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.7725, allocations: 12 kB / 0.5197 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.7734, allocations: 43.95 kB / 0.5198 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7736, allocations: 59.88 kB / 0.5198 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/0.7736, allocations: 16 kB / 0.5198 GB, free: 3.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002147/0.7758, allocations: 1.015 MB / 0.5208 GB, free: 2.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.7758, allocations: 0 / 0.5208 GB, free: 2.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002531/0.7784, allocations: 404 kB / 0.5212 GB, free: 1.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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: 2 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000646/0.779, allocations: 386.7 kB / 0.5216 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2368/1.016, allocations: 1.46 MB / 0.523 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8e-06/1.016, allocations: 1.375 kB / 0.523 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/1.018, allocations: 0.7815 MB / 0.5238 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.02, allocations: 370 kB / 0.5241 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/1.026, allocations: 2.377 MB / 0.5264 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.027, allocations: 1.502 MB / 0.5279 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001674/1.029, allocations: 348.6 kB / 0.5282 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/1.03, allocations: 106.3 kB / 0.5283 GB, free: 121.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.738e-06/1.03, allocations: 0 / 0.5283 GB, free: 121.1 MB / 442.7 MB Notification: Performance of Templates: time 0.05618/1.086, allocations: 21.83 MB / 0.5496 GB, free: 120.1 MB / 442.7 MB