Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.63e-05, allocations: 4 kB / 255.4 MB, free: 2.656 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.0756, allocations: 44.5 MB / 299.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.4591, allocations: 130 MB / 429.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005047/0.4596, allocations: 102.6 kB / 430 MB, free: 1.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486/1.946, allocations: 332.6 MB / 0.7447 GB, free: 45.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.468e-06/1.946, allocations: 0 / 0.7447 GB, free: 45.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005279/1.946, allocations: 218.4 kB / 0.745 GB, free: 45.54 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03304/1.98, allocations: 8.744 MB / 0.7535 GB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.98, allocations: 7.281 kB / 0.7535 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04338/2.023, allocations: 5.844 MB / 0.7592 GB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0254/2.048, allocations: 7.444 MB / 0.7665 GB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009325/2.049, allocations: 0.7231 MB / 0.7672 GB, free: 35.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003676/2.053, allocations: 0.933 MB / 0.7681 GB, free: 34.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04917/2.102, allocations: 16.72 MB / 0.7844 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006335/2.103, allocations: 19.73 kB / 0.7844 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005006/2.108, allocations: 415.3 kB / 0.7848 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/2.11, allocations: 0.7112 MB / 0.7855 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07087/2.18, allocations: 15.54 MB / 0.8007 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/2.569, allocations: 52.77 MB / 0.8523 GB, free: 44.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03821/2.607, allocations: 41.32 MB / 0.8926 GB, free: 27.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/2.62, allocations: 7.013 MB / 0.8995 GB, free: 27.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04652/2.667, allocations: 21.72 MB / 0.9207 GB, free: 21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.874e-05/2.667, allocations: 95.58 kB / 0.9208 GB, free: 20.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=688): time 1.19e-05/2.667, allocations: 0 / 0.9208 GB, free: 20.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=696): time 0.05003/2.717, allocations: 22.73 MB / 0.9429 GB, free: 10.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/2.717, allocations: 116.4 kB / 0.9431 GB, free: 10.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/2.721, allocations: 2.437 MB / 0.9454 GB, free: 9.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/2.723, allocations: 119.7 kB / 0.9456 GB, free: 9.836 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/2.725, allocations: 3.638 MB / 0.9491 GB, free: 7.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002899/2.728, allocations: 2.294 MB / 0.9513 GB, free: 5.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/2.728, allocations: 130.6 kB / 0.9515 GB, free: 5.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006916/2.729, allocations: 0.6042 MB / 0.9521 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008875/2.738, allocations: 4.454 MB / 0.9564 GB, free: 2.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/2.749, allocations: 6.228 MB / 0.9625 GB, free: 14.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/2.762, allocations: 5.561 MB / 0.9679 GB, free: 11.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.28e-05/2.762, allocations: 20 kB / 0.9679 GB, free: 11.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03473/2.796, allocations: 13.39 MB / 0.981 GB, free: 160 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/2.797, allocations: 31.95 kB / 0.981 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/2.797, allocations: 54.88 kB / 0.9811 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.326/3.123, allocations: 4.062 MB / 0.9851 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007271/3.13, allocations: 1.222 MB / 0.9863 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/3.146, allocations: 9.638 MB / 0.9957 GB, free: 89.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/3.152, allocations: 351.7 kB / 0.996 GB, free: 89.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/3.153, allocations: 318.8 kB / 0.9963 GB, free: 89.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (647): * Single equations (assignments): 595 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001537/3.154, allocations: 478.2 kB / 0.9968 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/3.156, allocations: 456.9 kB / 0.9972 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02753/3.183, allocations: 12.83 MB / 1.01 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002393/3.184, allocations: 185.2 kB / 1.01 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/3.184, allocations: 0 / 1.01 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/3.184, allocations: 31.05 kB / 1.01 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05259/3.236, allocations: 24.67 MB / 1.034 GB, free: 85.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-05/3.237, allocations: 3.094 kB / 1.034 GB, free: 85.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005559/3.242, allocations: 0.8122 MB / 1.035 GB, free: 85.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/3.252, allocations: 3.881 MB / 1.039 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/3.254, allocations: 159.5 kB / 1.039 GB, free: 84.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/3.268, allocations: 9.507 MB / 1.048 GB, free: 79.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.431e-06/3.268, allocations: 5.344 kB / 1.048 GB, free: 79.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03828/3.306, allocations: 19.39 MB / 1.067 GB, free: 70.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/3.311, allocations: 1.475 MB / 1.068 GB, free: 69.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/3.313, allocations: 103.9 kB / 1.069 GB, free: 69.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004477/3.317, allocations: 268.1 kB / 1.069 GB, free: 69.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002012/3.319, allocations: 0.5116 MB / 1.069 GB, free: 69.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001071/3.32, allocations: 191.2 kB / 1.069 GB, free: 69.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004177/3.324, allocations: 1.826 MB / 1.071 GB, free: 68.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.77e-07/3.324, allocations: 0 / 1.071 GB, free: 68.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008834/3.333, allocations: 1.723 MB / 1.073 GB, free: 67.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (smpmQS.phiMechanical) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 386 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/3.335, allocations: 0.6478 MB / 1.074 GB, free: 67.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02292/3.358, allocations: 10.92 MB / 1.084 GB, free: 57.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.555e-06/3.358, allocations: 0 / 1.084 GB, free: 57.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01267/3.371, allocations: 5.621 MB / 1.09 GB, free: 52.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/3.377, allocations: 0.849 MB / 1.091 GB, free: 51.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05091/3.428, allocations: 17.93 MB / 1.108 GB, free: 36.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01916/3.447, allocations: 6.532 MB / 1.114 GB, free: 31.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0127/3.46, allocations: 1.557 MB / 1.116 GB, free: 30.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003289/3.463, allocations: 339.7 kB / 1.116 GB, free: 29.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.547e-06/3.463, allocations: 0 / 1.116 GB, free: 29.72 MB / 458.7 MB Notification: Performance of Templates: time 0.5222/3.985, allocations: 104.4 MB / 1.218 GB, free: 74.29 MB / 458.7 MB