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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.621e-05, allocations: 4 kB / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08794, allocations: 50.41 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5319, allocations: 148.9 MB / 492.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5323, allocations: 104.3 kB / 492.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208/1.74, allocations: 233.4 MB / 0.7086 GB, free: 40.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.02e-06/1.74, allocations: 0 / 0.7086 GB, free: 40.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005396/1.741, allocations: 160.9 kB / 0.7087 GB, free: 40.89 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.02704/1.768, allocations: 6.796 MB / 0.7154 GB, free: 38.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.768, allocations: 7.375 kB / 0.7154 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03221/1.8, allocations: 3.659 MB / 0.7189 GB, free: 38.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/1.817, allocations: 6.049 MB / 0.7249 GB, free: 37.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004851/1.818, allocations: 0.5185 MB / 0.7254 GB, free: 37.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/1.82, allocations: 0.6856 MB / 0.726 GB, free: 37.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/1.848, allocations: 10.94 MB / 0.7367 GB, free: 36.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/1.848, allocations: 26.25 kB / 0.7367 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001153/1.849, allocations: 302.5 kB / 0.737 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005476/1.85, allocations: 0.5048 MB / 0.7375 GB, free: 36.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/1.876, allocations: 9.963 MB / 0.7472 GB, free: 36.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07186/1.947, allocations: 37.88 MB / 0.7842 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/1.97, allocations: 28.08 MB / 0.8117 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004922/1.975, allocations: 2.561 MB / 0.8142 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01783/1.993, allocations: 7.932 MB / 0.8219 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.993, allocations: 56.09 kB / 0.822 GB, free: 5.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 5.833e-06/1.993, allocations: 0 / 0.822 GB, free: 5.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=233): time 0.02005/2.013, allocations: 8.333 MB / 0.8301 GB, free: 1.707 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002745/2.016, allocations: 1.917 MB / 0.832 GB, free: 15.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00698/2.023, allocations: 3.329 MB / 0.8352 GB, free: 14.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004132/2.023, allocations: 61.23 kB / 0.8353 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003421/2.027, allocations: 3.537 MB / 0.8387 GB, free: 11.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001182/2.028, allocations: 0.8297 MB / 0.8395 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/2.028, allocations: 95 kB / 0.8396 GB, free: 11.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004272/2.029, allocations: 0.4965 MB / 0.8401 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/2.033, allocations: 1.838 MB / 0.8419 GB, free: 10.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/2.039, allocations: 4.232 MB / 0.846 GB, free: 6.055 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/2.045, allocations: 2.789 MB / 0.8488 GB, free: 3.859 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-05/2.045, allocations: 24 kB / 0.8488 GB, free: 3.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01822/2.063, allocations: 6.605 MB / 0.8552 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/2.063, allocations: 44.22 kB / 0.8553 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/2.063, allocations: 84 kB / 0.8554 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/2.066, allocations: 0.7467 MB / 0.8561 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005683/2.072, allocations: 1.101 MB / 0.8572 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/2.082, allocations: 5.211 MB / 0.8623 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/2.088, allocations: 308.8 kB / 0.8626 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/2.089, allocations: 275.8 kB / 0.8628 GB, free: 7.754 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.001008/2.09, allocations: 450.4 kB / 0.8632 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/2.091, allocations: 387.1 kB / 0.8636 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/2.101, allocations: 4.207 MB / 0.8677 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/2.102, allocations: 24 kB / 0.8677 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/2.102, allocations: 8 kB / 0.8678 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.106e-05/2.102, allocations: 13.59 kB / 0.8678 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3264/2.428, allocations: 14.47 MB / 0.8819 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/2.428, allocations: 13.08 kB / 0.8819 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/2.431, allocations: 468.7 kB / 0.8824 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/2.434, allocations: 0.6884 MB / 0.883 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/2.434, allocations: 69.7 kB / 0.8831 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/2.445, allocations: 6.919 MB / 0.8899 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001854/2.447, allocations: 1.866 MB / 0.8917 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/2.459, allocations: 7.732 MB / 0.8992 GB, free: 73.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/2.462, allocations: 0.7911 MB / 0.9 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007205/2.462, allocations: 60.02 kB / 0.9001 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/2.465, allocations: 167.8 kB / 0.9002 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004903/2.466, allocations: 219.5 kB / 0.9004 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/2.466, allocations: 84.84 kB / 0.9005 GB, free: 73.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004751/2.471, allocations: 2.437 MB / 0.9029 GB, free: 73.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.18e-07/2.471, allocations: 0 / 0.9029 GB, free: 73.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006532/2.477, allocations: 1.34 MB / 0.9042 GB, free: 73.33 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.001161/2.478, allocations: 0.7381 MB / 0.9049 GB, free: 73.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009103/2.488, allocations: 4.839 MB / 0.9096 GB, free: 72.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.488, allocations: 2.375 kB / 0.9097 GB, free: 72.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004746/2.492, allocations: 2.301 MB / 0.9119 GB, free: 72.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/2.498, allocations: 0.8963 MB / 0.9128 GB, free: 72.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/2.523, allocations: 10.49 MB / 0.923 GB, free: 70.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006281/2.529, allocations: 4.62 MB / 0.9275 GB, free: 69.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006344/2.536, allocations: 1.36 MB / 0.9289 GB, free: 69.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/2.537, allocations: 296.1 kB / 0.9291 GB, free: 69.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.757e-06/2.537, allocations: 0 / 0.9291 GB, free: 69.13 MB / 490.7 MB Notification: Performance of Templates: time 0.1465/2.683, allocations: 57.65 MB / 0.9854 GB, free: 60.25 MB / 490.7 MB