Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.561e-05, allocations: 11.91 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2841, allocations: 44.5 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01944/0.3035, allocations: 11.94 MB / 315.3 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3146, allocations: 4.376 MB / 319.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.3169, allocations: 119.6 kB / 319.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.3196, allocations: 0.7884 MB / 320.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.3246, allocations: 1.176 MB / 321.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.3273, allocations: 0.6548 MB / 322.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005102/0.3324, allocations: 1.938 MB / 324.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.3356, allocations: 1.748 MB / 326.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.3374, allocations: 0.935 MB / 327 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.3398, allocations: 1.25 MB / 328.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.341, allocations: 283.8 kB / 328.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.3416, allocations: 116 kB / 328.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009303/0.3425, allocations: 0.6812 MB / 329.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008368/0.3433, allocations: 272 kB / 329.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007023/0.3504, allocations: 4.982 MB / 334.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3504, allocations: 8 kB / 334.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3505, allocations: 0 / 334.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.3506, allocations: 0 / 334.6 MB, free: 14.27 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.01124/0.3618, allocations: 3.282 MB / 337.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3619, allocations: 16.03 kB / 337.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.3664, allocations: 0.6202 MB / 338.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.3719, allocations: 2.046 MB / 340.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.3722, allocations: 238.3 kB / 340.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/0.373, allocations: 315.9 kB / 341.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.3834, allocations: 3.968 MB / 345 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.814e-05/0.3836, allocations: 3.984 kB / 345.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/0.3841, allocations: 128 kB / 345.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.3843, allocations: 146.2 kB / 345.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009423/0.3937, allocations: 3.331 MB / 348.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4248, allocations: 13.27 MB / 361.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006494/0.4313, allocations: 3.911 MB / 365.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.4379, allocations: 2.619 MB / 368.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.438, allocations: 51.5 kB / 368.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.828e-06/0.438, allocations: 0 / 368.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01806/0.4561, allocations: 5.992 MB / 374.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.4562, allocations: 68.72 kB / 374.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.4596, allocations: 1.592 MB / 376.2 MB, free: 3.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4598, allocations: 45.7 kB / 376.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.4613, allocations: 1.497 MB / 377.7 MB, free: 1.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.4619, allocations: 0.4968 MB / 378.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.4621, allocations: 36 kB / 378.2 MB, free: 1.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.4623, allocations: 373.9 kB / 378.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.4645, allocations: 0.7613 MB / 379.4 MB, free: 48 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.467, allocations: 1.367 MB / 380.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.4695, allocations: 1.006 MB / 381.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.4695, allocations: 4 kB / 381.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006209/0.4757, allocations: 2.45 MB / 384.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4758, allocations: 16.12 kB / 384.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.4759, allocations: 20 kB / 384.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.4764, allocations: 126.5 kB / 384.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.4799, allocations: 487.2 kB / 384.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.4812, allocations: 1.327 MB / 386.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.4833, allocations: 120 kB / 386.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.4836, allocations: 80 kB / 386.3 MB, free: 8.625 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 231 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002407/0.486, allocations: 0.9773 MB / 387.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.4865, allocations: 197.6 kB / 387.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005253/0.4917, allocations: 1.973 MB / 389.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4918, allocations: 12 kB / 389.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4918, allocations: 0 / 389.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.4918, allocations: 7.969 kB / 389.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.5038, allocations: 4.992 MB / 394.5 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.5038, allocations: 4.031 kB / 394.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/0.5066, allocations: 323.5 kB / 394.8 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.5071, allocations: 94.53 kB / 394.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.5073, allocations: 35.97 kB / 394.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.5086, allocations: 1.272 MB / 396.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5087, allocations: 4.25 kB / 396.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007979/0.5167, allocations: 3.233 MB / 399.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.5181, allocations: 450.5 kB / 399.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/0.5186, allocations: 27.98 kB / 399.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.5203, allocations: 75.92 kB / 400 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.5206, allocations: 89.2 kB / 400.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.5207, allocations: 43.98 kB / 400.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002814/0.5236, allocations: 1.206 MB / 401.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5236, allocations: 0 / 401.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00263/0.5262, allocations: 0.5351 MB / 401.9 MB, free: 8.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004764/0.5267, allocations: 159 kB / 402 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005569/0.5323, allocations: 2.201 MB / 404.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.5324, allocations: 4.062 kB / 404.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.5351, allocations: 1.181 MB / 405.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/0.5387, allocations: 472.4 kB / 405.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.5545, allocations: 6.703 MB / 412.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/0.5578, allocations: 2.317 MB / 414.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003011/0.5608, allocations: 0.5051 MB / 415.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.5616, allocations: 151.4 kB / 415.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5616, allocations: 0 / 415.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.3173/0.8789, allocations: 23.29 MB / 438.8 MB, free: 100.2 MB / 362.7 MB