Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.649e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.07821, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.435, allocations: 108.3 MB / 408.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4353, allocations: 82.92 kB / 408.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.6562, allocations: 58.28 MB / 466.5 MB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.371e-06/0.6562, allocations: 4 kB / 466.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003079/0.6566, allocations: 79.88 kB / 466.6 MB, free: 5.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.008429/0.665, allocations: 2.872 MB / 469.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6651, allocations: 12.02 kB / 469.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.6671, allocations: 395.6 kB / 469.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.6738, allocations: 2.176 MB / 472.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.6741, allocations: 205.7 kB / 472.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000855/0.675, allocations: 279.9 kB / 472.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009408/0.6844, allocations: 3.559 MB / 476.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.6846, allocations: 7.906 kB / 476.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/0.685, allocations: 120 kB / 476.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.6853, allocations: 133.5 kB / 476.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008068/0.6933, allocations: 2.83 MB / 479.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/0.7208, allocations: 11.63 MB / 490.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.7246, allocations: 1.915 MB / 492.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.7267, allocations: 0.9255 MB / 493.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.7272, allocations: 223.5 kB / 493.9 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.7273, allocations: 47.86 kB / 493.9 MB, free: 9.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 4.819e-06/0.7273, allocations: 0 / 493.9 MB, free: 9.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.01857/0.7459, allocations: 6.355 MB / 0.4886 GB, free: 3.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.746, allocations: 68.67 kB / 0.4886 GB, free: 2.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.7501, allocations: 1.708 MB / 0.4903 GB, free: 1.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.7505, allocations: 49.7 kB / 0.4903 GB, free: 1.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.752, allocations: 1.405 MB / 0.4917 GB, free: 15.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008284/0.7529, allocations: 0.5045 MB / 0.4922 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.753, allocations: 47.88 kB / 0.4923 GB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.7533, allocations: 373.9 kB / 0.4926 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.7553, allocations: 0.8551 MB / 0.4934 GB, free: 13.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.7581, allocations: 1.377 MB / 0.4948 GB, free: 12.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.7609, allocations: 1.09 MB / 0.4959 GB, free: 11.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/0.7609, allocations: 4 kB / 0.4959 GB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01036/0.7713, allocations: 2.934 MB / 0.4987 GB, free: 8.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.7714, allocations: 15.98 kB / 0.4987 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-05/0.7715, allocations: 16.44 kB / 0.4988 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/0.7747, allocations: 0.5527 MB / 0.4993 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.7787, allocations: 439.3 kB / 0.4997 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.7975, allocations: 6.257 MB / 0.5058 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.8014, allocations: 139.7 kB / 0.506 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005504/0.8021, allocations: 83.98 kB / 0.506 GB, free: 0.4922 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 205 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007885/0.8029, allocations: 216.3 kB / 0.5062 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.804, allocations: 205.5 kB / 0.5064 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.266/1.07, allocations: 2.614 MB / 0.509 GB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/1.07, allocations: 14.56 kB / 0.509 GB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-05/1.07, allocations: 5.281 kB / 0.509 GB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/1.07, allocations: 10.23 kB / 0.509 GB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.096, allocations: 5.674 MB / 0.5146 GB, free: 84.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.096, allocations: 5.875 kB / 0.5146 GB, free: 84.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/1.099, allocations: 254.4 kB / 0.5148 GB, free: 84.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/1.103, allocations: 0.586 MB / 0.5154 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.104, allocations: 35.8 kB / 0.5154 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/1.118, allocations: 7.98 MB / 0.5232 GB, free: 80.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.189e-06/1.118, allocations: 10.2 kB / 0.5232 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007611/1.125, allocations: 4.006 MB / 0.5271 GB, free: 79.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.127, allocations: 490.3 kB / 0.5276 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.127, allocations: 38.09 kB / 0.5276 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.129, allocations: 93.77 kB / 0.5277 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/1.129, allocations: 112 kB / 0.5278 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.129, allocations: 43.91 kB / 0.5279 GB, free: 79.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002548/1.132, allocations: 1.308 MB / 0.5291 GB, free: 79.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.33e-07/1.132, allocations: 2.844 kB / 0.5292 GB, free: 79.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002732/1.134, allocations: 0.6082 MB / 0.5297 GB, free: 79.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * 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 {(5,76.0%) 20,(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.0006813/1.135, allocations: 412.4 kB / 0.5301 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004553/1.14, allocations: 2.508 MB / 0.5326 GB, free: 79.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/1.14, allocations: 3.719 kB / 0.5326 GB, free: 79.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/1.143, allocations: 1.539 MB / 0.5341 GB, free: 78.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.146, allocations: 498.3 kB / 0.5346 GB, free: 78.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.155, allocations: 4.581 MB / 0.539 GB, free: 77.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.157, allocations: 2.273 MB / 0.5413 GB, free: 76.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002133/1.159, allocations: 0.4907 MB / 0.5417 GB, free: 76.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/1.16, allocations: 148.3 kB / 0.5419 GB, free: 76.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.739e-06/1.16, allocations: 6.594 kB / 0.5419 GB, free: 76.81 MB / 394.7 MB Notification: Performance of Templates: time 0.0769/1.237, allocations: 32.88 MB / 0.574 GB, free: 71.78 MB / 394.7 MB