Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.883e-05, allocations: 6.812 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08404, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5469, allocations: 108.7 MB / 425.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5472, allocations: 81.14 kB / 425.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2036/0.7509, allocations: 49.93 MB / 475.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7509, allocations: 0 / 475.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.7511, allocations: 63.88 kB / 475.7 MB, free: 0.4922 MB / 378.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.006625/0.7578, allocations: 2.349 MB / 478.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7578, allocations: 8.031 kB / 478.1 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.7594, allocations: 320.5 kB / 478.4 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005481/0.7649, allocations: 1.691 MB / 480.1 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.7652, allocations: 168.4 kB / 480.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000703/0.7659, allocations: 224 kB / 480.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/0.7734, allocations: 2.794 MB / 483.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-05/0.7736, allocations: 11.84 kB / 483.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.774, allocations: 95.95 kB / 483.4 MB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.7741, allocations: 104.3 kB / 483.5 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/0.7804, allocations: 2.172 MB / 485.7 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/0.8028, allocations: 9.149 MB / 494.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.8062, allocations: 1.689 MB / 496.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.8082, allocations: 0.8036 MB / 497.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.8087, allocations: 227.1 kB / 497.5 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.8087, allocations: 51.5 kB / 497.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.843e-06/0.8088, allocations: 0 / 497.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.02061/0.8294, allocations: 6.359 MB / 0.4921 GB, free: 3.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.8295, allocations: 68.67 kB / 0.4922 GB, free: 3.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.8325, allocations: 1.33 MB / 0.4935 GB, free: 2.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.8328, allocations: 49.7 kB / 0.4935 GB, free: 2.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.834, allocations: 1.104 MB / 0.4946 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000619/0.8346, allocations: 457.4 kB / 0.4951 GB, free: 488 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.8348, allocations: 32 kB / 0.4951 GB, free: 456 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.835, allocations: 365.9 kB / 0.4954 GB, free: 84 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.8367, allocations: 0.7146 MB / 0.4961 GB, free: 15.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.8389, allocations: 1.13 MB / 0.4972 GB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.841, allocations: 0.9105 MB / 0.4981 GB, free: 13.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.841, allocations: 4 kB / 0.4981 GB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00655/0.8476, allocations: 2.575 MB / 0.5006 GB, free: 10.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.8477, allocations: 8 kB / 0.5006 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.8477, allocations: 16.28 kB / 0.5007 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.8499, allocations: 0.588 MB / 0.5012 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.8518, allocations: 359.4 kB / 0.5016 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.8639, allocations: 6.679 MB / 0.5081 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8658, allocations: 119.8 kB / 0.5082 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.8661, allocations: 71.94 kB / 0.5083 GB, free: 2.438 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 166 * 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.0004243/0.8665, allocations: 196.5 kB / 0.5085 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.867, allocations: 173.8 kB / 0.5086 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2346/1.102, allocations: 2.326 MB / 0.5109 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.102, allocations: 13.73 kB / 0.5109 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/1.102, allocations: 5.5 kB / 0.5109 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/1.102, allocations: 10.75 kB / 0.5109 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.114, allocations: 4.889 MB / 0.5157 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.114, allocations: 2.625 kB / 0.5157 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.116, allocations: 223.4 kB / 0.5159 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/1.118, allocations: 0.6375 MB / 0.5166 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.119, allocations: 37.14 kB / 0.5166 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.131, allocations: 8.383 MB / 0.5248 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.131, allocations: 4.469 kB / 0.5248 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/1.138, allocations: 3.538 MB / 0.5282 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.139, allocations: 413.8 kB / 0.5286 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.14, allocations: 43.16 kB / 0.5287 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.141, allocations: 97.19 kB / 0.5288 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/1.141, allocations: 106.9 kB / 0.5289 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.142, allocations: 40.92 kB / 0.5289 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002051/1.144, allocations: 1.019 MB / 0.5299 GB, free: 107.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.046e-06/1.144, allocations: 0 / 0.5299 GB, free: 107.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002649/1.146, allocations: 0.5518 MB / 0.5304 GB, free: 107.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (103): * Single equations (assignments): 100 * 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.0007171/1.147, allocations: 363.6 kB / 0.5308 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004512/1.152, allocations: 2.27 MB / 0.533 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.026e-06/1.152, allocations: 3.75 kB / 0.533 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/1.155, allocations: 1.46 MB / 0.5344 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.158, allocations: 444.7 kB / 0.5349 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/1.166, allocations: 3.863 MB / 0.5386 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/1.168, allocations: 1.934 MB / 0.5405 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001786/1.17, allocations: 377.3 kB / 0.5409 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.171, allocations: 121.3 kB / 0.541 GB, free: 104.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.942e-06/1.171, allocations: 0 / 0.541 GB, free: 104.7 MB / 426.7 MB Notification: Performance of Templates: time 0.08898/1.26, allocations: 29.55 MB / 0.5698 GB, free: 101.9 MB / 426.7 MB