Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.67e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09063, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4835, allocations: 109.2 MB / 452.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4838, allocations: 86.2 kB / 452.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2089/0.6927, allocations: 50.1 MB / 0.4907 GB, free: 3.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.623e-06/0.6927, allocations: 0 / 0.4907 GB, free: 3.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003309/0.6931, allocations: 59.94 kB / 0.4907 GB, free: 3.055 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01148/0.7046, allocations: 2.358 MB / 0.493 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.7047, allocations: 12.03 kB / 0.493 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.7073, allocations: 320.6 kB / 0.4934 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008706/0.7161, allocations: 1.691 MB / 0.495 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.7165, allocations: 172.4 kB / 0.4952 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.7177, allocations: 219.9 kB / 0.4954 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.7307, allocations: 2.793 MB / 0.4981 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.7309, allocations: 7.906 kB / 0.4981 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/0.7315, allocations: 95.98 kB / 0.4982 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/0.7318, allocations: 104.3 kB / 0.4983 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.7427, allocations: 2.172 MB / 0.5004 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.7799, allocations: 9.149 MB / 0.5094 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.7846, allocations: 1.674 MB / 0.511 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.7865, allocations: 0.8036 MB / 0.5118 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.787, allocations: 223.2 kB / 0.512 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7871, allocations: 43.56 kB / 0.512 GB, free: 12.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.796e-06/0.7871, allocations: 0 / 0.512 GB, free: 12.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02315/0.8102, allocations: 6.4 MB / 0.5183 GB, free: 6.062 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.8104, allocations: 68.72 kB / 0.5183 GB, free: 5.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.8153, allocations: 1.33 MB / 0.5196 GB, free: 4.648 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.8157, allocations: 45.7 kB / 0.5197 GB, free: 4.598 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.8176, allocations: 1.108 MB / 0.5208 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.8186, allocations: 465.3 kB / 0.5212 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.8189, allocations: 28 kB / 0.5212 GB, free: 2.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003408/0.8192, allocations: 365.9 kB / 0.5216 GB, free: 2.621 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/0.8222, allocations: 0.7224 MB / 0.5223 GB, free: 1.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.8259, allocations: 1.129 MB / 0.5234 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2468/1.073, allocations: 0.9043 MB / 0.5243 GB, free: 113.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/1.073, allocations: 11.69 kB / 0.5243 GB, free: 113.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006356/1.079, allocations: 2.574 MB / 0.5268 GB, free: 113.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.079, allocations: 12.03 kB / 0.5268 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/1.079, allocations: 15.66 kB / 0.5268 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/1.081, allocations: 0.5892 MB / 0.5274 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.083, allocations: 360.6 kB / 0.5278 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.093, allocations: 6.69 MB / 0.5343 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.095, allocations: 115.8 kB / 0.5344 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/1.095, allocations: 70.14 kB / 0.5345 GB, free: 110.8 MB / 442.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003462/1.096, allocations: 193.5 kB / 0.5346 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/1.096, allocations: 174.3 kB / 0.5348 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/1.101, allocations: 2.343 MB / 0.5371 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/1.102, allocations: 13 kB / 0.5371 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.102, allocations: 5.5 kB / 0.5371 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.102, allocations: 11.66 kB / 0.5371 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.113, allocations: 4.926 MB / 0.5419 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.113, allocations: 2.812 kB / 0.5419 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.114, allocations: 222.2 kB / 0.5422 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/1.116, allocations: 0.646 MB / 0.5428 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.116, allocations: 47.14 kB / 0.5428 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.128, allocations: 8.399 MB / 0.551 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-06/1.128, allocations: 5.844 kB / 0.551 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/1.134, allocations: 3.566 MB / 0.5545 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.135, allocations: 420.8 kB / 0.5549 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.135, allocations: 31.62 kB / 0.555 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.137, allocations: 101.8 kB / 0.5551 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.137, allocations: 107 kB / 0.5552 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.137, allocations: 38.81 kB / 0.5552 GB, free: 104 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001872/1.139, allocations: 1.015 MB / 0.5562 GB, free: 103.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.484e-06/1.139, allocations: 3.938 kB / 0.5562 GB, free: 103.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00213/1.141, allocations: 0.5551 MB / 0.5567 GB, free: 103.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005911/1.142, allocations: 371.3 kB / 0.5571 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/1.146, allocations: 2.274 MB / 0.5593 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.644e-06/1.146, allocations: 2.656 kB / 0.5593 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.149, allocations: 1.468 MB / 0.5607 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.151, allocations: 445.1 kB / 0.5612 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/1.159, allocations: 3.868 MB / 0.5649 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/1.161, allocations: 1.933 MB / 0.5668 GB, free: 99.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001563/1.162, allocations: 388.1 kB / 0.5672 GB, free: 99.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.163, allocations: 120.8 kB / 0.5673 GB, free: 99.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/1.163, allocations: 0 / 0.5673 GB, free: 99.06 MB / 442.7 MB Notification: Performance of Templates: time 0.06834/1.231, allocations: 29.56 MB / 0.5962 GB, free: 91.27 MB / 442.7 MB