Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.621e-05, allocations: 3.797 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08623, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5287, allocations: 148.9 MB / 491.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.529, allocations: 105.6 kB / 491.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179/1.708, allocations: 233.4 MB / 0.7081 GB, free: 41.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.397e-06/1.708, allocations: 1.125 kB / 0.7081 GB, free: 41.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005195/1.709, allocations: 160.2 kB / 0.7082 GB, free: 41.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02774/1.737, allocations: 6.794 MB / 0.7149 GB, free: 38.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.737, allocations: 7.844 kB / 0.7149 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03093/1.768, allocations: 3.658 MB / 0.7184 GB, free: 38.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/1.786, allocations: 6.047 MB / 0.7243 GB, free: 37.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/1.786, allocations: 0.52 MB / 0.7248 GB, free: 37.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/1.789, allocations: 0.6885 MB / 0.7255 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/1.817, allocations: 10.94 MB / 0.7362 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/1.818, allocations: 21.86 kB / 0.7362 GB, free: 36.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/1.819, allocations: 297.8 kB / 0.7365 GB, free: 36.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005281/1.819, allocations: 0.5067 MB / 0.737 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/1.845, allocations: 9.967 MB / 0.7467 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07368/1.919, allocations: 37.87 MB / 0.7837 GB, free: 22.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02201/1.941, allocations: 28.09 MB / 0.8112 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004924/1.946, allocations: 2.568 MB / 0.8137 GB, free: 9.734 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/1.963, allocations: 7.918 MB / 0.8214 GB, free: 5.711 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/1.963, allocations: 59.53 kB / 0.8215 GB, free: 5.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 8.103e-06/1.963, allocations: 4 kB / 0.8215 GB, free: 5.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=233): time 0.01997/1.983, allocations: 8.327 MB / 0.8296 GB, free: 1.723 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002686/1.986, allocations: 1.923 MB / 0.8315 GB, free: 0 / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006898/1.993, allocations: 3.322 MB / 0.8347 GB, free: 14.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004116/1.993, allocations: 67.95 kB / 0.8348 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003234/1.997, allocations: 3.536 MB / 0.8382 GB, free: 11.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.998, allocations: 0.8333 MB / 0.839 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/1.998, allocations: 100.1 kB / 0.8391 GB, free: 11.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004097/1.999, allocations: 0.4942 MB / 0.8396 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/2.002, allocations: 1.829 MB / 0.8414 GB, free: 10.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/2.008, allocations: 4.237 MB / 0.8455 GB, free: 6.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00587/2.014, allocations: 2.792 MB / 0.8483 GB, free: 3.871 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.404e-05/2.014, allocations: 24 kB / 0.8483 GB, free: 3.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01669/2.031, allocations: 6.597 MB / 0.8547 GB, free: 14.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.096e-05/2.031, allocations: 40 kB / 0.8548 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/2.031, allocations: 84 kB / 0.8549 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/2.034, allocations: 0.7558 MB / 0.8556 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/2.04, allocations: 1.095 MB / 0.8567 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00999/2.05, allocations: 5.213 MB / 0.8617 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005289/2.055, allocations: 312.3 kB / 0.862 GB, free: 8.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/2.056, allocations: 274.5 kB / 0.8623 GB, free: 7.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009986/2.057, allocations: 439.7 kB / 0.8627 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009954/2.058, allocations: 382.9 kB / 0.8631 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/2.068, allocations: 4.208 MB / 0.8672 GB, free: 3.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/2.068, allocations: 24 kB / 0.8672 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/2.068, allocations: 8 kB / 0.8672 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/2.068, allocations: 12.47 kB / 0.8672 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3292/2.398, allocations: 14.48 MB / 0.8814 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/2.398, allocations: 13.47 kB / 0.8814 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/2.401, allocations: 466.9 kB / 0.8818 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/2.404, allocations: 0.6917 MB / 0.8825 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/2.404, allocations: 68.47 kB / 0.8826 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/2.415, allocations: 6.929 MB / 0.8893 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001964/2.417, allocations: 1.87 MB / 0.8912 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/2.431, allocations: 7.729 MB / 0.8987 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00255/2.433, allocations: 0.79 MB / 0.8995 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009924/2.435, allocations: 62.86 kB / 0.8996 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/2.437, allocations: 172 kB / 0.8997 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/2.438, allocations: 208.6 kB / 0.8999 GB, free: 73.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/2.438, allocations: 91.45 kB / 0.9 GB, free: 73.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00504/2.443, allocations: 2.433 MB / 0.9024 GB, free: 73.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.16e-07/2.443, allocations: 0 / 0.9024 GB, free: 73.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007345/2.451, allocations: 1.347 MB / 0.9037 GB, free: 73.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 235 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/2.452, allocations: 0.7235 MB / 0.9044 GB, free: 73.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009439/2.461, allocations: 4.849 MB / 0.9091 GB, free: 73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.461, allocations: 0 / 0.9091 GB, free: 73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00474/2.466, allocations: 2.299 MB / 0.9114 GB, free: 72.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/2.472, allocations: 0.9032 MB / 0.9123 GB, free: 72.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/2.497, allocations: 10.5 MB / 0.9225 GB, free: 70.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006083/2.503, allocations: 4.619 MB / 0.927 GB, free: 69.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005765/2.508, allocations: 1.357 MB / 0.9284 GB, free: 69.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/2.51, allocations: 292.7 kB / 0.9286 GB, free: 69.34 MB / 490.7 MB Notification: Performance of SimCode: time 3.156e-06/2.51, allocations: 0 / 0.9286 GB, free: 69.34 MB / 490.7 MB Notification: Performance of Templates: time 0.1438/2.653, allocations: 57.65 MB / 0.9849 GB, free: 60.49 MB / 490.7 MB