Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.774e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.543, allocations: 103.8 MB / 403.7 MB, free: 16.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5433, allocations: 86.39 kB / 403.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1848/0.7281, allocations: 49.72 MB / 453.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.7281, allocations: 0 / 453.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.7283, allocations: 63.94 kB / 453.6 MB, free: 1.324 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005862/0.7342, allocations: 2.337 MB / 455.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7343, allocations: 12.02 kB / 455.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.7356, allocations: 316.5 kB / 456.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/0.7399, allocations: 1.668 MB / 457.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.7401, allocations: 161 kB / 458 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/0.7407, allocations: 228.1 kB / 458.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00664/0.7473, allocations: 2.784 MB / 461 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.9e-05/0.7474, allocations: 3.906 kB / 461 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.7478, allocations: 96 kB / 461.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.748, allocations: 104.3 kB / 461.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/0.7535, allocations: 2.164 MB / 463.4 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/0.774, allocations: 9.093 MB / 472.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.7772, allocations: 1.668 MB / 474.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.779, allocations: 0.808 MB / 475 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.7795, allocations: 219.1 kB / 475.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.7796, allocations: 43.56 kB / 475.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.488e-06/0.7796, allocations: 4 kB / 475.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02004/0.7996, allocations: 6.343 MB / 481.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.7997, allocations: 68.67 kB / 481.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.8027, allocations: 1.321 MB / 483 MB, free: 4.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.803, allocations: 45.7 kB / 483 MB, free: 4.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.8041, allocations: 1.096 MB / 484.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005946/0.8047, allocations: 465.3 kB / 484.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.8049, allocations: 28 kB / 484.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.8051, allocations: 369.9 kB / 485 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.8068, allocations: 0.7185 MB / 485.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/0.8088, allocations: 1.122 MB / 486.8 MB, free: 464 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.8109, allocations: 0.9105 MB / 487.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.8109, allocations: 8 kB / 487.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006329/0.8172, allocations: 2.559 MB / 490.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.8173, allocations: 12 kB / 490.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.8173, allocations: 12 kB / 490.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.8194, allocations: 0.5805 MB / 490.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.8214, allocations: 359.4 kB / 491.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.8332, allocations: 6.683 MB / 497.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.8351, allocations: 115.9 kB / 498 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.8354, allocations: 64 kB / 498.1 MB, free: 4.863 MB / 378.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 (168): * Single equations (assignments): 165 * 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.0004036/0.8358, allocations: 192.5 kB / 498.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.8362, allocations: 177.8 kB / 498.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005756/0.842, allocations: 2.325 MB / 0.489 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.8421, allocations: 12 kB / 0.489 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.8421, allocations: 8 kB / 0.4891 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.8421, allocations: 11.95 kB / 0.4891 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.8541, allocations: 4.868 MB / 0.4938 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.8541, allocations: 4 kB / 0.4938 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.8554, allocations: 211.7 kB / 0.494 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/0.8579, allocations: 0.6468 MB / 0.4947 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.8581, allocations: 31.98 kB / 0.4947 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.8721, allocations: 8.379 MB / 0.5029 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.8721, allocations: 4 kB / 0.5029 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2268/1.099, allocations: 3.521 MB / 0.5063 GB, free: 92.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.1, allocations: 409.9 kB / 0.5067 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/1.101, allocations: 38.52 kB / 0.5067 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.102, allocations: 91.94 kB / 0.5068 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/1.102, allocations: 106.6 kB / 0.5069 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.102, allocations: 43.47 kB / 0.507 GB, free: 91.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001974/1.104, allocations: 1.012 MB / 0.508 GB, free: 91.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.104, allocations: 0 / 0.508 GB, free: 91.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002729/1.107, allocations: 0.5462 MB / 0.5085 GB, free: 91.8 MB / 394.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 (102): * Single equations (assignments): 99 * 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.0007781/1.108, allocations: 362.8 kB / 0.5088 GB, free: 91.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004816/1.113, allocations: 2.259 MB / 0.511 GB, free: 91.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.747e-06/1.113, allocations: 1.125 kB / 0.511 GB, free: 91.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/1.116, allocations: 1.456 MB / 0.5125 GB, free: 91.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.119, allocations: 432.7 kB / 0.5129 GB, free: 91.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/1.127, allocations: 3.84 MB / 0.5166 GB, free: 90.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/1.13, allocations: 1.922 MB / 0.5185 GB, free: 89.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002009/1.132, allocations: 379.2 kB / 0.5189 GB, free: 89.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/1.132, allocations: 123.2 kB / 0.519 GB, free: 89.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/1.132, allocations: 4 kB / 0.519 GB, free: 89.36 MB / 394.7 MB Notification: Performance of Templates: time 0.06933/1.202, allocations: 29.37 MB / 0.5477 GB, free: 87.6 MB / 394.7 MB