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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.805e-05, allocations: 0 / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.51 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4625, allocations: 103.8 MB / 403.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.4628, allocations: 88.62 kB / 403.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2456/0.7085, allocations: 49.71 MB / 453.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.7086, allocations: 0 / 453.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001924/0.7088, allocations: 59.94 kB / 453.5 MB, free: 1.715 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.006098/0.7149, allocations: 2.339 MB / 455.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.7149, allocations: 8.031 kB / 455.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.7165, allocations: 316.5 kB / 456.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.7213, allocations: 1.665 MB / 457.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.7215, allocations: 169.3 kB / 458 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005738/0.7221, allocations: 222.7 kB / 458.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007053/0.7292, allocations: 2.807 MB / 461 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.131e-05/0.7293, allocations: 7.844 kB / 461 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.7296, allocations: 104 kB / 461.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.7298, allocations: 100.3 kB / 461.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.7356, allocations: 2.192 MB / 463.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.7562, allocations: 9.097 MB / 472.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.7595, allocations: 1.682 MB / 474.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.7612, allocations: 0.8002 MB / 475 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.7617, allocations: 219.2 kB / 475.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.7618, allocations: 47.5 kB / 475.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.752e-06/0.7618, allocations: 0 / 475.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02112/0.7829, allocations: 6.355 MB / 481.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.783, allocations: 68.67 kB / 481.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.7859, allocations: 1.317 MB / 483 MB, free: 4.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.7861, allocations: 45.7 kB / 483 MB, free: 4.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009781/0.7871, allocations: 1.042 MB / 484.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.7877, allocations: 465.3 kB / 484.5 MB, free: 3.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.7879, allocations: 28 kB / 484.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.7881, allocations: 374.8 kB / 484.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.7898, allocations: 0.7185 MB / 485.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.7919, allocations: 1.13 MB / 486.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.7939, allocations: 0.9145 MB / 487.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.7939, allocations: 4 kB / 487.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006071/0.8, allocations: 2.49 MB / 490.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.8, allocations: 12 kB / 490.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.8001, allocations: 12 kB / 490.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.8022, allocations: 0.5804 MB / 490.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.8042, allocations: 359.4 kB / 491.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.8163, allocations: 6.671 MB / 497.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.8182, allocations: 123.8 kB / 497.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.8184, allocations: 64 kB / 498 MB, free: 5.301 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.0004235/0.8189, allocations: 192.5 kB / 498.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.8193, allocations: 170.1 kB / 498.3 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/0.8252, allocations: 2.336 MB / 0.4889 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.8253, allocations: 20 kB / 0.489 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.8253, allocations: 4 kB / 0.489 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.8253, allocations: 3.984 kB / 0.489 GB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.8376, allocations: 4.876 MB / 0.4937 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.8377, allocations: 4 kB / 0.4937 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.839, allocations: 215.7 kB / 0.4939 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/0.8415, allocations: 0.6433 MB / 0.4946 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.8417, allocations: 39.97 kB / 0.4946 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.856, allocations: 8.368 MB / 0.5028 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.961e-06/0.856, allocations: 7.938 kB / 0.5028 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007756/0.8638, allocations: 3.528 MB / 0.5062 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2181/1.082, allocations: 409.4 kB / 0.5066 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/1.082, allocations: 32.5 kB / 0.5066 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.084, allocations: 94.86 kB / 0.5067 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/1.084, allocations: 101 kB / 0.5068 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.084, allocations: 41.03 kB / 0.5069 GB, free: 92.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001911/1.086, allocations: 1.016 MB / 0.5079 GB, free: 92.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.97e-07/1.086, allocations: 0 / 0.5079 GB, free: 92.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002633/1.089, allocations: 0.5419 MB / 0.5084 GB, free: 92.71 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.0007721/1.09, allocations: 376.2 kB / 0.5088 GB, free: 92.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004808/1.095, allocations: 2.311 MB / 0.511 GB, free: 92.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.962e-06/1.095, allocations: 0 / 0.511 GB, free: 92.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/1.098, allocations: 1.491 MB / 0.5125 GB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.1, allocations: 433 kB / 0.5129 GB, free: 91.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/1.109, allocations: 3.924 MB / 0.5167 GB, free: 90.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/1.112, allocations: 1.889 MB / 0.5186 GB, free: 90.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007223/1.112, allocations: 130.1 kB / 0.5187 GB, free: 90.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/1.112, allocations: 0 / 0.5187 GB, free: 90.25 MB / 394.7 MB Notification: Performance of Templates: time 0.07489/1.187, allocations: 60.46 MB / 0.5777 GB, free: 65.5 MB / 394.7 MB