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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.924e-05, allocations: 0 / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5565, allocations: 109.2 MB / 451.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5568, allocations: 83.08 kB / 451.8 MB, free: 1.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1958/0.7526, allocations: 50.1 MB / 0.4902 GB, free: 3.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.321e-06/0.7526, allocations: 0 / 0.4902 GB, free: 3.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002037/0.7528, allocations: 59.94 kB / 0.4902 GB, free: 3.027 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.006302/0.7591, allocations: 2.366 MB / 0.4925 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7592, allocations: 12.03 kB / 0.4925 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.7606, allocations: 320.6 kB / 0.4928 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.7655, allocations: 1.687 MB / 0.4945 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.7658, allocations: 168.4 kB / 0.4947 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006935/0.7665, allocations: 223.9 kB / 0.4949 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007204/0.7737, allocations: 2.797 MB / 0.4976 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/0.7738, allocations: 7.906 kB / 0.4976 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.7741, allocations: 92 kB / 0.4977 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.7743, allocations: 104.3 kB / 0.4978 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00549/0.7798, allocations: 2.168 MB / 0.4999 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.8009, allocations: 9.149 MB / 0.5088 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.8043, allocations: 1.678 MB / 0.5105 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.8062, allocations: 0.8036 MB / 0.5113 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/0.8067, allocations: 223.1 kB / 0.5115 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.8067, allocations: 43.56 kB / 0.5115 GB, free: 12.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.96e-06/0.8068, allocations: 0 / 0.5115 GB, free: 12.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.0205/0.8273, allocations: 6.407 MB / 0.5178 GB, free: 6.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.8274, allocations: 64.72 kB / 0.5178 GB, free: 5.953 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.8304, allocations: 1.33 MB / 0.5191 GB, free: 4.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.8307, allocations: 53.7 kB / 0.5192 GB, free: 4.559 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.8319, allocations: 1.1 MB / 0.5203 GB, free: 3.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/0.8326, allocations: 465.3 kB / 0.5207 GB, free: 2.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.8328, allocations: 28 kB / 0.5207 GB, free: 2.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.833, allocations: 369.9 kB / 0.5211 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.8347, allocations: 0.7224 MB / 0.5218 GB, free: 1.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.8368, allocations: 1.129 MB / 0.5229 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3223/1.159, allocations: 0.9038 MB / 0.5238 GB, free: 113.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/1.159, allocations: 7.469 kB / 0.5238 GB, free: 113.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0063/1.166, allocations: 2.574 MB / 0.5263 GB, free: 113.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.166, allocations: 10.06 kB / 0.5263 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/1.166, allocations: 14.09 kB / 0.5263 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.168, allocations: 0.5882 MB / 0.5269 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.169, allocations: 362 kB / 0.5272 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.18, allocations: 6.699 MB / 0.5338 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.181, allocations: 117.4 kB / 0.5339 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.182, allocations: 69.98 kB / 0.534 GB, free: 110.9 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.0003531/1.182, allocations: 195.8 kB / 0.5341 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/1.182, allocations: 171.8 kB / 0.5343 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/1.188, allocations: 2.346 MB / 0.5366 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.188, allocations: 14.44 kB / 0.5366 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.188, allocations: 6.938 kB / 0.5366 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.188, allocations: 6.281 kB / 0.5366 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.199, allocations: 4.924 MB / 0.5414 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.199, allocations: 2.438 kB / 0.5414 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.2, allocations: 220.4 kB / 0.5416 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.202, allocations: 0.6478 MB / 0.5423 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.202, allocations: 41.84 kB / 0.5423 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.213, allocations: 8.391 MB / 0.5505 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.214, allocations: 5.562 kB / 0.5505 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006426/1.22, allocations: 3.575 MB / 0.554 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.221, allocations: 412.2 kB / 0.5544 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.222, allocations: 31.47 kB / 0.5544 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.223, allocations: 104.1 kB / 0.5545 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.223, allocations: 101.5 kB / 0.5546 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.223, allocations: 47.05 kB / 0.5547 GB, free: 104.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001865/1.225, allocations: 1.018 MB / 0.5557 GB, free: 103.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.17e-07/1.225, allocations: 0 / 0.5557 GB, free: 103.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002241/1.228, allocations: 0.5502 MB / 0.5562 GB, free: 103.7 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.0006143/1.228, allocations: 373.8 kB / 0.5566 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00411/1.232, allocations: 2.28 MB / 0.5588 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.238e-06/1.232, allocations: 0 / 0.5588 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/1.235, allocations: 1.464 MB / 0.5602 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.237, allocations: 435.8 kB / 0.5606 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/1.245, allocations: 3.881 MB / 0.5644 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/1.247, allocations: 1.936 MB / 0.5663 GB, free: 99.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001584/1.248, allocations: 382.6 kB / 0.5667 GB, free: 99.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/1.249, allocations: 120.2 kB / 0.5668 GB, free: 99.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.813e-06/1.249, allocations: 0 / 0.5668 GB, free: 99.16 MB / 442.7 MB Notification: Performance of Templates: time 0.06659/1.316, allocations: 29.57 MB / 0.5957 GB, free: 91.23 MB / 442.7 MB