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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.196e-05, allocations: 4 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.0924, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.5597, allocations: 105.3 MB / 447.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.5601, allocations: 87.89 kB / 448 MB, free: 5.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.7141, allocations: 39.5 MB / 487.5 MB, free: 1.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.966e-06/0.7141, allocations: 0 / 487.5 MB, free: 1.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.7143, allocations: 39.94 kB / 487.5 MB, free: 1.582 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.003891/0.7182, allocations: 1.748 MB / 489.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7182, allocations: 12.03 kB / 489.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.7191, allocations: 241.4 kB / 489.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.7224, allocations: 1.265 MB / 490.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.7226, allocations: 115.1 kB / 490.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.7229, allocations: 152 kB / 491 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004484/0.7274, allocations: 1.941 MB / 493 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/0.7275, allocations: 3.906 kB / 493 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.7278, allocations: 64 kB / 493.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.7279, allocations: 70.92 kB / 493.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.7317, allocations: 1.521 MB / 494.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.7457, allocations: 6.867 MB / 0.4898 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.7467, allocations: 468.2 kB / 0.4902 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.7473, allocations: 282.1 kB / 0.4905 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003454/0.7508, allocations: 1.459 MB / 0.4919 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.7508, allocations: 38.56 kB / 0.4919 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.315e-06/0.7509, allocations: 4 kB / 0.4919 GB, free: 0.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.008032/0.7589, allocations: 2.822 MB / 0.4947 GB, free: 13.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003482/0.7624, allocations: 2.162 MB / 0.4968 GB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.7652, allocations: 1.376 MB / 0.4981 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.7653, allocations: 33.7 kB / 0.4982 GB, free: 10.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.7663, allocations: 1.029 MB / 0.4992 GB, free: 9.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.7666, allocations: 209.3 kB / 0.4994 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.7667, allocations: 32 kB / 0.4994 GB, free: 8.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.7669, allocations: 369.9 kB / 0.4998 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.768, allocations: 483.8 kB / 0.5002 GB, free: 8.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.7698, allocations: 1.387 MB / 0.5016 GB, free: 6.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.7714, allocations: 0.7664 MB / 0.5023 GB, free: 5.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.7714, allocations: 8 kB / 0.5023 GB, free: 5.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004426/0.7758, allocations: 1.958 MB / 0.5043 GB, free: 3.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.7759, allocations: 20 kB / 0.5043 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/0.7759, allocations: 32 kB / 0.5043 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.7767, allocations: 243.2 kB / 0.5045 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.7782, allocations: 379.3 kB / 0.5049 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.7805, allocations: 1.738 MB / 0.5066 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.7821, allocations: 127.5 kB / 0.5067 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.7823, allocations: 95.98 kB / 0.5068 GB, free: 0.6758 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.0003219/0.7827, allocations: 216.2 kB / 0.507 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.7829, allocations: 150.1 kB / 0.5072 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.7854, allocations: 1.039 MB / 0.5082 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.66e-06/0.7855, allocations: 4 kB / 0.5082 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.292e-06/0.7855, allocations: 192 / 0.5082 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7855, allocations: 7.984 kB / 0.5082 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006934/0.7925, allocations: 3.093 MB / 0.5112 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.7925, allocations: 4 kB / 0.5112 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.793, allocations: 95.81 kB / 0.5113 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008749/0.7939, allocations: 226.8 kB / 0.5115 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.794, allocations: 15.98 kB / 0.5115 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/0.7991, allocations: 3.714 MB / 0.5152 GB, free: 7.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002776/0.8019, allocations: 2.013 MB / 0.5171 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.8053, allocations: 1.8 MB / 0.5189 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.8061, allocations: 295.1 kB / 0.5192 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.8063, allocations: 20.05 kB / 0.5192 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.8072, allocations: 43.95 kB / 0.5192 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8073, allocations: 55.83 kB / 0.5193 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.8074, allocations: 23.98 kB / 0.5193 GB, free: 3.137 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002064/0.8095, allocations: 1.011 MB / 0.5203 GB, free: 2.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.8095, allocations: 0 / 0.5203 GB, free: 2.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002108/0.8116, allocations: 412 kB / 0.5207 GB, free: 1.727 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.0005973/0.8123, allocations: 386.3 kB / 0.521 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2342/1.046, allocations: 1.461 MB / 0.5225 GB, free: 122.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.047, allocations: 0.8125 kB / 0.5225 GB, free: 122.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.048, allocations: 0.7821 MB / 0.5232 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.05, allocations: 375.4 kB / 0.5236 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/1.056, allocations: 2.384 MB / 0.5259 GB, free: 121.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.058, allocations: 1.493 MB / 0.5274 GB, free: 120.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001678/1.059, allocations: 349.1 kB / 0.5277 GB, free: 120.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/1.06, allocations: 109.8 kB / 0.5278 GB, free: 120.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.868e-06/1.06, allocations: 0 / 0.5278 GB, free: 120.6 MB / 442.7 MB Notification: Performance of Templates: time 0.07223/1.132, allocations: 21.82 MB / 0.5491 GB, free: 119.7 MB / 442.7 MB