Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.151e-05, allocations: 8 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.089, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.4738, allocations: 105.9 MB / 448.4 MB, free: 4.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4741, allocations: 88.33 kB / 448.5 MB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1813/0.6554, allocations: 46.29 MB / 494.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.6554, allocations: 0 / 494.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.6556, allocations: 59.88 kB / 494.9 MB, free: 10.21 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005348/0.661, allocations: 2.255 MB / 497.1 MB, free: 7.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.661, allocations: 8.031 kB / 497.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.6621, allocations: 296.7 kB / 497.4 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.6661, allocations: 1.6 MB / 499 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.6663, allocations: 156.2 kB / 499.2 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/0.6668, allocations: 215.9 kB / 499.4 MB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.6729, allocations: 2.683 MB / 0.4903 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.673, allocations: 11.89 kB / 0.4903 GB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.6734, allocations: 88 kB / 0.4904 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.6735, allocations: 96.19 kB / 0.4905 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.6786, allocations: 2.101 MB / 0.4925 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.6967, allocations: 8.628 MB / 0.501 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.6998, allocations: 1.671 MB / 0.5026 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.7015, allocations: 0.7855 MB / 0.5034 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.702, allocations: 215.1 kB / 0.5036 GB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.702, allocations: 43.56 kB / 0.5036 GB, free: 4.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=104): time 4.574e-06/0.702, allocations: 0 / 0.5036 GB, free: 4.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.01775/0.7198, allocations: 5.981 MB / 0.5094 GB, free: 14.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.7199, allocations: 64.41 kB / 0.5095 GB, free: 14.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.7225, allocations: 1.237 MB / 0.5107 GB, free: 13.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.7226, allocations: 45.7 kB / 0.5108 GB, free: 13.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.7237, allocations: 1.034 MB / 0.5118 GB, free: 12.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.7242, allocations: 441.7 kB / 0.5122 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.7244, allocations: 28 kB / 0.5122 GB, free: 11.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.7246, allocations: 365.9 kB / 0.5126 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.7262, allocations: 0.699 MB / 0.5132 GB, free: 10.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.728, allocations: 1.056 MB / 0.5143 GB, free: 9.504 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.7299, allocations: 0.8793 MB / 0.5151 GB, free: 8.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.73, allocations: 4 kB / 0.5151 GB, free: 8.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006091/0.7361, allocations: 2.473 MB / 0.5176 GB, free: 6.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.7361, allocations: 8 kB / 0.5176 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.7362, allocations: 15.94 kB / 0.5176 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.7383, allocations: 0.5765 MB / 0.5181 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.7401, allocations: 347.5 kB / 0.5185 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2497/0.9899, allocations: 6.315 MB / 0.5246 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.9917, allocations: 113.3 kB / 0.5247 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.9919, allocations: 63.23 kB / 0.5248 GB, free: 114.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.9923, allocations: 195 kB / 0.525 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.9927, allocations: 159.9 kB / 0.5251 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.9981, allocations: 2.287 MB / 0.5274 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.9982, allocations: 13.75 kB / 0.5274 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.9982, allocations: 8.984 kB / 0.5274 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.9982, allocations: 6.281 kB / 0.5274 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.009, allocations: 4.722 MB / 0.532 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.009, allocations: 5.172 kB / 0.532 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.01, allocations: 215.6 kB / 0.5322 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/1.013, allocations: 0.6264 MB / 0.5328 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/1.013, allocations: 33.59 kB / 0.5329 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.024, allocations: 8.052 MB / 0.5407 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-06/1.024, allocations: 2.531 kB / 0.5407 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006961/1.031, allocations: 3.431 MB / 0.5441 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.033, allocations: 397.7 kB / 0.5445 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.033, allocations: 32.52 kB / 0.5445 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.034, allocations: 95.16 kB / 0.5446 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003279/1.035, allocations: 106.4 kB / 0.5447 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.035, allocations: 42.14 kB / 0.5447 GB, free: 109.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001929/1.037, allocations: 0.941 MB / 0.5456 GB, free: 109.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.58e-07/1.037, allocations: 0 / 0.5456 GB, free: 109.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002414/1.039, allocations: 0.5222 MB / 0.5462 GB, free: 109.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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,75.0%) 22,(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.0006074/1.04, allocations: 316.3 kB / 0.5465 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00437/1.044, allocations: 2.216 MB / 0.5486 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.19e-06/1.044, allocations: 3.562 kB / 0.5486 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/1.047, allocations: 1.443 MB / 0.55 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.05, allocations: 387.4 kB / 0.5504 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/1.057, allocations: 3.695 MB / 0.554 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.059, allocations: 1.856 MB / 0.5558 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001651/1.061, allocations: 363.8 kB / 0.5562 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/1.061, allocations: 111.7 kB / 0.5563 GB, free: 105.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.672e-06/1.061, allocations: 3.062 kB / 0.5563 GB, free: 105.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06434/1.125, allocations: 27.09 MB / 0.5827 GB, free: 103.9 MB / 442.7 MB