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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.558e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08375, allocations: 47.57 MB / 317 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5188, allocations: 149 MB / 465.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5191, allocations: 103.7 kB / 466 MB, free: 4.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/1.725, allocations: 232.1 MB / 0.6817 GB, free: 38.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.319e-06/1.725, allocations: 0.9062 kB / 0.6817 GB, free: 38.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005372/1.726, allocations: 160.7 kB / 0.6819 GB, free: 38.3 MB / 426.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.02682/1.752, allocations: 6.79 MB / 0.6885 GB, free: 36.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.753, allocations: 9.562 kB / 0.6885 GB, free: 36.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/1.78, allocations: 3.654 MB / 0.6921 GB, free: 36.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/1.797, allocations: 5.928 MB / 0.6979 GB, free: 35.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007613/1.798, allocations: 0.5246 MB / 0.6984 GB, free: 35.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/1.801, allocations: 0.6895 MB / 0.699 GB, free: 35.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/1.831, allocations: 11.24 MB / 0.71 GB, free: 34.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/1.832, allocations: 18.52 kB / 0.71 GB, free: 34.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.833, allocations: 296.9 kB / 0.7103 GB, free: 34.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005169/1.834, allocations: 494.7 kB / 0.7108 GB, free: 34.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/1.86, allocations: 10.39 MB / 0.7209 GB, free: 34.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07323/1.934, allocations: 38.32 MB / 0.7584 GB, free: 22.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.951, allocations: 18.37 MB / 0.7763 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008043/1.959, allocations: 4.201 MB / 0.7804 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02896/1.988, allocations: 13.73 MB / 0.7938 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/1.989, allocations: 71.88 kB / 0.7939 GB, free: 14.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=399): time 1.644e-05/1.989, allocations: 3.656 kB / 0.7939 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=415): time 0.0321/2.021, allocations: 14.23 MB / 0.8078 GB, free: 7.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002682/2.023, allocations: 1.93 MB / 0.8097 GB, free: 6.086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/2.03, allocations: 2.936 MB / 0.8125 GB, free: 4.828 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007646/2.03, allocations: 85.7 kB / 0.8126 GB, free: 4.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/2.034, allocations: 3.158 MB / 0.8157 GB, free: 1.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002161/2.036, allocations: 1.391 MB / 0.8171 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/2.036, allocations: 108 kB / 0.8172 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005304/2.037, allocations: 0.525 MB / 0.8177 GB, free: 104 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02311/2.06, allocations: 3.792 MB / 0.8214 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009012/2.069, allocations: 4.816 MB / 0.8261 GB, free: 10.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008331/2.077, allocations: 3.755 MB / 0.8297 GB, free: 7.445 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-05/2.078, allocations: 16 kB / 0.8298 GB, free: 7.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02283/2.1, allocations: 9.176 MB / 0.8387 GB, free: 15.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/2.101, allocations: 32.22 kB / 0.8388 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/2.101, allocations: 68 kB / 0.8388 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006919/2.108, allocations: 2.463 MB / 0.8412 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0054/2.113, allocations: 1.052 MB / 0.8422 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009509/2.123, allocations: 5.406 MB / 0.8475 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/2.128, allocations: 318.4 kB / 0.8478 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/2.129, allocations: 267.2 kB / 0.8481 GB, free: 7.352 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 538 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {6 9,11 79} Notification: Performance of prepare postOptimizeDAE: time 0.001176/2.13, allocations: 443.2 kB / 0.8485 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/2.131, allocations: 410.5 kB / 0.8489 GB, free: 6.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/2.15, allocations: 7.838 MB / 0.8566 GB, free: 0 / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006359/2.151, allocations: 123.3 kB / 0.8567 GB, free: 0 / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2713/2.422, allocations: 5.156 kB / 0.8567 GB, free: 81.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/2.422, allocations: 20.77 kB / 0.8567 GB, free: 81.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04457/2.467, allocations: 19.4 MB / 0.8756 GB, free: 80.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/2.467, allocations: 5.812 kB / 0.8756 GB, free: 80.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/2.47, allocations: 0.5246 MB / 0.8762 GB, free: 80.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006727/2.477, allocations: 2.438 MB / 0.8785 GB, free: 80.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008061/2.478, allocations: 98.84 kB / 0.8786 GB, free: 80.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/2.488, allocations: 7.15 MB / 0.8856 GB, free: 77.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001988/2.49, allocations: 1.874 MB / 0.8874 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.512, allocations: 12.22 MB / 0.8994 GB, free: 75.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003419/2.516, allocations: 1.088 MB / 0.9004 GB, free: 75.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/2.517, allocations: 74.03 kB / 0.9005 GB, free: 75.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/2.521, allocations: 203 kB / 0.9007 GB, free: 75.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008879/2.521, allocations: 317.8 kB / 0.901 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004234/2.522, allocations: 123.8 kB / 0.9011 GB, free: 75.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004382/2.526, allocations: 2.159 MB / 0.9032 GB, free: 74.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.81e-07/2.526, allocations: 0 / 0.9032 GB, free: 74.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007049/2.533, allocations: 1.371 MB / 0.9046 GB, free: 74.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (281): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 0 * Non-linear torn systems: 3 {3 3,6 9,11 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/2.535, allocations: 0.716 MB / 0.9053 GB, free: 74.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01479/2.55, allocations: 7.112 MB / 0.9122 GB, free: 74.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.55, allocations: 0 / 0.9122 GB, free: 74.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00855/2.559, allocations: 3.565 MB / 0.9157 GB, free: 74.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005897/2.564, allocations: 0.894 MB / 0.9166 GB, free: 74.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/2.593, allocations: 12.19 MB / 0.9285 GB, free: 69.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007021/2.6, allocations: 4.665 MB / 0.933 GB, free: 67.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005728/2.606, allocations: 1.179 MB / 0.9342 GB, free: 67.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/2.607, allocations: 295.1 kB / 0.9345 GB, free: 67.51 MB / 474.7 MB Notification: Performance of SimCode: time 1.772e-06/2.607, allocations: 0 / 0.9345 GB, free: 67.51 MB / 474.7 MB Notification: Performance of Templates: time 0.174/2.781, allocations: 78.81 MB / 1.011 GB, free: 27.95 MB / 474.7 MB