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.776/1.776, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.35e-05, allocations: 4 kB / 258.8 MB, free: 8.031 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.29, allocations: 44.51 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03791/0.3279, allocations: 23.74 MB / 327.1 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.3477, allocations: 7.455 MB / 334.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00502/0.3528, allocations: 199.5 kB / 334.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006134/0.359, allocations: 1.441 MB / 336.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.3714, allocations: 2.882 MB / 339.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.3775, allocations: 1.238 MB / 340.3 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.3929, allocations: 5.984 MB / 346.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02148/0.4144, allocations: 8.314 MB / 354.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.4195, allocations: 2.354 MB / 357 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005942/0.4255, allocations: 2.745 MB / 359.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.4291, allocations: 0.5348 MB / 360.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.4306, allocations: 260 kB / 360.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.4323, allocations: 1.249 MB / 361.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.4346, allocations: 0.5898 MB / 362.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01891/0.4535, allocations: 13.02 MB / 375.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4536, allocations: 0 / 375.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4536, allocations: 0 / 375.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000389/0.454, allocations: 0 / 375.3 MB, free: 5.387 MB / 314.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.03747/0.4915, allocations: 7.821 MB / 383.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4916, allocations: 12.03 kB / 383.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06373/0.5553, allocations: 5.164 MB / 388.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.5693, allocations: 4.615 MB / 393 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006207/0.57, allocations: 0.5338 MB / 393.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/0.5729, allocations: 0.7107 MB / 394.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.6079, allocations: 11.2 MB / 405.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/0.6082, allocations: 15.81 kB / 405.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/0.6098, allocations: 296 kB / 405.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006783/0.6105, allocations: 446.9 kB / 406.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03273/0.6433, allocations: 10.74 MB / 416.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/0.9838, allocations: 38.04 MB / 454.9 MB, free: 74.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/1.008, allocations: 28.06 MB / 483 MB, free: 45.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/1.026, allocations: 7.921 MB / 490.9 MB, free: 40.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.026, allocations: 65.05 kB / 491 MB, free: 40.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=222): time 5.23e-06/1.026, allocations: 0 / 491 MB, free: 40.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.02852/1.055, allocations: 10.39 MB / 0.4896 GB, free: 30.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002287/1.057, allocations: 1.926 MB / 0.4915 GB, free: 28.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/1.063, allocations: 3.271 MB / 0.4947 GB, free: 24.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004411/1.064, allocations: 69.7 kB / 0.4947 GB, free: 24.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.066, allocations: 3.546 MB / 0.4982 GB, free: 21.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009664/1.067, allocations: 0.8513 MB / 0.499 GB, free: 20.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/1.068, allocations: 100 kB / 0.4991 GB, free: 20.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/1.068, allocations: 0.5009 MB / 0.4996 GB, free: 19.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/1.072, allocations: 1.891 MB / 0.5015 GB, free: 17.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/1.077, allocations: 4.42 MB / 0.5058 GB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/1.083, allocations: 2.847 MB / 0.5086 GB, free: 9.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/1.083, allocations: 24 kB / 0.5086 GB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.0168/1.1, allocations: 7.021 MB / 0.5154 GB, free: 2.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/1.1, allocations: 40.97 kB / 0.5155 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.1, allocations: 88 kB / 0.5156 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.103, allocations: 0.7517 MB / 0.5163 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007094/1.11, allocations: 1.142 MB / 0.5174 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.123, allocations: 5.392 MB / 0.5227 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/1.128, allocations: 323 kB / 0.523 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009281/1.129, allocations: 272.1 kB / 0.5233 GB, free: 10.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 599 * 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.006443/1.136, allocations: 2.506 MB / 0.5257 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.137, allocations: 391.2 kB / 0.5261 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.15, allocations: 4.318 MB / 0.5303 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/1.15, allocations: 24 kB / 0.5303 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.15, allocations: 4 kB / 0.5303 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/1.15, allocations: 11.95 kB / 0.5303 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03852/1.188, allocations: 14.32 MB / 0.5443 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.188, allocations: 16.03 kB / 0.5443 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00396/1.192, allocations: 499.2 kB / 0.5448 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/1.196, allocations: 0.6825 MB / 0.5455 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.196, allocations: 75.98 kB / 0.5455 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/1.211, allocations: 7.101 MB / 0.5525 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002645/1.214, allocations: 1.882 MB / 0.5543 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.232, allocations: 8.117 MB / 0.5622 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/1.234, allocations: 0.7967 MB / 0.563 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.236, allocations: 63.98 kB / 0.5631 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/1.239, allocations: 167.9 kB / 0.5632 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/1.24, allocations: 225.4 kB / 0.5635 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/1.24, allocations: 95.98 kB / 0.5636 GB, free: 15.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005756/1.246, allocations: 2.396 MB / 0.5659 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.246, allocations: 0 / 0.5659 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007076/1.253, allocations: 1.284 MB / 0.5671 GB, free: 12.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (249): * Single equations (assignments): 246 * 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.0009083/1.254, allocations: 225.2 kB / 0.5674 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01319/1.267, allocations: 5.17 MB / 0.5724 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.267, allocations: 4 kB / 0.5724 GB, free: 6.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006695/1.274, allocations: 2.428 MB / 0.5748 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007142/1.281, allocations: 0.9142 MB / 0.5757 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2978/1.579, allocations: 14.74 MB / 0.5901 GB, free: 141.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006964/1.586, allocations: 4.617 MB / 0.5946 GB, free: 140.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006933/1.593, allocations: 1.364 MB / 0.5959 GB, free: 140.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.594, allocations: 296.8 kB / 0.5962 GB, free: 140.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.594, allocations: 0 / 0.5962 GB, free: 140.7 MB / 426.7 MB Notification: Performance of Templates: time 0.1369/1.731, allocations: 51.76 MB / 0.6467 GB, free: 95.39 MB / 426.7 MB