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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.655e-05, allocations: 0 / 255.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07836, allocations: 44.5 MB / 299.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.518, allocations: 142.8 MB / 442.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.5184, allocations: 101.2 kB / 442.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/1.682, allocations: 232.6 MB / 0.6596 GB, free: 40.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.682, allocations: 0 / 0.6596 GB, free: 40.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005699/1.682, allocations: 159.3 kB / 0.6597 GB, free: 40.88 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02955/1.712, allocations: 6.791 MB / 0.6664 GB, free: 38.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.712, allocations: 9.953 kB / 0.6664 GB, free: 38.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/1.74, allocations: 3.66 MB / 0.67 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/1.758, allocations: 5.927 MB / 0.6757 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00075/1.759, allocations: 0.5275 MB / 0.6763 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/1.762, allocations: 0.687 MB / 0.6769 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/1.794, allocations: 11.23 MB / 0.6879 GB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.794, allocations: 24.28 kB / 0.6879 GB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/1.796, allocations: 295.8 kB / 0.6882 GB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005327/1.797, allocations: 497.9 kB / 0.6887 GB, free: 36.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02682/1.824, allocations: 10.39 MB / 0.6988 GB, free: 36.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07518/1.899, allocations: 38.32 MB / 0.7363 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/1.92, allocations: 18.37 MB / 0.7542 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008118/1.928, allocations: 4.202 MB / 0.7583 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/1.959, allocations: 13.71 MB / 0.7717 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.779e-05/1.959, allocations: 73.86 kB / 0.7718 GB, free: 15.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 8.537e-06/1.959, allocations: 4 kB / 0.7718 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.03208/1.991, allocations: 14.24 MB / 0.7857 GB, free: 7.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002793/1.994, allocations: 1.934 MB / 0.7876 GB, free: 5.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006399/2, allocations: 2.936 MB / 0.7904 GB, free: 2.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007779/2.001, allocations: 85.7 kB / 0.7905 GB, free: 2.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003015/2.004, allocations: 3.154 MB / 0.7936 GB, free: 15.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002128/2.006, allocations: 1.401 MB / 0.7949 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004888/2.007, allocations: 100 kB / 0.795 GB, free: 14.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004902/2.007, allocations: 0.5324 MB / 0.7956 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/2.013, allocations: 2.844 MB / 0.7983 GB, free: 11.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008865/2.022, allocations: 4.815 MB / 0.803 GB, free: 6.176 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/2.031, allocations: 3.757 MB / 0.8067 GB, free: 2.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.345e-05/2.031, allocations: 20 kB / 0.8067 GB, free: 2.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.285/2.316, allocations: 9.131 MB / 0.8156 GB, free: 65.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/2.316, allocations: 39.25 kB / 0.8157 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/2.316, allocations: 65.62 kB / 0.8157 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/2.323, allocations: 2.469 MB / 0.8182 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/2.33, allocations: 1.051 MB / 0.8192 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/2.338, allocations: 5.399 MB / 0.8245 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/2.344, allocations: 320.4 kB / 0.8248 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/2.345, allocations: 264.2 kB / 0.825 GB, free: 64.2 MB / 442.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.001166/2.346, allocations: 441.6 kB / 0.8254 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/2.347, allocations: 408.5 kB / 0.8258 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/2.364, allocations: 7.807 MB / 0.8335 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/2.364, allocations: 98.23 kB / 0.8335 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/2.364, allocations: 0 / 0.8335 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-05/2.364, allocations: 18.52 kB / 0.8336 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04171/2.406, allocations: 19.41 MB / 0.8525 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/2.406, allocations: 10.81 kB / 0.8525 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/2.41, allocations: 0.5237 MB / 0.853 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006905/2.417, allocations: 2.428 MB / 0.8554 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007974/2.418, allocations: 95.19 kB / 0.8555 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/2.428, allocations: 7.155 MB / 0.8625 GB, free: 60.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002046/2.43, allocations: 1.866 MB / 0.8643 GB, free: 59.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0227/2.453, allocations: 12.23 MB / 0.8763 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/2.456, allocations: 1.087 MB / 0.8773 GB, free: 54.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/2.457, allocations: 66.69 kB / 0.8774 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/2.461, allocations: 206.5 kB / 0.8776 GB, free: 54.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/2.462, allocations: 322.3 kB / 0.8779 GB, free: 54.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004307/2.462, allocations: 120.5 kB / 0.878 GB, free: 53.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004706/2.467, allocations: 2.161 MB / 0.8801 GB, free: 53.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.675e-06/2.467, allocations: 0 / 0.8801 GB, free: 53.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007429/2.474, allocations: 1.375 MB / 0.8815 GB, free: 52.99 MB / 442.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.00154/2.476, allocations: 0.6956 MB / 0.8821 GB, free: 52.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01505/2.491, allocations: 7.098 MB / 0.8891 GB, free: 50.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.491, allocations: 4 kB / 0.8891 GB, free: 50.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008253/2.499, allocations: 3.567 MB / 0.8926 GB, free: 48.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/2.505, allocations: 0.8894 MB / 0.8934 GB, free: 48.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/2.532, allocations: 12.16 MB / 0.9053 GB, free: 43.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006244/2.539, allocations: 4.663 MB / 0.9098 GB, free: 41.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005687/2.544, allocations: 1.173 MB / 0.911 GB, free: 41.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/2.546, allocations: 296 kB / 0.9113 GB, free: 41.58 MB / 442.7 MB Notification: Performance of SimCode: time 2.197e-06/2.546, allocations: 0 / 0.9113 GB, free: 41.58 MB / 442.7 MB Notification: Performance of Templates: time 0.4337/2.98, allocations: 78.73 MB / 0.9882 GB, free: 65.34 MB / 442.7 MB